Gold Price API
Live precious-metals data (gold, silver & copper) for AI agents — multi-source, cross-validated spot + futures across 31 currencies, with per-source…
What it can do
- Get Spot Price: Return the latest aggregated spot (or GC futures) price for one symbol. Price is a Decimal-formatted string; `is_stale` is true when aggregator detected source divergence or stale FX.
- List Commodities: Return the full list of symbols served by this API. Use before get_spot_price / get_historical / get_metadata when you don't know which symbols are supported.
- Get Metadata: Return provenance metadata for a symbol: aggregated sources, unit, methodology URL, staleness rules. Use for attribution and to document data lineage in downstream reports.
What data it sees
Do you need an account
An API key from the service settings is required
Live precious-metals data (gold, silver & copper) for AI agents — multi-source, cross-validated spot + futures across 31 currencies, with per-source provenance and a staleness flag on every quote.
9 MCP tools spanning spot & historical prices, the live commodity list, per-country physical dealer prices (real bullion sell/buyback quotes across 12 countries), an options × prediction-market probability surface for gold & silver, the futures-settlement forward view, karat pricing, methodology, and docs search. Real-time XAU/XAG WebSocket stream on the Realtime Pro tier. MCP server on every plan, including Free.
Docs: goldprice.dev/docs/mcp
How to connect
How to connect Gold Price API to Claude
The server address to paste into Claude settings:
https://goldprice--michael-mustopo.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Gold Price API to ChatGPT
The server address to paste into ChatGPT settings:
https://goldprice--michael-mustopo.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Gold Price API to Cursor
The server address to paste into Cursor settings:
https://goldprice--michael-mustopo.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (7)
Raw names from tools/list. Only developers need these.
| get_spot_price | Return the latest aggregated spot (or GC futures) price for one symbol. Price is a Decimal-formatted string; `is_stale` is true when aggregator detected source divergence or stale FX. |
| list_commodities | Return the full list of symbols served by this API. Use before get_spot_price / get_historical / get_metadata when you don't know which symbols are supported. |
| get_metadata | Return provenance metadata for a symbol: aggregated sources, unit, methodology URL, staleness rules. Use for attribution and to document data lineage in downstream reports. |
| get_historical | Return daily OHLCV bar history for a symbol. History depth is set automatically by your API key's plan — do NOT pass a tier argument (there is none): Free + Basic see the last 30 days; Pro unlocks full history back to 2006 (XAU/USD). Dates must be ISO 8601 (YYYY-MM-DD). Returns bars in date-descending order. volume is null for spot instruments (XAU/USD, XAG/USD); real for futures (GC, SI, HG) and ETFs (GLD). |
| search_news | Search recent commodity-market news from curated sources (FT Commodities and Mining.com at v1; more sources rolling out post-launch). Returns up to `limit` items ranked by source quality x recency (weight x exp(-hours_old / 48)). Use before answering 'what happened in gold this week' so you cite live headlines instead of training-data approximations. |
| search_docs | Search the goldprice.dev FAQ corpus via BM25. Returns top-K matching questions + answers with relevance scores. Use before answering how-to / billing / auth questions so you cite the canonical text instead of guessing from training data. |
| get_forward_view | Returns the multi-horizon futures settlement curve for a commodity (XAU, XAG, HG). Every populated horizon up to one year forward. Useful for bot builders and traders seeing the futures-implied path. See https://goldprice.dev/methodology#forward-view-layers for per-layer math. |