Live metal prices, right inside your AI assistant
Connect Claude, ChatGPT, Cursor or VS Code to MetalAPI and ask for gold, silver, platinum, energy, currency and crypto prices in plain language — live, historical or converted to any unit.
https://metalapi.com/mcpAsk, don't code
Your assistant picks the right tool, calls MetalAPI and answers with real numbers.
Gold is trading at about €110.40 per gram (USD 3,997.89 per troy ounce), from MetalAPI's latest quote.
Silver closed between $52.10 and $54.30, ending 3.1% higher than two weeks ago. Here's the daily series…
2.5 oz of platinum is worth roughly ₺98,600 at the latest price.
Illustrative answers. Real answers use the latest prices your plan allows.
Connect in a minute
Sign in with your MetalAPI account where the app supports connectors, or paste an API key into your editor's MCP config.
Claude (claude.ai and Claude Desktop)
Sign in (OAuth)- 1Open Settings → Connectors and choose Add custom connector.
- 2Name it MetalAPI and enter https://metalapi.com/mcp.
- 3Click Connect, sign in to MetalAPI (or create a free account) and click Allow.
ChatGPT
Sign in (OAuth)- 1Open Settings → Apps & Connectors and create a connector (developer mode).
- 2Enter https://metalapi.com/mcp and choose OAuth authentication.
- 3Sign in to MetalAPI and approve the connection.
Claude Code
API keyOr add it without --header and run /mcp to sign in instead.
claude mcp add --transport http metalapi https://metalapi.com/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Cursor
API keyAdd this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
{
"mcpServers": {
"metalapi": {
"url": "https://metalapi.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}VS Code (GitHub Copilot)
API keySave as .vscode/mcp.json; VS Code asks for the key once and stores it securely.
{
"inputs": [
{ "type": "promptString", "id": "metalapi-key", "description": "MetalAPI API key", "password": true }
],
"servers": {
"metalapi": {
"type": "http",
"url": "https://metalapi.com/mcp",
"headers": { "Authorization": "Bearer ${input:metalapi-key}" }
}
}
}13 tools, one connection
Market data tools count against your plan's monthly requests exactly like REST calls. Account tools are free.
get_latest_pricesRead-onlyLatest prices for metals, energy, currencies and crypto, in any base currency and unit.
get_historical_pricesRead-onlyClosing prices on any past day: currencies since 1999, metals and energy since 2000.
convertRead-onlyConvert an amount between any two symbols, now or on a past day.
get_timeseriesRead-onlyDaily closing prices between two dates.
get_fluctuationRead-onlyStart and end price, absolute and percentage change between two dates.
get_ohlcRead-onlyOpen, high, low and close for a day.
get_carat_pricesRead-onlyGold price per gram for every carat from 8K to 24K.
list_symbolsRead-onlyAll supported symbols with names, categories and units.
get_accountRead-onlyYour plan, monthly allowance and usage.
list_plansRead-onlyEvery plan with limits and prices.
list_api_keysRead-onlyYour active API keys (masked).
create_api_keyAsks firstCreates an API key for your own apps (OAuth connections only).
get_upgrade_linkAsks firstPrepares a Stripe checkout link for a bigger plan — you open it and pay yourself.
Safe by design
Your account, your consent
OAuth 2.1 with PKCE: you sign in on metalapi.com and approve each app. Disconnect any time under Settings → Connected apps.
Read-only by default
Eleven of the thirteen tools only read data. The two that change something — creating a key and preparing a checkout link — ask for your confirmation first.
No payments by AI
The assistant can prepare a checkout link, but only you can pay it. Nothing is ever charged by the MCP server.
Same limits as the API
Market data calls are logged in your dashboard and count against the same monthly quota and per-minute limits as REST requests.
Building with an AI coding tool?
Point it at our machine-readable docs and it will write the integration for you.
Listed in the official MCP Registry as com.metalapi/metalapi.
Questions
Do I need a paid plan?+
No. The Free plan (100 requests a month, daily prices) works with every data tool except gold-by-carat prices. Paid plans add fresher prices and higher limits.
Which assistants work with MetalAPI?+
Any MCP client that supports Streamable HTTP: Claude (web, desktop and Claude Code), ChatGPT connectors, Cursor, VS Code with GitHub Copilot, Windsurf and others.
Can the assistant see my other data?+
No. The connection only reaches MetalAPI: prices, your plan, usage and API keys. It never sees your conversations or other apps.
What if I hit my monthly limit?+
Data tools return a quota-exceeded error with an upgrade link until the 1st of the month. Account tools keep working.
Give your assistant real market data
Create a free account, connect your assistant and ask your first question in under two minutes.