Official exchange rates, native to your AI agent

Connect Claude, Cursor, VS Code or any custom agent to Global Exchange Rates over the Model Context Protocol (MCP). Your agent pulls live and historical exchange rates and converts currencies on its own — no integration code required.

The same trusted data as our REST API: official exchange rates from central banks and tax authorities worldwide, with full historical coverage. Ideal for accounting and ERP systems, business intelligence and reporting.

Why MCP

  • Zero glue code. Add one server and the tools appear in your agent, fully typed.
  • For builders and for business users.
  • Enterprise-grade source. Multi-provider, historical-capable, official rates — identical to our REST API.

Tools your agent gets

ToolWhat it does
get_exchange_ratesLatest or historical rates, for any supported provider.
convert_currencyConvert an amount between currencies, latest or on a specific date.
list_currenciesDiscover every supported currency.
list_providersDiscover available rate providers (central banks).

Get started

  1. Get an API key at dev.globalexchangerates.org — your subscription key works in the MCP server immediately.
  2. Add the server to your agent using the config for your client below.
  3. Ask away, e.g. “What’s 100 EUR in USD and GBP today?”

Server URL

https://api.globalexchangerates.org/v1/mcp

Transport: Streamable HTTP. Authentication: send your subscription key in the Subscription-Key header.

Claude Desktop / Claude Code

{
  "mcpServers": {
    "global-exchange-rates": {
      "type": "http",
      "url": "https://api.globalexchangerates.org/v1/mcp",
      "headers": {
        "Subscription-Key": "YOUR_API_KEY"
      }
    }
  }
}

Cursor

{
  "mcpServers": {
    "global-exchange-rates": {
      "url": "https://api.globalexchangerates.org/v1/mcp",
      "headers": {
        "Subscription-Key": "YOUR_API_KEY"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "global-exchange-rates": {
      "type": "http",
      "url": "https://api.globalexchangerates.org/v1/mcp",
      "headers": {
        "Subscription-Key": "${input:gerApiKey}"
      }
    }
  }
}

Example prompts

  • “Convert 1,500 USD to EUR, GBP and JPY at today’s rates.”
  • “What was the EUR→USD rate on 2025-03-12?”
  • “Here’s a list of invoices with dates and currencies — total them in EUR using each invoice’s historical rate.”
  • “Which providers do you support, and which ones offer bid/ask rates?”

Good to know

The MCP server exposes the same rates and options as our REST endpoints — see the API docs for field-level details.