AllRatesToday MCP Server — Currency Rates in Claude Code & Cursor
Give Claude Code, Cursor, and Claude Desktop access to real-time currency exchange rates. Install @allratestoday/mcp-server in one line and let your AI assistant convert and compare currencies.
AllRatesToday now ships a Model Context Protocol (MCP) server — a tiny bridge that gives AI coding tools like Claude Code, Cursor, and Claude Desktop direct access to real-time mid-market exchange rates and historical data.
Once configured, your AI assistant can answer questions like:
- "What's the current USD to EUR rate?"
- "Show me GBP/JPY over the last 30 days."
- "Convert 250 USD to CAD using a real rate."
- "List every supported currency."
@allratestoday/mcp-server.
Source:
github.com/cahthuranag/mcp-server.
Install
Claude Code
claude mcp add allratestoday -- npx -y @allratestoday/mcp-server
claude mcp env allratestoday ALLRATES_API_KEY=art_live_xxxxx Cursor
Edit ~/.cursor/mcp.json (or project .cursor/mcp.json):
{
"mcpServers": {
"allratestoday": {
"command": "npx",
"args": ["-y", "@allratestoday/mcp-server"],
"env": {
"ALLRATES_API_KEY": "art_live_xxxxx"
}
}
}
} Claude Desktop
Edit your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"allratestoday": {
"command": "npx",
"args": ["-y", "@allratestoday/mcp-server"],
"env": {
"ALLRATES_API_KEY": "art_live_xxxxx"
}
}
}
} Restart the app after editing.
Tools exposed
| Tool | API key | What it does |
|---|---|---|
get_exchange_rate | no | Current mid-market rate between two currencies. |
get_historical_rates | yes | Data points over 1d, 7d, 30d, or 1y. |
get_rates_authenticated | yes | Multi-target rates and higher limits. |
list_currencies | no | All supported currencies with codes and symbols. |
Get an API key
- Register at allratestoday.com/register.
- Verify your email.
- Copy your key from the dashboard — it looks like
art_live_xxxxx.
The free plan gives 300 requests/month. Two tools (get_exchange_rate and
list_currencies) don't need a key. Set ALLRATES_API_KEY for the
historical and multi-target endpoints.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
ALLRATES_API_KEY | — | Your AllRatesToday key. |
ALLRATES_BASE_URL | https://allratestoday.com/api | Override for self-hosted or staging environments. |
FAQ
What is MCP?
Model Context Protocol is Anthropic's open standard for connecting AI assistants to external tools and data. An MCP server exposes a set of typed tools; clients like Claude Code and Cursor call them on your behalf when the model needs them.
Is the MCP server free?
The MCP server itself is MIT-licensed. The underlying API has a free tier (300 req/mo) and paid plans from €4.99/mo. Public tools work without a key.
Does it work offline?
No — the tools call the AllRatesToday API over HTTPS. Cache your results locally if you need offline behaviour.
Can I contribute?
Yes. Source is on GitHub — issues and PRs welcome.
Connect your AI to real currency data
Install the MCP server in one line. Free tier available.
Get free API key View on GitHub