Koskamo

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.

GoldAPI MCP logo, by GoldAPI 数据服务平台Community listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by GoldAPI 数据服务平台
MCP endpoint (Streamable HTTP)
https://www.gold-api.cn/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 4 of 4 with parameters document them all

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

Community listingRegistry 1.5.40
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
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

GoldAPI 提供贵金属(黄金/白银/铂金/钯金)实时与历史行情。先调 list_varieties 获取品种 goldId,再用 get_realtime(实时,付费)/ get_history(历史,付费)/ get_kline(日K,免费)查询。每次付费调用按账户三通道(单品/会员/赠送额度)计 1 次,工具输出中的 billing 字段含剩余额度。

Tools

4 advertised

list_varieties
Advertised by the server during the last successful anonymous check.
Advertised read-only

获取 GoldAPI 在售贵金属品种清单(黄金/白银/铂金/钯金等,含各市场现货与期货)。返回每个品种的 goldId、名称、市场与类别。查行情前先调本工具获取 goldId。免费,不计入调用次数。

list_varieties input schema
{
  "type": "object",
  "properties": {
    "market": {
      "type": "string",
      "description": "可选,按市场名称筛选(参考返回结果里的 market 字段),不传返回全部在售品种"
    }
  }
}
list_varieties annotations
{
  "readOnlyHint": true
}
get_realtime
Advertised by the server during the last successful anonymous check.
Advertised read-only

获取贵金属实时行情(最新价、涨跌、买卖价、最高最低等)。付费工具:每次调用计 1 次调用次数(走账户的三通道计费:单品/会员/赠送额度)。支持一次查询多个品种(逗号分隔 goldId,最多 50 个,也只计 1 次)。

get_realtime input schema
{
  "type": "object",
  "required": [
    "goldid"
  ],
  "properties": {
    "goldid": {
      "type": "string",
      "description": "品种 ID,可用逗号分隔一次查多个(最多 50 个),如 1061 或 1061,1051。先调 list_varieties 获取"
    }
  }
}
get_realtime annotations
{
  "readOnlyHint": true
}
get_history
Advertised by the server during the last successful anonymous check.
Advertised read-only

获取贵金属历史行情(小时级 OHLCV,时间升序)。付费工具:每次调用计 1 次。数据自 2026-05-27 起可用,单次范围不超过 92 天。

get_history input schema
{
  "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"
    }
  }
}
get_history annotations
{
  "readOnlyHint": true
}
get_kline
Advertised by the server during the last successful anonymous check.
Advertised read-only

获取贵金属最近 N 个自然日的日级 K 线(开高低收)。免费工具,不计入调用次数(按 IP 限速)。适合看趋势、画图、做简要分析。

get_kline input schema
{
  "type": "object",
  "required": [
    "goldid"
  ],
  "properties": {
    "days": {
      "type": "integer",
      "description": "最近 N 个自然日,默认 30,最大 60"
    },
    "goldid": {
      "type": "string",
      "description": "品种 ID(单个)"
    }
  }
}
get_kline annotations
{
  "readOnlyHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

100% (41 of 41 checks answered)

  1. 2026-11-14: 1 of 1 checks answered
  2. 2026-11-15: 2 of 2 checks answered
  3. 2026-11-16: 4 of 4 checks answered
  4. 2026-11-17: 5 of 5 checks answered
  5. 2026-11-18: 5 of 5 checks answered
  6. 2026-11-19: 4 of 4 checks answered
  7. 2026-11-20: 3 of 3 checks answered
  8. 2026-11-21: 4 of 4 checks answered
  9. 2026-11-22: 4 of 4 checks answered
  10. 2026-11-23: 3 of 3 checks answered
  11. 2026-11-24: 4 of 4 checks answered
  12. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http goldapi-mcp https://www.gold-api.cn/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add goldapi-mcp --url https://www.gold-api.cn/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable goldapi-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "goldapi-mcp": {
      "url": "https://www.gold-api.cn/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "goldapi-mcp": {
      "type": "streamableHttp",
      "url": "https://www.gold-api.cn/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start goldapi-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "goldapi-mcp": {
      "type": "http",
      "url": "https://www.gold-api.cn/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http goldapi-mcp https://www.gold-api.cn/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://www.gold-api.cn/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.