
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 分
請在儲存庫或註冊中心條目中宣告授權條款。