This MCP Currency Converter Server provides real-time currency conversion and exchange rate data using the Frankfurter API. It offers a streamlined way to integrate currency conversion capabilities into your applications through the Model Context Protocol.
The MCP server is available at two endpoints:
/mcp
endpoint for streamable HTTP/sse
endpoint for legacy HTTP+SSESince many clients don't yet support streamable HTTP, you can use a proxy to connect to the server.
To set up the currency converter with a proxy:
{
"mcpServers": {
"currency-conversion": {
"command": "npx",
"args": ["mcp-remote", "https://currency-mcp.wesbos.com/sse"]
}
}
}
The server provides several tools for currency conversion and exchange rate data.
The convert_currency
tool allows you to convert amounts between different currencies.
Parameters:
from
(string): Source currency code (3 letters, e.g., "USD", "EUR")to
(string): Target currency code (3 letters, e.g., "USD", "EUR")amount
(number): Amount to convert (positive number)Example: Converting 100 USD to EUR
{
"from": "USD",
"to": "EUR",
"amount": 100
}
The get_latest_rates
tool fetches the most recent exchange rates.
Parameters:
base
(string, optional): Base currency code (defaults to EUR)symbols
(string, optional): Comma-separated currency codes to limit resultsExample: Getting USD rates for specific currencies
{
"base": "USD",
"symbols": "EUR,GBP,JPY"
}
The get_currencies
tool provides a list of all available currencies with their full names.
Parameters: None required
The get_historical_rates
tool retrieves exchange rates for a specific date in the past.
Parameters:
date
(string): Date in YYYY-MM-DD formatbase
(string, optional): Base currency code (defaults to EUR)symbols
(string, optional): Comma-separated currency codes to limit resultsExample: Getting historical EUR rates for January 1, 2024
{
"date": "2024-01-01",
"base": "EUR",
"symbols": "USD,GBP"
}
All exchange rate data is provided by the Frankfurter API.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "currency-conversion" '{"command":"npx","args":["mcp-remote","https://currency-mcp.wesbos.com/sse"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"currency-conversion": {
"command": "npx",
"args": [
"mcp-remote",
"https://currency-mcp.wesbos.com/sse"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"currency-conversion": {
"command": "npx",
"args": [
"mcp-remote",
"https://currency-mcp.wesbos.com/sse"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect