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…

Community: Submitted by a user or imported; check the owner before granting accessOnlineAPI key requiredGlobalFreeRead-only

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

  1. Open Claude (claude.ai or the desktop app).
  2. Go to Settings → Connectors.
  3. Click Add custom connector.
  4. Paste the server address copied below into Remote MCP server URL and click Add.
  5. 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

  1. Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
  2. Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
  3. Open Settings → Connectors and click Create.
  4. Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
  5. Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
  6. 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:

  1. In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
  2. Paste the JSON copied below into ~/.cursor/mcp.json (per project: .cursor/mcp.json in the repo root).
  3. 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_priceReturn 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_commoditiesReturn 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_metadataReturn provenance metadata for a symbol: aggregated sources, unit, methodology URL, staleness rules. Use for attribution and to document data lineage in downstream reports.
get_historicalReturn 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_newsSearch 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_docsSearch 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_viewReturns 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.