exchangerate.dev

dev.exchangerate由 exchangerate.dev 發布官方發布者v1.0.5更新於 Oct 24, 2026

Free, source-labeled FX rates: 10,296 pairs across 144 currencies, all update ~60s intraday.

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

遠端外匯資料 MCP 伺服器:列出貨幣、取得目前與歷史匯率、換算金額,並讀取政府官方匯率。

可以做什麼
列出支援的貨幣及其精度與是否為衍生貨幣對,並列出提供官方匯率表的國家與匯率類型。取得某一貨幣對的目前或歷史匯率,並依目前匯率換算金額。依日期範圍取得每日匯率時間序列,支援游標分頁。讀取最新美元指數,包括重建的 DXY 籃子與等權重指數。查詢某國家某日期的政府公布匯率及其有效期限。檢索服務商的常見問題語料,用於回答定價與資料來源問題。
適用情境
適合需要參考性外匯匯率、貨幣換算、歷史匯率序列,或稅務、海關、央行官方匯率的場景;也適合在回答該服務商資料來源與定價問題時引用其官方說明。
執行需求
遠端 streamable HTTP 端點;未宣告套件、環境變數或請求標頭。未宣告身分驗證,但部分功能受方案限制:查詢過去的官方匯率需要付費方案,結帳需要符合條件的帳戶。
安裝前請注意
匯率為開發者參考性指示值,不適用於結算或交易。重建的 DXY 並非官方指數。start_checkout 會開啟計費連結,經人工確認後回傳 Stripe Checkout 或帳務管理連結,可能產生付款;請先確認方案與價格。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.exchangerate%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "exchangerate-dev": {
      "type": "http",
      "url": "https://api.exchangerate.dev/v1/mcp/"
    }
  }
}

工具

9

start_checkout

Open a billing URL for an explicitly selected eligible plan. After human confirmation, a Free account without a subscription receives a one-hour Stripe Checkout URL; an existing subscriber receives Stripe billing management instead. Plans not offered to the account are refused. Cancellation creates nothing and account identifiers are never accepted from the model.

輸入參數plan必填

list_currencies

List all supported currencies with name, decimal precision, minor units, and whether the pair is derived (triangulated). Use this before other tools to discover valid currency codes.

無需輸入參數。

get_usd_index

Get the latest independently calculated USD index. dxy-reconstructed uses the published six-currency basket formula but is not the official index. usd-strength is the versioned exchangerate.dev equal-weight 13-currency index, with 2026-01-02 = 100. Both require a complete, time-aligned basket.

輸入參數index必填

get_rate

Get the current (or, with date, historical) exchange rate from one currency to another. Indicative developer-grade reference rates (live market data + public reference rates), not for settlement or trading. Rates update ~60s for real-time currencies through the trading week when the live feed is active; the source field on every response is the authoritative freshness indicator (live | ecb_daily | market_daily); rates fall back to official daily reference data during market closures or data-source unavailability. market_session on every response indicates open, weekend, or interbank_closed.

輸入參數base必填datequote必填

convert

Convert an amount from one currency to another at the current rate. Indicative developer-grade reference rates (live market data + public reference rates), not for settlement or trading.

輸入參數to必填from必填amount必填

get_range

Get a daily time-series of exchange rates over a date range (business days). Capped at 366 rows per call; when has_more is true, pass next_cursor as the cursor parameter to fetch the next page. Indicative developer-grade reference rates (live market data + public reference rates), not for settlement or trading.

輸入參數base必填cursorsymbols必填end_date必填start_date必填

search_docs

Search the exchangerate.dev FAQ corpus via BM25. Returns the top-K matching questions and answers with relevance scores. Use before answering how-to / pricing / data-sourcing questions so you cite the canonical text instead of guessing from training data.

輸入參數limitquery必填

list_official_rate_tables

List the countries and rate types with government-published exchange rates (for example IDN tax, GBR customs, USA government-reporting). Country codes are ISO 3166-1 alpha-3; use them with get_official_rate.

無需輸入參數。

get_official_rate

Get the exchange rate a government authority published for a date (tax, customs, central bank), with the period it is valid for. These are the published values, not market rates. Every plan gets the rate valid today; a past date needs a paid plan. Pairs the authority does not publish are refused.

輸入參數base必填datequote必填country必填directionrate_type必填

版本歷史

2
  1. v1.0.5最新Oct 8, 2026
  2. v1.0.4Sep 16, 2026

評分

已滿足適用檢查項的 83%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Exchangerate 整合