
Synergic APIs
io.github.Synergic-APIs由 GitHub 账号 Synergic-APIs 发布v0.1.2更新于 Oct 24, 2026
Official US data for AI agents: CPI inflation since 1913, famous prices, national debt since 1790.
概览
本地 MCP 服务器,通过 Synergic APIs 让助手获取美国官方 CPI 通胀、知名商品价格、国债和国债利率数据。
- 可以做什么
- 获取各类别最新 CPI 及同比、环比涨幅,并按类别查询可追溯至 1913 年的月度与年度 CPI 历史及官方年均值。查询最新一篮子美国知名商品价格(鸡蛋、汽油、牛奶、面包、碎牛肉、咖啡、电费),或单项自 1976 年以来的月度历史。获取精确到美分的当前美国国债、1993 年以来的每日债务历史,以及 1790 年以来的年度未偿债务。按证券类别读取美国财政部平均利率的最新值或 2001 年以来的月度历史。查看 API 密钥的套餐、已用请求数、月度上限和重置日期。
- 适用场景
- 适合助手需要权威美国经济数据——通胀、日常商品价格、国债或国债利率——用于分析、跨期比较或绘图,而无需抓取政府网站时使用。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js 18.17 及以上。必须在 SYNERGIC_API_KEY 环境变量中提供 Synergic APIs 密钥;免费套餐为每月 500 次请求、每分钟 10 次请求。需要能访问 Synergic APIs 网关的网络;可用 SYNERGIC_GATEWAY_URL 覆盖基础地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Synergic APIs,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Synergic APIs — MCP Server
Official Model Context Protocol server for Synergic APIs: official US economic data for AI agents. It gives Claude, Cursor, and any MCP-capable client direct access to:
- US Inflation API — the official CPI-U from the Bureau of Labor Statistics: 11 categories, YoY/MoM rates computed like the BLS, monthly history back to 1913, official annual averages.
- Famous prices — US average price of eggs, gasoline, milk, bread, ground beef, coffee and electricity, monthly since 1976.
- US National Debt API — the U.S. Treasury debt to the penny, every business day since 1993, annual debt outstanding since 1790, and the average interest rates the Treasury pays.
All amounts are JSON numbers, periods are YYYY-MM / YYYY-MM-DD, and missing
months in the official record are served as null — never invented.
Requirements
- Node.js 18.17+ (
npxincluded). - A Synergic APIs key. Get one free (no credit card) at synergicapis.com/signup.html — 500 requests/month, both APIs, full history. Paid plans at synergicapis.com/pricing.html.
Installation
The server runs over stdio via npx — no clone, no build.
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
Claude Code
Cursor
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in your project):
Configuration
Tools
History tools paginate by period range: when a response's meta.next_end is not
null, call the tool again with end set to that value to get older data.
Try it
Ask your assistant things like:
- "What is US inflation right now, headline and core?"
- "Plot the price of eggs since 2020."
- "How much did the US national debt grow in the last 12 months?"
- "What rate does the Treasury pay on T-bills today vs 2021?"
Troubleshooting
- "SYNERGIC_API_KEY is not set" — the server exits at startup if the key is
missing. Add it to the
envblock of your MCP client config (see above) and restart the client. - "Invalid API key" — the gateway rejected the key (typo or revoked). Keys
look like
sk_.... Get a fresh one at synergicapis.com/signup.html. - "Rate limit exceeded … retry after Xs" — you hit your plan's per-minute limit (free: 10 req/min). Wait and retry.
- "Monthly quota exhausted" — you used the month's requests (free: 500).
Ask the agent to call
get_my_usagefor details, wait for the 1st (UTC), or upgrade at synergicapis.com/pricing.html. - Tools don't appear in the client — check the client's MCP logs; the most
common causes are an old Node (needs 18.17+) or
npxnot on the PATH used by the client. Runningnpx -y @synergic-apis/mcpin a terminal should printready on stdioto stderr and then wait for input. - Corporate proxy / self-hosted testing — point
SYNERGIC_GATEWAY_URLat your gateway; the server only ever issues GET requests withX-Api-Key.
Development
Data sources & license
Data: U.S. Bureau of Labor Statistics and U.S. Treasury Fiscal Data (public domain; this product is not endorsed by or affiliated with either agency). Code: MIT.
来源:README.md,提交 0239e30
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。