A Model Context Protocol (MCP) server for currency conversion using the Frankfurter API
Project description
Currency MCP Server
A Model Context Protocol (MCP) server for currency conversion using the reliable Frankfurter API.
Features
- Real-time Exchange Rates: Get current exchange rates for 31+ currencies
- Historical Data: Convert currencies using historical rates
- MCP Integration: Seamlessly integrates with MCP-compatible AI tools
- No API Keys Required: Free and reliable service
- Async Support: Built with modern async Python
Installation
pip install currency-mcp
Quick Start
from currency_mcp_server import mcp
# The server is now ready to handle MCP requests
# Use with any MCP-compatible client
Available Tools
list_currencies
Lists all supported currencies with descriptions.
convert_currency
Converts amounts between currencies with support for:
- Current exchange rates
- Historical rates (with date parameter)
- Input validation
- Error handling
Development
# Clone the repository
git clone https://github.com/yourusername/currency-mcp.git
cd currency-mcp
# Install dependencies
uv sync
# Run tests
python tests/client.py
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file currency_mcp-0.2.0.tar.gz.
File metadata
- Download URL: currency_mcp-0.2.0.tar.gz
- Upload date:
- Size: 74.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0def9395e69a408d922ebfbb26f250d3bb805862c6de80b039a80da02fc4acf8
|
|
| MD5 |
d98b3dcd4292dbe72e4e960e06239d4d
|
|
| BLAKE2b-256 |
7e512d26e509f25f479d34959a0ef793d2e32932818d6b5d6d89cd68ee272822
|
File details
Details for the file currency_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: currency_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 89.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbc11387ae0a3be8a04168686559c7d5c97aeccf1b492bfae027f2cab975771e
|
|
| MD5 |
2faeaab58ef9ab773846d67fd1cad78f
|
|
| BLAKE2b-256 |
02e6dbb390a2dc67cbbaf5a5771955b432a2f85adf8270b56155059eaa7a6276
|