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 生成的概览

exchangerate.dev 的远程 MCP 服务器,让助手获取汇率、货币换算、历史区间、美元指数与政府官方汇率,可免密钥使用。

可以做什么
  • 列出支持的货币并发现有效货币代码
  • 获取当前或历史汇率,并在货币之间换算金额
  • 按日期区间获取每日汇率时间序列,支持游标分页
  • 读取美元指数(重建 DXY 与 13 种货币强度指数)
  • 查询税务、海关或央行发布的官方汇率
  • 检索服务常见问题语料,并启动套餐结账
适用场景
当助手在回答问题或制作报表时需要货币换算、历史汇率序列或官方税务/海关汇率,又不想自行维护汇率数据管道时适用。
运行要求
远程 streamable HTTP 端点 api.exchangerate.dev,无需安装包或本地运行时。未声明认证,可免密钥免费使用,但汇率延迟 15 分钟;付费套餐为实时数据,并共享每分钟速率限制与每月配额。
安装前请注意
汇率为参考性数据,明确不适用于结算或交易。结账工具会打开 Stripe 计费链接,可能创建订阅或取消订阅,运行前应由人工确认。历史日期的官方汇率需要付费套餐;遇到配额或速率限制错误时不应自动重试。

安装

在 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 集成