Exchange Fx

io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.22.5更新於 Oct 24, 2026

FX and exchange rate lookups plus currency conversion, from the European Central Bank. No API key.

發布方自己的服務:Exchange.news — Crypto offers, campaigns and news

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

概覽

AI 產生的概覽

查詢歐洲央行參考匯率並在貨幣之間換算金額,並註明所用匯率日期。

可以做什麼
  • 取得以任意基準貨幣表示的最新歐洲央行參考匯率,可限定所需貨幣
  • 在兩種貨幣之間換算金額(當日或歷史日期),或一次把一筆金額換算成多種貨幣
  • 查詢指定日期的匯率,當日無匯率時退回此前最近一次公布的匯率,並同時給出正反兩個方向
  • 檢視某貨幣對在一段期間內的最低、最高、平均值與變動,並列出歐洲央行報價的全部貨幣
  • 檢視本機快取狀態,並管理選用的 Pro 授權金鑰
  • 以資源形式提供快取匯率,並提供把費用換算串接到發票的提示詞
適用情境
適合需要帶日期、可引用的匯率來做記帳、開票、多幣別費用重開票或報表的情境,也適合不想申請 API 金鑰的快速換算。匯率檔案快取後,在離線或受限網路環境中同樣可用。
執行需求
以 stdio 在本機執行,可透過桌面端一鍵包安裝,或以 Node.js 從原始碼建置;說明中稱 npm 套件尚未發布。無需帳號或 API 金鑰。更新匯率需要連線歐洲央行公開匯率檔案,可選用 ECB_BASE_URL 指向鏡像。Pro 授權金鑰為選用項目。
安裝前請注意
選用的 MCP_LICENSE_KEY 用於解鎖 Pro 功能,需一次性付費購買;免費模式歷史資料僅限 90 天。這些是每日參考匯率而非交易匯率,與銀行實際匯率會有差異。伺服器會在本機寫入快取目錄,且僅向歐洲央行或所設定的鏡像發出外部請求。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Exchange Fx,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-currency

Ask your assistant what something is worth in another currency and get a real answer with a date on it. It reads the European Central Bank's daily euro foreign exchange reference rates, the same published series banks, tax authorities and accountants use, converts amounts between any of the currencies the ECB quotes, and shows how a pair has moved over time. There is no API key, no account and no rate limit, because the ECB publishes the file openly. Both files are cached on your own machine, so after the first download every answer is instant and the server keeps working on a plane. Every answer states which rate date it used, because ECB rates are published once a day and a Sunday carries Friday's rate.

Built by theluckystrike.

In the official MCP Registry (io.github.theluckystrike/currency-converter-ecb-rates-daily-keyless).

Listed on the AI Product Index - live remote endpoint at mcp.zovo.one/s/currency, free tier, no signup.

[currency demo]

60-second install

npm publish for @theluckystrike/mcp-currency is pending. Until then, the .mcpb one-click bundle or a clone+build is the working path, both are verified below.

One-click (.mcpb): download currency.mcpb from the latest release and double-click it in Claude Desktop: https://github.com/theluckystrike/mcp-servers/releases/latest

(claude_desktop_config.json):

json
{  "mcpServers": {    "currency": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-currency"]    }  }}

Claude Code:

sh
claude mcp add currency -- npx -y @theluckystrike/mcp-currency

(.cursor/mcp.json):

json
{  "mcpServers": {    "currency": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-currency"]    }  }}

The npx form above starts working the moment the package is published. Until then, use the .mcpb bundle above, or build from source with exactly these three commands:

sh
git clone https://github.com/theluckystrike/mcp-servers.git && cd mcp-serversnpm installnpm run build -w packages/mcp-license -w servers/currency

Then point your client's command at node with one arg: the absolute path to servers/currency/dist/index.js.

To run in Pro mode set MCP_LICENSE_KEY in the same config block, or call license_activate once with your key.

Tools

ToolWhat it does
rates_latestThe latest ECB reference rates, re-expressed against any base. Optional quotes to narrow the list.
convertConvert an amount between two currencies, today or on a past date. States the rate, the rate date and the rounding.
convert_manyOne amount into several currencies at once, all off the same rate date.
fx_rates_forReturns the fx_rates object the expense tracker's expense_to_invoice takes, plus the rate date.
rate_historyA pair over a window, with min, max, average and the change across it.
rate_onThe rate on one date, falling back to the last published rate on or before it and saying so. Both directions are returned (rate and inverse_rate) and published_direction names which way round the ECB itself quotes the pair, so the reciprocal is never relayed as the published figure.
currencies_listEvery currency the ECB quotes, with its euro rate and its number of decimal places.
cache_statusWhat is cached, how old it is, when it refreshes next, and where it lives.
license_status / license_activateCheck or activate a Pro key. Verified offline.

Resource fx://latest exposes the cached rates as JSON. Prompt convert_invoice_lines walks the whole expense-tracker -> currency -> invoice chain in one step.

Free vs Pro

FreePro ($19 one-time)
Latest rates, convert, convert_many, fx_rates_forYes, unlimitedYes, unlimited
CurrenciesAll 30+ the ECB quotesAll 30+ the ECB quotes
Rate historyUp to 90 days per call, back 90 days; a wider window is shortened and answered, cap namedUnlimited windows, back to 1999-01-04
rate_onLast 90 daysAny date since 1999-01-04
Offline cacheYesYes

A refused history window returns the reason and the exact narrower call to make; it never silently truncates a table and it never returns a transport error.

Get Pro: https://mcp.zovo.one/buy/currency (or $39 for the whole bundle: https://mcp.zovo.one/buy/bundle)

Pairs with

  • expense-tracker, expense_to_invoice takes target_currency plus an fx_rates object and folds a multi-currency expense set into one invoice currency, but it will not fetch or invent a rate. fx_rates_for {target, currencies} here returns exactly that object. "Rebill Nova in USD" then works end to end without the user typing a single exchange rate.
  • invoice, one invoice carries one currency. Convert first, issue second, and put the returned invoice_note ("Converted at ECB reference rates of 2026-09-02") on the document so the client can check it.
expense_to_invoice {project, from, to}          -> which currencies are actually presentfx_rates_for {target: "USD", currencies: [...]} -> {"EUR": 1.0812, "GBP": 1.2717}, rate dateexpense_to_invoice {..., target_currency: "USD", fx_rates: {...}} -> one currency, every line annotatedinvoice_create {currency: "USD", items: [...]}  -> the document

How the rates work

  • Source: the ECB euro foreign exchange reference rates, eurofxref-daily.xml and eurofxref-hist.xml.
  • Published around 16:00 CET on TARGET business days. There is no rate for a weekend, 1 January, Good Friday, Easter Monday, 1 May, or 25 and 26 December.
  • Asking for a date with no rate returns the last rate published on or before it, the convention every bank uses, and the answer says which date it landed on and why. A date inside the cached range with no rate is a weekend or a TARGET holiday and is named as one; a date after the newest day in the cache is reported as not published yet, with the cache's latest date and whether this call went to the ECB to look for it.
  • The ECB quotes everything against the euro, so a USD/PLN rate is a cross rate: the ratio is formed and multiplied at full precision, and the only rounding in the path is the last one, to the target currency's minor units. The answer carries both numbers: rate_exact is the multiplier, rate is the same rate rounded to 6 decimals for reading. Recomputing by hand from the 6-decimal rate can differ by a minor unit or two; it is far out for pairs whose rate is nowhere near 1 (1,000,000 VND is KWD 11.667, not KWD 12.000).
  • Results are rounded to the target currency's own ISO 4217 minor units: JPY comes back whole, BHD to three places.
  • These are reference rates for accounting and reporting. They are not dealing rates; your bank's rate will differ.

Privacy

All data stays local. The only network request this server makes is to www.ecb.europa.eu for the two public rate files, and only when the local copy is older than 6 hours (daily) or 24 hours (history). Nothing about your amounts, your currencies or your machine is sent anywhere. The cache lives in ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/currency/; delete that directory to reset the server. Set ECB_BASE_URL to point at your own mirror if outbound access is restricted.

MIT licensed. Support: [email protected]. Built by theluckystrike.

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

來源:servers/currency/README.md,提交 1bd9d69

工具

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

版本歷史

2
  1. v0.22.5最新Oct 14, 2026
  2. v0.21.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

其他 Exchange 整合