关于 The Gold Barometer
The Gold Barometer 为 AI 助手提供每日 0–100 的黄金买入条件评分,以及可追溯至 1971 年的历史背景。其只读工具展示读数与过往结果,不提供价格预测或投资建议。
主要功能
- 01获取当日评分与区间
- 02浏览历史读数
- 03按评分区间比较后续结果
- 04无需 API 密钥读取公开数据
适用场景
- 01查看当日黄金买入条件评分
- 02查询过往日期的读数
- 03考察相似区间后的历史表现
MCP 相关
向 MCP 客户端提供查询当前读数、历史读数和区间历史记录的三个只读工具。可在本地运行,也可通过托管的 Streamable HTTP 端点使用。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://mcp.thegoldbarometer.com/mcpclaude mcp add --transport http the-gold-barometer https://mcp.thegoldbarometer.com/mcp{"mcpServers":{"the-gold-barometer":{"type":"http","url":"https://mcp.thegoldbarometer.com/mcp"}}}在 Cursor 中打开{"servers":{"the-gold-barometer":{"type":"http","url":"https://mcp.thegoldbarometer.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"the-gold-barometer":{"type":"http","url":"https://mcp.thegoldbarometer.com/mcp"}}}{"mcpServers":{"the-gold-barometer":{"serverUrl":"https://mcp.thegoldbarometer.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
3此工具无需参数。
详细介绍
The Gold Barometer MCP 服务
让 AI 助手直接访问 The Gold Barometer: 提供每日 0–100 的黄金买入条件评分,并与自 1971 年以来的每个交易日进行比较。
它衡量的是市场条件,并非投资建议,也不预测价格。
工具
| 工具 | 回答的问题 |
|---|---|
get_current_reading | 今日评分、所在区间,以及每个测量部分的状态 |
get_reading_history | 过去的读数,可选择是否包含重建的月末数据行 |
get_zone_record | 自 1971 年以来,处于某一区间的月份之后发生了什么 |
安装
需要 Node 18 或更高版本。将以下内容添加到 MCP 客户端配置中:
{
"mcpServers": {
"thegoldbarometer": {
"command": "npx",
"args": ["-y", "thegoldbarometer-mcp"]
}
}
}
无需密钥,也无需注册。该服务只读取公开端点。
托管端点(无需安装)
同样的三个工具也通过 HTTPS 提供,适用于接受 URL 的客户端 (Smithery、Claude、Cursor、Windsurf、自定义 Agent):
https://mcp.thegoldbarometer.com/mcp
使用 Streamable HTTP,无状态,无需密钥。在边缘节点按 IP 限流。
GET /health 返回 {"ok":true,"tools":3}。
数据与署名
所有数据均来自 thegoldbarometer.com/data 上的公开 API,以及 github.com/thegoldbarometer/data 上的档案。 数据许可:CC BY 4.0,署名格式为“来源:The Gold Barometer,thegoldbarometer.com”。 方法、证据与局限:thegoldbarometer.com/methodology。
代码许可:MIT。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。