MCP Server for AI Agents | currencyapi.com

1 min read | January 1, 0001

Use currencyapi with AI agents (MCP)

currencyapi ships a hosted Model Context Protocol (MCP) server. AI agents and assistants — Claude, Cursor, VS Code and any other MCP-capable client — can call the API as native tools, no SDK or glue code required.

https://api.currencyapi.com/mcp

Connect in seconds

Using Claude Code:

claude mcp add --transport http currencyapi https://api.currencyapi.com/mcp --header "apikey: YOUR_API_KEY"

Or add it to any MCP client configuration:

{
  "mcpServers": {
    "currencyapi": {
      "url": "https://api.currencyapi.com/mcp",
      "headers": { "apikey": "YOUR_API_KEY" }
    }
  }
}

Listing the available tools works without authentication. To execute tools, sign up for a free API key and send it as the apikey header.

Available tools

Tool Endpoint Description
getLatest GET /v3/latest Latest exchange rates
getHistorical GET /v3/historical Historical exchange rates
getConvert GET /v3/convert Convert a value between currencies
getRange GET /v3/range Historical exchange rates for a time range
getCurrencies GET /v3/currencies List supported currencies
getCountries GET /v3/countries List countries
getStatus GET /v3/status Account quota status

Tool calls are metered like regular API requests and return the same machine-readable errors, so your agent always knows how to proceed. Full details in the MCP documentation.

Start using our Currency API for free today!

Get 300 requests / month for free