mcpField
G
GoldAPI Precious Metals Quotes

GoldAPI Precious Metals Quotes

Remote
gold-api.cnFinance0Updated 3d ago

About GoldAPI Precious Metals Quotes

GoldAPI Precious Metals Quotes is an MCP server for assistants that need current or historical precious-metals prices. It covers gold, silver, platinum, and palladium across spot and futures markets, with quote and candle tools.

Key features

  1. 01Real-time precious-metals quotes
  2. 02Hourly OHLCV history
  3. 03Daily OHLC candles
  4. 04List available varieties and markets
  5. 05Query up to 50 varieties per call

Use cases

  1. 01Check current gold and silver prices
  2. 02Review hourly price history
  3. 03Retrieve recent daily candles
  4. 04Compare quotes across listed varieties

MCP support

Provides precious-metals quote and history tools to MCP clients over Streamable HTTP. Access uses a Bearer app key; tool results report billing channel and remaining quota.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://www.gold-api.cn/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

GoldAPI MCP — Precious Metals Quotes for AI Assistants

GoldAPI MCP is an MCP server that lets AI assistants (Claude, Cursor, WorkBuddy, Cline, etc.) query real-time and historical precious metals quotes — gold, silver, platinum and palladium, spot and futures across Shanghai Gold Exchange, NYMEX/COMEX and London markets.

Tools

ToolDescriptionBilling
list_varietiesList all listed varieties with goldId, name, market, categoryFree
get_realtimeReal-time quotes (last price, change, bid/ask, high/low). Supports comma-separated goldid, up to 50 varieties per call1 call
get_historyHourly OHLCV history, ascending, from 2026-05-27, max 92 days per request1 call
get_klineDaily OHLC candles for the last N days (default 30, max 60)Free

Billing uses the same three-channel model as the REST API (per-variety / membership / free grant). Every paid tool result includes a billing object with the channel and remaining quota, so the assistant can report usage to the user.

Install

Claude Code
claude mcp add --transport http goldapi https://www.gold-api.cn/mcp \
  --header "Authorization: Bearer YOUR_APPKEY"
Claude Desktop / Cursor / WorkBuddy (mcpServers JSON)
{
  "mcpServers": {
    "goldapi": {
      "url": "https://www.gold-api.cn/mcp",
      "headers": { "Authorization": "Bearer YOUR_APPKEY" }
    }
  }
}
Example prompts
  • "用 GoldAPI 查一下黄金现货和白银 T+D 的最新价"
  • "Show me the last 30 days of daily candles for gold spot (goldId 1061)."

Notes

  • Protocol versions supported: 2025-06-18, 2025-03-26, 2024-11-05 (stateless Streamable HTTP).
  • Paid tools require a valid appkey; get_realtime supports querying up to 50 varieties in one call (counted as one call).
  • Free-tier accounts get 5,000 free calls at registration: https://www.gold-api.cn/pricing.php

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.