exchangerate.dev

Free, source-labeled FX rates: 465 pairs across 31 currencies, majors update ~60s intraday.

我該用這個嗎

品質與安全性

A
說明品質
97%
結構描述完整度
70%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~927Token(工具定義)
~673 B典型回應大小
中等的注意力影響(128k 上下文的 0.72%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.exchangerate.dev/v1/mcp"
    }
  }
}

遠端端點

https://api.exchangerate.dev/v1/mcpstreamable-http
https://api.exchangerate.dev/v1/mcp/streamable-http

它能做什麼

工具清單

工具(7)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪start_checkout(plan)

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 Basic subscriber receives Stripe billing management instead. Cancellation creates nothing and account identifiers are never accepted from the model.

輸入結構描述

{
  "type": "object",
  "properties": {
    "plan": {
      "enum": [
        "basic",
        "pro"
      ],
      "type": "string"
    }
  },
  "required": [
    "plan"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": {
    "type": "string"
  }
}
🟢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.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true
}
🟢get_usd_index(index)

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

輸入結構描述

{
  "type": "object",
  "properties": {
    "index": {
      "enum": [
        "dxy-reconstructed",
        "usd-strength"
      ],
      "type": "string"
    }
  },
  "required": [
    "index"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true
}
🟡get_rate(base, quote, date)

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

輸入結構描述

{
  "type": "object",
  "properties": {
    "base": {
      "type": "string"
    },
    "quote": {
      "type": "string"
    },
    "date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "base",
    "quote"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true
}
⚪convert(from, to, amount)

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

輸入結構描述

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "amount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
          "type": "string"
        }
      ]
    }
  },
  "required": [
    "from",
    "to",
    "amount"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true
}
🟢get_range(base, symbols, start_date, end_date, cursor)

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 (aggregated market data + public reference rates), not for settlement or trading.

輸入結構描述

{
  "type": "object",
  "properties": {
    "base": {
      "type": "string"
    },
    "symbols": {
      "type": "string"
    },
    "start_date": {
      "type": "string"
    },
    "end_date": {
      "type": "string"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "base",
    "symbols",
    "start_date",
    "end_date"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true
}
🟢search_docs(query, limit)

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.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "limit": {
      "default": 5,
      "type": "integer"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "additionalProperties": true
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本7 個工具
已驗證未記錄版本7 個工具
已驗證未記錄版本7 個工具
已驗證未記錄版本7 個工具