Exchange Rate API

io.github.Exchange-RateAPIPublished by GitHub account Exchange-RateAPIv1.0.2Updated Oct 24, 2026

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

The publisher's own server: Exchange.news — Crypto offers, campaigns and news

VerifiedSTDIODesktop onlyFinanceData & Analytics

Overview

AI-generated overview

A local MCP server that gives an assistant real-time and historical mid-market exchange rates for 160+ currencies from Exchange Rate API.

What you can do
Look up the current mid-market rate between two currencies and convert amounts across several target currencies at once, with optional date ranges and day, week or month grouping for averages and trends. Retrieve historical rate series for a currency pair over 1 day, 7 days, 30 days or 1 year. List the supported currencies so the assistant knows which codes it can use.
When to use it
Useful when you want an assistant to answer currency conversion questions, compare rates, or summarize rate trends over time inside a chat or coding session, without leaving the client to check a rates website.
Requirements
Runs locally via npx, so Node.js is needed. Requires a free API key from exchange-rateapi.com, supplied in the EXCHANGE_RATE_API_KEY environment variable; the optional EXCHANGE_RATE_BASE_URL variable overrides the API base URL. Network access to the provider's API is required.
Before you install
The API key is a secret passed in plain text in the client configuration, so keep the config file private. The README states the package is no longer updated and points new projects to a successor package and hosted endpoint; check whether you want the maintained option. Rate data comes from a third-party provider and is informational, not financial advice.

Installation

In SourceWeft

  1. Open Exchange Rate API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

Source: README.md at commit 3311a1a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Exchange integrations