Home Documentation Playground Pricing API Status Blog About FAQ Support

Best MCP Server for Exchange Rates in 2026

Comparison of MCP servers that give AI coding tools (Claude Code, Cursor, Claude Desktop, Windsurf) access to live currency exchange rates. Setup guides and examples.

MCP (Model Context Protocol) lets AI coding tools call external APIs as tools during a conversation. If you're building with Claude Code, Cursor, Claude Desktop, or Windsurf and need exchange rate data, an MCP server gives your AI assistant direct access to live rates without you writing fetch calls.

What is an MCP Server?

MCP is an open protocol that lets AI assistants call external tools. An MCP server exposes functions (like "get exchange rate" or "list currencies") that the AI can call during your conversation. Instead of pasting API responses into your chat, the AI fetches the data directly.

Quick Comparison

MCP Server Install Currencies Real-Time Historical Free Tier
@allratestoday/mcp-server npx -y @allratestoday/mcp-server 160+ 60s updates 1d/7d/30d/1y + date ranges 300 req/mo
@exchangerateapi/mcp-server npx -y @exchangerateapi/mcp-server 160+ 60s updates 1d/7d/30d/1y + date ranges 300 req/mo

AllRatesToday MCP Server

The official AllRatesToday MCP server gives AI coding tools access to 4 exchange rate tools: current rates, historical data, multi-currency lookups, and currency listing. Works with every major MCP client.

Setup for Claude Code

{
  "mcpServers": {
    "allratestoday": {
      "command": "npx",
      "args": ["-y", "@allratestoday/mcp-server"],
      "env": { "ALLRATES_API_KEY": "art_live_..." }
    }
  }
}

Setup for Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "allratestoday": {
      "command": "npx",
      "args": ["-y", "@allratestoday/mcp-server"],
      "env": { "ALLRATES_API_KEY": "art_live_..." }
    }
  }
}

Setup for Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "allratestoday": {
      "command": "npx",
      "args": ["-y", "@allratestoday/mcp-server"],
      "env": { "ALLRATES_API_KEY": "art_live_..." }
    }
  }
}

Setup for Windsurf

{
  "mcpServers": {
    "allratestoday": {
      "command": "npx",
      "args": ["-y", "@allratestoday/mcp-server"],
      "env": { "ALLRATES_API_KEY": "art_live_..." }
    }
  }
}

Available Tools

ToolDescriptionExample Prompt
get_exchange_rate Current mid-market rate for a pair "What's the USD to EUR rate?"
get_historical_rates Historical data over 1d, 7d, 30d, or 1y "Show GBP/JPY for the last 30 days"
get_rates Multi-target with date ranges and grouping "Get monthly EUR rates against USD, GBP, JPY for 2026"
list_currencies All 160+ supported currencies "List all supported currencies"

Why Use an MCP Server Instead of Calling the API Directly?

Both MCP servers use the same AllRatesToday API backend. The @allratestoday package uses the ALLRATES_API_KEY env var, while @exchangerateapi uses EXCHANGE_RATE_API_KEY. Same data, same free tier.

Get started with MCP

Free API key, one-line setup, works with every major AI coding tool.

Get free API key MCP docs

Related