内容
# StatCite
**您的AI可以实际引用的经济统计数据。**
StatCite是一个免费的远程MCP服务器和REST API,提供官方的经济统计数据——世界银行、国际货币基金组织(IMF)世界经济展望(WEO)、欧洲央行(ECB)参考利率,可选的FRED——其中**每个数字都附带其完整的引用信息**:来源、数据集、序列ID、规范URL、许可证、检索日期和一个可以直接粘贴的引用句子。此外, **`verify_stat`**:检查任何声称的经济数据是否与官方序列相符,并获得判决(`匹配 / 近似 / 不匹配 / 无法验证`)以及经典错误的诊断(错误的年份、百分比与小数、百万与十亿)。
- **网站和文档:** https://statcite.com · [文档](https://statcite.com/docs.html) · [OpenAPI](https://statcite.com/openapi.json) · [llms.txt](https://statcite.com/llms.txt)
- **MCP端点:** `https://statcite.com/mcp` (可流式HTTP,无状态,无身份验证)
- **REST:** `https://statcite.com/v1/...`
## 快速连接
| 客户端 | 方法 |
|---|---|
| Claude(网页/桌面) | 设置 → 连接器 → 添加自定义连接器 → `https://statcite.com/mcp` |
| Claude 代码 | `claude mcp add --transport http statcite https://statcite.com/mcp` |
| ChatGPT | 开发者模式 → 添加MCP服务器,无身份验证(也实现了深入研究`search`/`fetch`配对) |
| Cursor | `{"mcpServers":{"statcite":{"url":"https://statcite.com/mcp"}}}` |
| VS Code | `{"servers":{"statcite":{"type":"http","url":"https://statcite.com/mcp"}}}` |
| 仅stdio | `npx -y mcp-remote@latest https://statcite.com/mcp` |
## 5秒试用
```bash
curl "https://statcite.com/v1/verify?indicator=inflation_cpi&country=USA&period=2023&value=4.1"
curl "https://statcite.com/v1/indicator/govt_debt_gdp?country=JPN&latest_only=true"
curl "https://statcite.com/v1/fx?amount=100&from=USD&to=BBD"
curl -X POST "https://statcite.com/v1/verify_claims" -H "content-type: application/json" \
-d '{"claims":[{"indicator":"inflation_cpi","country":"USA","period":"2023","claimed_value":4.1}]}'
```
## 工具
`get_indicator` · `verify_stat` · `verify_claims` · `get_series` · `search_indicators` · `country_snapshot` · `inflation_adjust` · `fx_convert` · `list_sources` · `search` · `fetch` — 42个精选指标,200多个经济体,约120种货币。全部只读。详情:[文档](https://statcite.com/docs.html)。
## 仓库布局
```
server/ Cloudflare Worker:MCP端点 + REST API + 测试(零运行时依赖)
site/ statcite.com静态网站(首页,文档,llms.txt,OpenAPI,法律)
apify/ 计量双胞胎:Apify actor(按事件付费)捆绑相同的核心
skill/ Claude技能,教导代理验证-引用工作流程
distribution/ 注册表清单,提交步骤,启动复制
docs/ 研究报告,策略,启动计划,货币化路线图
BRIEF.md 为任何人(人类或代理)接管此项目提供背景和授权
HANDOFF.md 部署手册(将其上线所需的机械步骤)
CLAUDE.md 工作指南:命令,架构,不变式
```
## 开发
```bash
cd server
npm install
npm test # 132个测试,基于固定数据,无网络
npm run smoke # 实时端到端测试,对抗真实的上游API
npm run dev # wrangler dev(本地Workers运行时 + 静态网站)
npm run deploy # wrangler deploy
```
## 数据和许可
StatCite并不源自底层统计观测;派生值和验证判决根据披露的方法从引用的源数据透明地计算。世界银行(CC BY 4.0);国际货币基金组织(按照国际货币基金组织的条款——署名 + 下游条件;商业再利用可能需要国际货币基金组织许可);欧洲央行(署名,信息利率);Eurostat通过DBnomics(CC BY 4.0);FRED默认禁用(启用它的操作员必须首先审查当前的FRED API使用条款——它们包括对缓存、重新分发和AI/软件使用的限制)。国际货币基金组织世界经济展望预测被标记为预测;世界经济展望通过DBnomics提供,这可能会滞后于国际货币基金组织的发布日历——响应会引用已解决的版本并标记过时的版本。服务器代码:MIT。
由专业经济学家构建和策划。联系:hello@statcite.com