Exchange Rate API

io.github.Exchange-RateAPI由 GitHub 帳號 Exchange-RateAPI 發布v1.0.2更新於 Oct 24, 2026

Real-time & historical exchange rates for 160+ currencies, mid-market (Reuters/Refinitiv).

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

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

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理透過 Exchange Rate API 取得 160 多種貨幣的即時與歷史中間價匯率。

可以做什麼
查詢兩種貨幣之間的目前中間價匯率,並可將金額一次換算成多個目標貨幣,支援日期範圍以及按日、週、月分組以計算平均值和趨勢。取得貨幣對在 1 天、7 天、30 天或 1 年區間內的歷史匯率序列。列出支援的貨幣,讓助理知道可用的貨幣代碼。
適用情境
適合在聊天或寫程式的過程中,讓助理回答匯率換算問題、比較匯率或整理一段時間內的匯率走勢,不必離開用戶端去查匯率網站。
執行需求
透過 npx 在本機執行,需要 Node.js。需要 exchange-rateapi.com 的免費 API 金鑰,透過環境變數 EXCHANGE_RATE_API_KEY 提供;選用的環境變數 EXCHANGE_RATE_BASE_URL 可覆寫 API 基礎位址。需要能連線到服務商 API 的網路。
安裝前請注意
API 金鑰屬於機密資訊,會以明文寫在用戶端設定中,請妥善保管設定檔。README 說明這個套件已不再更新,並建議新專案改用後續套件與託管端點,請確認是否要選擇仍在維護的方案。匯率資料來自第三方服務商,僅供參考,不構成財務建議。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@exchangerateapi/mcp-server

Exchange Rate API is now AllRatesToday. This package keeps working against exchange-rateapi.com, but it is no longer updated. For new projects use @allratestoday/mcp-server (or the hosted endpoint https://allratestoday.com/api/mcp) — the same real-time API plus official rates from 121 central banks. Docs: allratestoday.com/docs.

[Powered by Exchange-RateAPI]

[npm] [license]

MCP server that gives AI coding tools (Claude Code, Cursor, Claude Desktop, Windsurf) access to real-time and historical currency exchange rates from Exchange Rate API.

160+ currencies. Mid-market rates updated every 60 seconds, no retail spread.

Quick Setup

1. Get a Free API Key

Sign up at exchange-rateapi.com/register — free tier, no credit card.

2. Add to Your MCP Client

Claude Code (~/.claude/settings.json):

json
{  "mcpServers": {    "exchange-rateapi": {      "command": "npx",      "args": ["-y", "@exchangerateapi/mcp-server"],      "env": { "EXCHANGE_RATE_API_KEY": "era_live_..." }    }  }}

Cursor (.cursor/mcp.json):

json
{  "mcpServers": {    "exchange-rateapi": {      "command": "npx",      "args": ["-y", "@exchangerateapi/mcp-server"],      "env": { "EXCHANGE_RATE_API_KEY": "era_live_..." }    }  }}

Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "exchange-rateapi": {      "command": "npx",      "args": ["-y", "@exchangerateapi/mcp-server"],      "env": { "EXCHANGE_RATE_API_KEY": "era_live_..." }    }  }}

Windsurf (~/.windsurf/mcp.json):

json
{  "mcpServers": {    "exchange-rateapi": {      "command": "npx",      "args": ["-y", "@exchangerateapi/mcp-server"],      "env": { "EXCHANGE_RATE_API_KEY": "era_live_..." }    }  }}

Tools

ToolDescription
get_exchange_rateGet the current mid-market rate between two currencies
get_historical_ratesGet historical data for a pair over 1d, 7d, 30d, or 1y
get_ratesMulti-target rates with date ranges and grouping (day/week/month)
list_currenciesList all 160+ supported currencies

Example Prompts

Once configured, ask your AI assistant:

  • "What's the current USD to EUR exchange rate?"
  • "Show me GBP/JPY rates for the last 30 days"
  • "Convert 5000 USD to EUR, GBP, and JPY"
  • "List all supported currencies"
  • "What's the monthly average EUR/USD rate for 2026?"

Environment Variables

VariableRequiredDescription
EXCHANGE_RATE_API_KEYYesYour API key from exchange-rateapi.com
EXCHANGE_RATE_BASE_URLNoOverride API base URL (default: https://exchange-rateapi.com/api)

Links

License

MIT

來源:README.md,提交 3311a1a

工具

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

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

其他 Exchange 整合