Real-time currency data for AI agents

Large language models are confident, fluent — and badly out of date. Ask Claude or ChatGPT for today's USD/EUR rate and you'll usually get a number from whenever the model was trained, with no warning that it's stale.

The Exchange Rate API MCP Server fixes that. It plugs into any AI application that speaks the Model Context Protocol — Claude Desktop, Claude Code, ChatGPT, Cursor, Windsurf, VS Code's MCP client, and any custom agent — and gives the assistant live access to the Exchange Rate API currency API. The model stops guessing and starts quoting real numbers.

What is MCP?

The Model Context Protocol is an open standard from Anthropic that lets AI applications connect to external data sources and tools through a single, consistent interface. Instead of bolting a custom integration onto every chat client, you publish an MCP server once and every compatible host — Claude, ChatGPT, Cursor, Windsurf, VS Code — can use it.

For data providers, that means one server, every assistant. For end users, it means tools just appear inside the chat they already use.

Capabilities

@exchangerateapi/mcp-server exposes four tools backed by the Exchange Rate API:

All four tools require an Exchange Rate API key, set as EXCHANGERATEAPI_KEY in the server config. The free tier covers personal/dev use and takes about 30 seconds to register for.

Key use cases

Getting started

  1. Register a free API key at exchange-rateapi.com/register.
  2. Add the server to your AI client. In Claude Code, that's one command:

    claude mcp add exchangerateapi -- npx -y @exchangerateapi/mcp-server
    claude mcp env exchangerateapi EXCHANGERATEAPI_KEY=your_key_here

    For Cursor, Claude Desktop, ChatGPT Desktop and Windsurf, drop the same npx command into the client's mcp.json config — full per-client setup is in the README.

  3. Ask your assistant a live currency question. It will pick up the tool, call Exchange Rate API, and answer with a real number.

The server is open source on GitHub and published as @exchangerateapi/mcp-server on npm.

Give Your AI Assistant Real Currency Data

Install in one line. Free tier with real-time rates. No credit card.

Get Your Free API Key →

Related Articles