Wise Currency Converter MCP Server
Provides real-time and historical currency conversion using the Wise API, with support for 40 major currencies and automatic cross-rate calculation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Wise Currency Converter MCP Serverconvert 100 USD to EUR"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Wise Currency Converter MCP Server
A Model Context Protocol (MCP) server that provides currency conversion using the Wise API.
Prerequisites
You need a Wise API key to use this server. Get your API key from Wise API.
Related MCP server: Frankfurter MCP
Features
Convert Currency: Convert amounts between different currencies using real-time or historical Wise exchange rates
List Currencies: Get a list of all supported currency codes
Rate Caching: Built-in caching to minimize API calls
Cross-rate Calculation: Automatic fallback to USD-based cross-rate calculation when direct rates are unavailable
Installation
npm install
npm run buildConfiguration
API Key Setup
Set your Wise API key as an environment variable:
export WISE_API_KEY="your-api-key-here"Or copy the example environment file and add your key:
cp .env.example .env
# Edit .env and add your API keySecurity Note: Never commit your API key to version control. The .gitignore file is configured to exclude .env files.
Usage
As an MCP Server
The server runs on stdio and can be used with any MCP client:
node dist/index.jsAvailable Tools
1. convert_currency
Converts an amount from one currency to another.
Parameters:
source_currency(string, required): Source currency code (e.g., USD, EUR, GBP)amount(number, required): Amount to converttarget_currency(string, required): Target currency codedate(string, optional): Date for historical rate in YYYY-MM-DD format
Example Response:
{
"source_currency": "USD",
"source_amount": 100,
"target_currency": "EUR",
"target_amount": 92.45,
"exchange_rate": 0.9245,
"date": "2024-01-15"
}2. list_currencies
Returns a list of all supported currency codes.
Example Response:
{
"currencies": ["USD", "EUR", "GBP", "JPY", ...],
"total": 40
}Configuration with Claude Desktop
To use this MCP server with Claude Desktop, add it to your config file:
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"wise-currency": {
"command": "node",
"args": ["/path/to/wise-currency-converter-mcp/dist/index.js"],
"env": {
"WISE_API_KEY": "your-api-key-here"
}
}
}
}Windows
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"wise-currency": {
"command": "node",
"args": ["C:\\path\\to\\wise-currency-converter-mcp\\dist\\index.js"],
"env": {
"WISE_API_KEY": "your-api-key-here"
}
}
}
}Supported Currencies
The server supports 40 major world currencies including:
USD, EUR, GBP, JPY, AUD, CAD, CHF, CNY, SEK, NZD
MXN, SGD, HKD, NOK, KRW, TRY, RUB, INR, BRL, ZAR
And 20 more...
Testing
Test the server functionality:
# Run the test script
WISE_API_KEY="your-api-key" node test.jsDevelopment
# Install dependencies
npm install
# Build the project
npm run build
# Watch for changes during development
npm run dev
# Run the server directly for testing
WISE_API_KEY="your-api-key" node dist/index.jsProject Structure
wise-currency-converter-mcp/
├── src/
│ ├── index.ts # MCP server implementation
│ ├── wise-client.ts # Wise API client with caching
│ └── types.ts # TypeScript type definitions
├── dist/ # Compiled JavaScript output
├── test.js # Test script for validation
├── .env.example # Example environment configuration
├── .gitignore # Git ignore rules
├── package.json # Node.js dependencies
└── tsconfig.json # TypeScript configurationArchitecture
TypeScript: Full type safety and better IDE support
MCP SDK: Official Model Context Protocol SDK for server implementation
Wise API: Real-time and historical exchange rates
Caching: 1-minute TTL cache to reduce API calls
Error Handling: Graceful fallback to cross-rate calculation
Security: API key stored in environment variables, sanitized error logging
Troubleshooting
API Key Issues
Ensure your API key is correctly set in the environment
Check that the API key has the necessary permissions for rate queries
The server will warn if no API key is detected
Connection Issues
Verify the Wise API endpoint is accessible
Check network connectivity
Review error messages in the console output
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexalok/wise-currency-converter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server