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.

發布方自己的服務:AllRatesToday exchange rates (hosted)

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

取得 122 家央行與稅務機關的官方匯率,讓助理查詢已發布匯率表、指定日期匯率與跨機構比較。

可以做什麼
  • 列出涵蓋的央行與稅務機關及其代碼與最新發布日期
  • 取得某機構的已發布匯率表,或其中單一貨幣對及其反向匯率,並附發布單位自己的匯率日期
  • 取得指定日期的匯率表與單一貨幣對的逐日歷史(需付費方案)
  • 將同一貨幣對在所有機構間比較,提供最小值、最大值、中位數與價差統計
  • 查詢某機構實際發布過匯率的日期
  • 自行核發短期試用金鑰並於本次工作階段使用
適用情境
適合答案必須依據官方已發布匯率而非即時市場匯率的情境,例如稅務、會計、海關與法遵作業,依發票日期查詢歷史匯率,或比較不同央行對同一貨幣對的報價。
執行需求
以 Node.js 本機程序執行,可透過 npx 或全域 npm 安裝,由 MCP 用戶端以 stdio 啟動。無憑證時以無金鑰模式運作;選用的 ALLRATES_API_KEY 可解鎖指定日期匯率表、歷史、比較與發布行事曆,ALLRATES_BASE_URL 可覆寫 API 基礎網址。需要能連線至 allratestoday.com 的網路。
安裝前請注意
指定日期匯率表與歷史需要付費方案,歷史約按涵蓋月份每次呼叫計費;免費與試用金鑰存取這些內容會回傳 403。無金鑰使用時,須在顯示匯率處提供可見且可點擊的 AllRatesToday 署名連結。請求參數與 API 金鑰會傳送至 allratestoday.com。回傳的是官方已發布匯率而非即時市場匯率,兩者可能相差數個百分點。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Central Bank Rates (AllRatesToday),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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.

  1. Register at allratestoday.com/register — 30 seconds
  2. Verify your email
  3. Copy your key from the dashboard (format: art_live_xxxxx)
  4. Use it as ALLRATES_API_KEY in 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:

ToolKeylessWhat you get
list_central_banks✅Every covered institution (122 central banks, 4 tax authorities and the composite), from a catalogue bundled with the package (no coverage dates).
get_official_rates✅The latest published table of any source, or one published pair (or its inverse) from it, with the publisher's own rate_date. Cross pairs need a key.
get_official_rates with a date🔑One sentence explaining that dated tables need a paid plan.
get_official_rate_history🔑Same (paid plan).
compare_official_rates🔑One sentence explaining how to get a free key.
get_publication_calendar🔑Same.
request_trial_key✅Self-issues a 100-call, 7-day key with no account and adopts it for the session.

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.

html
<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>

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):

/plugin marketplace add AllRates-Today/claude-code-plugin/plugin install allratestoday@allratestoday

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:

https://allratestoday.com/api/mcp
bash
claude mcp add --transport http allratestoday https://allratestoday.com/api/mcp

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

bash
# Run without installing (recommended)npx -y @allratestoday/central-bank-mcp
bash
# Or install globallynpm install -g @allratestoday/central-bank-mcpcentral-bank-mcp

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

bash
claude mcp add central-bank-rates -- npx -y @allratestoday/central-bank-mcpclaude mcp env central-bank-rates ALLRATES_API_KEY=art_live_xxxxx

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):

json
{  "mcpServers": {    "central-bank-rates": {      "command": "npx",      "args": ["-y", "@allratestoday/central-bank-mcp"],      "env": {        "ALLRATES_API_KEY": "art_live_xxxxx"      }    }  }}

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

ToolWhat it doesPlan
list_central_banksAll covered institutions with codes, metadata, latest dateFree (keyless: bundled catalogue)
get_official_ratesA bank's published table (or one pair), latest or for a given dateKeyless (latest) / Paid (dated)
get_official_rate_historyDate-by-date official series for one pairPaid, billed ~1 call per month covered
compare_official_ratesOne pair across every bank, with spread statsFree (key required)
get_publication_calendarDates a bank actually published (no values)Free (key required)
request_trial_keySelf-issue a 100-call, 7-day trial key (no account) and use it for the rest of the sessionKeyless, 3 per IP per day

🔒 Privacy

Only the request parameters and your API key ever reach allratestoday.com — never conversation context.

📚 More from AllRatesToday

🔗 Links

License

MIT © AllRatesToday

來源:README.md,提交 782b4e4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.3.2最新Oct 14, 2026
  2. v0.2.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Allratestoday 整合