{
  "markdown": "# @exchangerateapi/mcp-server\n\n[![Powered by Exchange-RateAPI](https://img.shields.io/badge/Powered%20by-Exchange--RateAPI-blueviolet.svg)](https://exchange-rateapi.com)\n\n[![npm](https://img.shields.io/npm/v/@exchangerateapi/mcp-server.svg)](https://www.npmjs.com/package/@exchangerateapi/mcp-server)\n[![license](https://img.shields.io/npm/l/@exchangerateapi/mcp-server.svg)](https://github.com/Exchange-RateAPI/mcp-server/blob/main/LICENSE)\n\nMCP 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](https://exchange-rateapi.com).\n\n160+ currencies. Mid-market rates updated every 60 seconds. Sourced from institutional interbank market data.\n\n## Quick Setup\n\n### 1. Get a Free API Key\n\nSign up at [exchange-rateapi.com/register](https://exchange-rateapi.com/register/) — free tier, no credit card.\n\n### 2. Add to Your MCP Client\n\n**Claude Code** (`~/.claude/settings.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"exchange-rateapi\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@exchangerateapi/mcp-server\"],\n      \"env\": { \"EXCHANGE_RATE_API_KEY\": \"era_live_...\" }\n    }\n  }\n}\n```\n\n**Cursor** (`.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"exchange-rateapi\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@exchangerateapi/mcp-server\"],\n      \"env\": { \"EXCHANGE_RATE_API_KEY\": \"era_live_...\" }\n    }\n  }\n}\n```\n\n**Claude Desktop** (`claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"exchange-rateapi\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@exchangerateapi/mcp-server\"],\n      \"env\": { \"EXCHANGE_RATE_API_KEY\": \"era_live_...\" }\n    }\n  }\n}\n```\n\n**Windsurf** (`~/.windsurf/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"exchange-rateapi\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@exchangerateapi/mcp-server\"],\n      \"env\": { \"EXCHANGE_RATE_API_KEY\": \"era_live_...\" }\n    }\n  }\n}\n```\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `get_exchange_rate` | Get the current mid-market rate between two currencies |\n| `get_historical_rates` | Get historical data for a pair over 1d, 7d, 30d, or 1y |\n| `get_rates` | Multi-target rates with date ranges and grouping (day/week/month) |\n| `list_currencies` | List all 160+ supported currencies |\n\n## Example Prompts\n\nOnce configured, ask your AI assistant:\n\n- \"What's the current USD to EUR exchange rate?\"\n- \"Show me GBP/JPY rates for the last 30 days\"\n- \"Convert 5000 USD to EUR, GBP, and JPY\"\n- \"List all supported currencies\"\n- \"What's the monthly average EUR/USD rate for 2026?\"\n\n## Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `EXCHANGE_RATE_API_KEY` | Yes | Your API key from [exchange-rateapi.com](https://exchange-rateapi.com/register/) |\n| `EXCHANGE_RATE_BASE_URL` | No | Override API base URL (default: `https://exchange-rateapi.com/api`) |\n\n## Links\n\n- [API Documentation](https://exchange-rateapi.com/docs/)\n- [Get Free API Key](https://exchange-rateapi.com/register/)\n- [Dashboard](https://exchange-rateapi.com/dashboard/)\n- [GitHub](https://github.com/Exchange-RateAPI/mcp-server)\n\n## License\n\nMIT\n",
  "bytes": 3172,
  "sha": "48a39c6cccedb3cec621e667e8e0e36fbfb359d91742a52bf9b5717d6f426b04",
  "repo_slug": "exchange-rateapi/mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_exchange_rateapi_mcp_server_db3a4f61/readme"
}