GoldAPI MCP
GoldAPI MCP server enables AI agents to query real-time and historical precious metals quotes (gold, silver, platinum, palladium) via tools like get_realtime and get_history. It shares the same account system, authentication, and billing as the REST API, supporting batch queries and usage monitoring.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://www.gold-api.cn/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (4)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Query real-time prices for gold, silver, and other metals
- Retrieve historical OHLCV data for backtesting
- List available market varieties and their IDs
- Check API usage quotas and billing status
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- goldapi 1.5.42
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 4 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
list_varieties
获取 GoldAPI 在售贵金属品种清单(黄金/白银/铂金/钯金等,含各市场现货与期货)。返回每个品种的 goldId、名称、市场与类别。查行情前先调本工具获取 goldId。免费,不计入调用次数。
{
"type": "object",
"properties": {
"market": {
"type": "string",
"description": "可选,按市场名称筛选(参考返回结果里的 market 字段),不传返回全部在售品种"
}
}
}{
"readOnlyHint": true
}get_realtime
获取贵金属实时行情(最新价、涨跌、买卖价、最高最低等)。付费工具:每次调用计 1 次调用次数(走账户的三通道计费:单品/会员/赠送额度)。支持一次查询多个品种(逗号分隔 goldId,最多 50 个,也只计 1 次)。
{
"type": "object",
"required": [
"goldid"
],
"properties": {
"goldid": {
"type": "string",
"description": "品种 ID,可用逗号分隔一次查多个(最多 50 个),如 1061 或 1061,1051。先调 list_varieties 获取"
}
}
}{
"readOnlyHint": true
}get_history
获取贵金属历史行情(小时级 OHLCV,时间升序)。付费工具:每次调用计 1 次。数据自 2026-05-27 起可用,单次范围不超过 92 天。
{
"type": "object",
"required": [
"goldid",
"start_date",
"end_date"
],
"properties": {
"goldid": {
"type": "string",
"description": "品种 ID(单个)"
},
"end_date": {
"type": "string",
"description": "结束日期,格式 Y-m-d;与 start_date 跨度不超过 92 天"
},
"start_date": {
"type": "string",
"description": "开始日期,格式 Y-m-d,如 2026-10-01,不得早于 2026-05-27"
}
}
}{
"readOnlyHint": true
}get_kline
获取贵金属最近 N 个自然日的日级 K 线(开高低收)。免费工具,不计入调用次数(按 IP 限速)。适合看趋势、画图、做简要分析。
{
"type": "object",
"required": [
"goldid"
],
"properties": {
"days": {
"type": "integer",
"description": "最近 N 个自然日,默认 30,最大 60"
},
"goldid": {
"type": "string",
"description": "品种 ID(单个)"
}
}
}{
"readOnlyHint": true
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 1991 ms
- 95th percentile latency
- 2837 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1656 ms · 4 tool(s)
- · probe · passed · 2968 ms · 4 tool(s)
- · probe · passed · 1349 ms · metadata changed · 4 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http goldapi-mcp https://www.gold-api.cn/mcpCodex
codex mcp add goldapi-mcp --url https://www.gold-api.cn/mcpCursor
{
"mcpServers": {
"goldapi-mcp": {
"url": "https://www.gold-api.cn/mcp"
}
}
}Cline
{
"mcpServers": {
"goldapi-mcp": {
"type": "streamableHttp",
"url": "https://www.gold-api.cn/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"goldapi-mcp": {
"type": "http",
"url": "https://www.gold-api.cn/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http goldapi-mcp https://www.gold-api.cn/mcpClaude Desktop
https://www.gold-api.cn/mcpWindsurf
{
"mcpServers": {
"goldapi-mcp": {
"serverUrl": "https://www.gold-api.cn/mcp"
}
}
}Let your agent find its tools
Find servers like GoldAPI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.