GoldAPI Precious Metals Quotes
io.github.hujuncheng-ddd/goldapi-mcp
Serveur MCP OK 4 outils
Real-time & historical precious metals quotes (gold/silver/platinum/palladium) via MCP.
Fiche technique
- Auteur
- hujuncheng-ddd (espace de noms du registre)
- Dépôt
- github.com/hujuncheng-ddd/goldapi-mcp
- Site
- www.gold-api.cn/docs.php
- Version
- 1.5.40
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://www.gold-api.cn/mcp Streamable HTTP
- Outils
- 4
- Catégories
- —
- Dernière mise à jour
- 10 nov. 2026
- Publication
- 10 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.hujuncheng-ddd/goldapi-mcp)<a href="https://latlas.dev/mcp/io.github.hujuncheng-ddd/goldapi-mcp"><img src="https://latlas.dev/badge/fiche/io.github.hujuncheng-ddd/goldapi-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://www.gold-api.cn/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:29
- Temps de réponse
- 5 706 ms (initialize + tools/list)
- Version du protocole
- 2025-06-18
- Nom annoncé
- goldapi 1.5.42
- Outils
- 4
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:29 | OK | 5 706 ms | 4 |
Outils exposés (4, réponse à tools/list, 28 nov. 2026)
list_varieties
获取 GoldAPI 在售贵金属品种清单(黄金/白银/铂金/钯金等,含各市场现货与期货)。返回每个品种的 goldId、名称、市场与类别。查行情前先调本工具获取 goldId。免费,不计入调用次数。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| market | string | non | 可选,按市场名称筛选(参考返回结果里的 market 字段),不传返回全部在售品种 |
get_realtime
获取贵金属实时行情(最新价、涨跌、买卖价、最高最低等)。付费工具:每次调用计 1 次调用次数(走账户的三通道计费:单品/会员/赠送额度)。支持一次查询多个品种(逗号分隔 goldId,最多 50 个,也只计 1 次)。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| goldid | string | oui | 品种 ID,可用逗号分隔一次查多个(最多 50 个),如 1061 或 1061,1051。先调 list_varieties 获取 |
get_history
获取贵金属历史行情(小时级 OHLCV,时间升序)。付费工具:每次调用计 1 次。数据自 2026-05-27 起可用,单次范围不超过 92 天。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| goldid | string | oui | 品种 ID(单个) |
| start_date | string | oui | 开始日期,格式 Y-m-d,如 2026-10-01,不得早于 2026-05-27 |
| end_date | string | oui | 结束日期,格式 Y-m-d;与 start_date 跨度不超过 92 天 |
get_kline
获取贵金属最近 N 个自然日的日级 K 线(开高低收)。免费工具,不计入调用次数(按 IP 限速)。适合看趋势、画图、做简要分析。
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| goldid | string | oui | 品种 ID(单个) |
| days | integer | non | 最近 N 个自然日,默认 30,最大 60 |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://www.gold-api.cn/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http goldapi-mcp https://www.gold-api.cn/mcpCustomize > Connectors > + Add > Add custom connector ; Name : goldapi-mcp ; URL : https://www.gold-api.cn/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : goldapi-mcp ; Server URL : https://www.gold-api.cn/mcp ; Create as a plugin{
"mcpServers": {
"goldapi-mcp": {
"url": "https://www.gold-api.cn/mcp"
}
}
}{
"mcpServers": {
"goldapi-mcp": {
"type": "http",
"url": "https://www.gold-api.cn/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"goldapi-mcp": {
"url": "https://www.gold-api.cn/mcp"
}
}
}{
"mcpServers": {
"goldapi-mcp": {
"httpUrl": "https://www.gold-api.cn/mcp"
}
}
}[mcp_servers.goldapi-mcp]
url = "https://www.gold-api.cn/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
GoldAPI Precious Metals Quotes · L’Atlas · Test du
[GoldAPI Precious Metals Quotes — L’Atlas](https://latlas.dev/mcp/io.github.hujuncheng-ddd/goldapi-mcp)Source : Registre officiel MCP · relevé le 1 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.