Currency

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

Convert currencies on the daily European Central Bank reference rates. No API key, no signup.

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

概覽

AI 產生的概覽

使用歐洲央行每日歐元參考匯率在貨幣之間換算金額,並附上匯率日期、歷史走勢與本機離線快取。

可以做什麼
  • 取得以任意基準貨幣表示的最新歐洲央行參考匯率,可依需求縮小到指定貨幣
  • 在兩種貨幣之間換算金額(今天或過去某日),或把一筆金額一次換算成多種貨幣
  • 查詢某一日期的匯率,或某貨幣對在一段期間內的最低、最高、平均值與變化
  • 列出歐洲央行報價的全部貨幣及其歐元匯率與小數位數,並查看本機快取狀態
  • 為搭配的記帳工具產生 fx_rates 物件,以及查詢或啟用 Pro 授權金鑰
適用情境
適合需要助理以帶日期、可核對的參考匯率回答貨幣問題的情境,例如換算發票或報帳金額、查詢歷史匯率,或在首次下載後離線使用。
執行需求
以本機程序執行。npm 套件尚未發布,需安裝 .mcpb 套件或以 Node.js 與 npm 從原始碼建置。不需要 API 金鑰或帳號。僅在更新快取匯率檔案時連線歐洲央行網站,可用 ECB_BASE_URL 指向鏡像站。只有 Pro 功能需要授權金鑰。
安裝前請注意
免費版的歷史與過去日期查詢僅限 90 天內,更長的期間與 1999 年以來的日期需要付費 Pro 金鑰,透過 MCP_LICENSE_KEY 或 license_activate 提供。匯率為供會計使用的每日參考匯率,並非交易匯率;週末與假日會退回最近一次公布的匯率。伺服器會寫入本機快取目錄,可刪除以重設。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Currency,將其新增到工作區。
  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.6最新Oct 14, 2026
  2. v0.22.1Sep 18, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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