Skip to main content
Glama
Exchange-RateAPI

@exchangerateapi/mcp-server

Official

@exchangerateapi/mcp-server

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. Sourced from Reuters/Refinitiv.

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):

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

Cursor (.cursor/mcp.json):

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

Claude Desktop (claude_desktop_config.json):

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

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

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

Related MCP server: UniRate MCP

Tools

Tool

Description

get_exchange_rate

Get the current mid-market rate between two currencies

get_historical_rates

Get historical data for a pair over 1d, 7d, 30d, or 1y

get_rates

Multi-target rates with date ranges and grouping (day/week/month)

list_currencies

List 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

Variable

Required

Description

EXCHANGE_RATE_API_KEY

Yes

Your API key from exchange-rateapi.com

EXCHANGE_RATE_BASE_URL

No

Override API base URL (default: https://exchange-rateapi.com/api)

License

MIT

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides real-time and historical foreign exchange rates for 31+ currencies, enabling currency conversion, historical rate lookups, and time series analysis using data from the Frankfurter API.
    Last updated
  • A
    license
    A
    quality
    B
    maintenance
    Currency conversion and exchange rates for AI assistants. 170+ currencies, historical data back to 1999.
    Last updated
    4
    54
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides real-time foreign-exchange rates, historical data, and multi-currency lookups to MCP-compatible AI coding assistants like Claude Code and Cursor.
    Last updated
    4
    412
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    Enables real-time currency exchange rate queries between any two currencies using ExchangeRate API, with automatic triggering by AI models through the MCP protocol.
    Last updated
    1
    1

View all related MCP servers

Related MCP Connectors

  • Live & historical FX rates and currency conversion for AI agents. No API keys.

  • Live & historical FX rates for AI agents, from European Central Bank data. No API keys.

  • Convert currencies and fetch blended FX rates from 50+ institutional sources.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Exchange-RateAPI/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server