exchangerate.dev

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

我该使用它吗

质量与安全性

A
描述质量
97%
模式完整度
70%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~937token 数(工具定义)
~676 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.73%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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 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.

输入模式

{
  "type": "object",
  "properties": {
    "plan": {
      "enum": [
        "basic",
        "plus",
        "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 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具