Currency History MCP
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 currency-history-mcp
Or install it as a tool:
uv tool install currency-history-mcp
Manual Installation
pip install currency-history-mcp
Running the Server
# If installed via pip
currency-history-mcp
# Or connect via an MCP client inspector
npx @modelcontextprotocol/inspector uvx currency-history-mcp
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
Metadata
Release files for currency-history-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| currency_history_mcp-0.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| currency_history_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / currency_history_mcp-0.1.0.tar.gz
| Download URL | currency_history_mcp-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96ac0c6131ee6c811d7818004b1ffb00282e3fd4e339069c4d3ff8d9fcda5337
|
|
BLAKE2b-256 checksum How to use checksums |
cb5bba281a597c06bcfe1cd83b00284268691cf38ef1c5c17427019e9752459c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / currency_history_mcp-0.1.0-py3-none-any.whl
| Download URL | currency_history_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b741f4ce4a5a359c62f2009d0aa04e644c14320db5b410af351f7f68ac03282
|
|
BLAKE2b-256 checksum How to use checksums |
12e78c5009f7b8053c653dda36763b19bbacd0de62c6c8e655bd7fd428be9e04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|