Skip to main content

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

  1. get_historical_rate

    • date: YYYY-MM-DD
    • base: Base currency (default USD)
    • symbols: Target currencies (default CNY, EUR, JPY, GBP)
  2. convert_historical_amount

    • amount: Amount to convert
    • from_curr: Source currency
    • to_curr: Target currency
    • date: YYYY-MM-DD

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_currency_history-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_currency_history-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_currency_history-0.1.1.tar.gz.

File metadata

File hashes

Hashes for mcp_server_currency_history-0.1.1.tar.gz
Algorithm Hash digest
SHA256 32fa05d7f89e77bdb075185363c417314ba0cac24335d50ef43137728fbc10df
MD5 94feea935c2ad94ff8ab01eb0cd633ca
BLAKE2b-256 2519a63c985112c7ba811977e313dcc914f6e0a3d528537a149d68b3e47e2cd0

See more details on using hashes here.

File details

Details for the file mcp_server_currency_history-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_currency_history-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f24446f8fb21d954e273d52b5435b2451aff068c6040c9786822afd66d7efc5c
MD5 f897a80da987952eb07378b189eafba7
BLAKE2b-256 57351df45dc08e0e26de7223eadd283ed36e619bda4ed44b14178c363fcbfbaf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page