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.0.tar.gz (3.1 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.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for mcp_server_currency_history-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1d4bed9ec911e380ca97a63a19f2a8a3735391cfde9019e4be3776912ea0d77
MD5 2cac34b3f52abcf41382c153144be371
BLAKE2b-256 43e2446233d8d2dc8a811a88d78cdf343c1ac630e52a633c0f6aae517fb443a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_server_currency_history-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ce0414e828b3e2742876116257650b64f366609bb111588edd5b1c79014bb8c
MD5 550580fb040f15280943ae56b82b6dc6
BLAKE2b-256 cc0721d110627d23cd9676277fe7ff8a9f76dccec4d86686bb23ce92e075c590

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