Gold Price API
Official6 toolsby goldprice
Cross-validated gold, silver & copper spot + futures prices across 13 currencies.
Delivers spot and futures prices for gold, silver, and copper across 13 currencies with cross-validation.
Captured live from the server via tools/list.
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.
Parameters (1)
- symbolstringrequired
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.
No parameters.
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.
Parameters (1)
- symbolstringrequired
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).
Parameters (4)
- symbolstringrequired
- from_datestringrequired
- to_datestringrequired
- limitinteger
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.
Parameters (2)
- querystringrequired
- limitinteger
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.
Parameters (1)
- assetstringrequired
README not available yet.
Install
Remote endpoint
Streamable HTTPHosted server - connect over the network, no local install.
https://api.goldprice.dev/v1/mcp/claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.goldprice.dev/v1/mcp/"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.