
Central Bank Rates (AllRatesToday)
com.allratestoday由 allratestoday.com 发布v0.3.2更新于 Oct 24, 2026
Official central-bank & tax-authority rates from 100+ sources. No API key needed to start.
概览
获取 122 家央行与税务机关的官方汇率,让助手查询已发布汇率表、指定日期汇率和跨机构对比。
- 可以做什么
- 列出覆盖的央行与税务机关及其代码和最新发布日期
- 获取某机构的已发布汇率表,或其中单个货币对及其反向汇率,并附发布方自己的汇率日期
- 获取指定日期的汇率表与单个货币对的逐日历史(需付费方案)
- 将同一货币对在所有机构间对比,给出最小值、最大值、中位数与点差统计
- 查询某机构实际发布过汇率的日期
- 自助签发短期试用密钥并在本次会话中使用
- 适用场景
- 适合答案必须依据官方已发布汇率而非实时市场汇率的场景,例如税务、会计、海关与合规工作,按发票日期查询历史汇率,或比较不同央行对同一货币对的报价。
- 运行要求
- 以 Node.js 本地进程运行,可通过 npx 或全局 npm 安装,由 MCP 客户端以 stdio 启动。无凭据时以无密钥模式运行;可选的 ALLRATES_API_KEY 可解锁指定日期汇率表、历史、对比与发布日历,ALLRATES_BASE_URL 可覆盖 API 基础地址。需要能访问 allratestoday.com 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Central Bank Rates (AllRatesToday),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Central Bank Rates MCP Server — @allratestoday/central-bank-mcp
Website: https://allratestoday.com/central-bank-rates-api/ · Hosted endpoint (no install): https://allratestoday.com/api/mcp · Docs: https://allratestoday.com/mcp/
[npm version] [npm downloads] [license] [MCP] [TypeScript] [Central Bank Mcp on AI Agents Listing]
Give your AI assistant the official exchange rates that compliance, tax, and accounting actually require. A Model Context Protocol server that lets Claude Code, Cursor, Claude Desktop, Windsurf, and any MCP-compatible client fetch published central-bank and tax-authority rates from 122 central banks and 4 tax authorities — ECB, Fed, Bank of Japan, HMRC, US Treasury, and more — via the AllRatesToday API.
After installation, your assistant can answer questions like:
- "What is the ECB's official USD/EUR rate today?"
- "What HMRC rate should I use for this March invoice?"
- "Show me the Bank of Japan's official rate for every day of Q1."
- "Compare the official USD/LKR rate across every central bank that publishes one."
⚖️ Official rates vs mid-market rates
Everything this server returns is an official published rate: fixed once the institution publishes it, carrying that institution's own publication date — the number tax authorities, auditors, and customs require. It is not the live market rate. For live mid-market rates (price display, conversion, anything that should track the market), use the companion server @allratestoday/mcp-server. The two can diverge by several percent — pick by use case. Methodology: allratestoday.com/official-rates-methodology.
🚀 Why this server?
- 🏛️ 122 central banks and 4 tax authorities — central banks (ECB, Fed, BOJ, SNB, RBI, …) plus tax authorities (HMRC, US Treasury, …), each served from its own published tables
- 📅 Point-in-time correctness — ask for any date; weekends and holidays roll back to the rate legally in force, and the response tells you which publication date applied
- 📊 Cross-bank comparison — one call returns every institution's rate for a pair, with min/max/median and spread stats
- 🧮 Honest derivations — with an API key, pairs a bank doesn't publish directly are cross-computed only within that bank's own table and flagged
derived; banks are never mixed. Keyless serves only published pairs and their inverses - 🔓 Works with no API key — installs and answers out of the box; the latest published table of every source is open
- 🧰 Six focused tools — small surface, easy for the model to use correctly
- 🔌 Works everywhere MCP does — stdio transport, MCP 1.x; Claude Code, Cursor, Claude Desktop, Windsurf, or any generic host
🔑 Get your API key (free)
A free key adds cross-bank comparison, cross-computed pairs and publication calendars — free, no credit card required. Dated (historical) tables and time series need a paid plan: free and trial keys get a 403 for them.
- Register at allratestoday.com/register — 30 seconds
- Verify your email
- Copy your key from the dashboard (format:
art_live_xxxxx) - Use it as
ALLRATES_API_KEYin the configs below
Without one the server prints a short summary of keyless mode (below) on stderr and keeps running — it never exits, because an MCP server that exits breaks the host client's whole configuration.
🔓 Keyless mode — what works with no setup
Install it with no configuration at all and it starts, connects, and answers:
The keyless path reads the open, edge-cached /api/open/central-bank/{bank}
endpoint (the exact attribution wording also ships in each response's attribution field).
Attribution. Keyless use requires a visible, followable link to AllRatesToday wherever the rates are shown (a footer, an about page, a README). With an API key it is appreciated but not required.
Markdown: Exchange rates by [AllRatesToday](https://allratestoday.com). Full wording: https://allratestoday.com/terms/#attribution.
🧩 Easiest install: the Claude Code plugin
If you use Claude Code, install the plugin instead of configuring this server by
hand — it bundles both AllRatesToday MCP servers, two skills, and five slash
commands (/rate, /convert, /official-rate, /fx-history,
/add-currency-support):
Everything below still applies for other MCP clients.
☁️ Hosted endpoint — nothing to install
The same six tools also run as a hosted Streamable HTTP MCP server, together with the five tools of the sibling AllRatesToday server — eleven in total on the hosted endpoint (this npm package itself exposes six). Paste the URL into any client that supports remote MCP — Claude.ai and Claude Desktop connectors, ChatGPT, Cursor, VS Code, Codex, Gemini CLI:
Works keyless. With a key, send Authorization: Bearer art_live_… or, where the client only takes a URL, connect to https://allratestoday.com/api/mcp?api_key=art_live_…. Registry name: com.allratestoday/mcp. One-click Cursor / VS Code buttons: https://allratestoday.com/mcp/#hosted
📦 Installation
Both commands launch the stdio MCP server and wait for a client to connect — your MCP client launches them as a subprocess.
🏁 Quick setup per client
Claude Code
Restart Claude Code. Verify by asking: "Which central banks can you fetch official rates from?"
Cursor
Edit ~/.cursor/mcp.json (or .cursor/mcp.json inside your project):
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add the same mcpServers block as the Cursor example above, then restart Claude Desktop.
🧰 Tools
🔒 Privacy
Only the request parameters and your API key ever reach allratestoday.com — never conversation context.
📚 More from AllRatesToday
- Central bank REST API docs
- Per-bank npm SDKs
@allratestoday/mcp-server— live mid-market rates MCP server- Open data archive — the same published tables mirrored daily: Hugging Face · Kaggle (CC BY-NC 4.0)
🔗 Links
- API Documentation
- Download central bank rates — every bank's tables as Excel, CSV or JSON
- Register (Free)
- Dashboard
- Status
- Postman collection
- ChatGPT app — ask ChatGPT for live and official central bank rates
- GitHub
License
MIT © AllRatesToday
来源:README.md,提交 782b4e4
工具
0版本历史
2- v0.3.2最新Oct 14, 2026
- v0.2.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分