A Model Context Protocol (MCP) server for fetching historical currency exchange rates using the Frankfurter API.
Project description
MCP Server Currency History
A Model Context Protocol (MCP) server that provides historical currency exchange rates and currency conversion. Powered by the Frankfurter API, which is free and open-source.
Features
- Get Historical Rates: Fetch exchange rates for a specific date (e.g., "2023-01-01").
- Convert Currency: Convert amounts between currencies using historical rates.
Installation & Usage (with uv)
You can run this MCP server directly using uv without manually installing it everywhere:
# Run directly
uvx mcp-server-currency-history
Or install it as a tool:
uv tool install mcp-server-currency-history
Manual Installation
pip install mcp-server-currency-history
Running the Server
# If installed via pip
mcp-server-currency-history
# Or connect via an MCP client inspector
npx @modelcontextprotocol/inspector uvx mcp-server-currency-history
Tools
-
get_historical_ratedate: YYYY-MM-DDbase: Base currency (default USD)symbols: Target currencies (default CNY, EUR, JPY, GBP)
-
convert_historical_amountamount: Amount to convertfrom_curr: Source currencyto_curr: Target currencydate: YYYY-MM-DD
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 mcp_server_currency_history-0.1.1.tar.gz.
File metadata
- Download URL: mcp_server_currency_history-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32fa05d7f89e77bdb075185363c417314ba0cac24335d50ef43137728fbc10df
|
|
| MD5 |
94feea935c2ad94ff8ab01eb0cd633ca
|
|
| BLAKE2b-256 |
2519a63c985112c7ba811977e313dcc914f6e0a3d528537a149d68b3e47e2cd0
|
File details
Details for the file mcp_server_currency_history-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_server_currency_history-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f24446f8fb21d954e273d52b5435b2451aff068c6040c9786822afd66d7efc5c
|
|
| MD5 |
f897a80da987952eb07378b189eafba7
|
|
| BLAKE2b-256 |
57351df45dc08e0e26de7223eadd283ed36e619bda4ed44b14178c363fcbfbaf
|