Back to Home
anirbanbasu icon

frankfurtermcp

Verified Safe

by anirbanbasu

Overview

Provides currency exchange rates and conversion functionalities from the Frankfurter API for language model agents.

Installation

Run Command
docker run -it --rm -p 8000:8000/tcp --env-file .env.template --expose 8000 frankfurtermcp

Environment Variables

  • LOG_LEVEL
  • FASTMCP_HOST
  • FASTMCP_PORT
  • MCP_SERVER_TRANSPORT
  • MCP_SERVER_INCLUDE_METADATA_IN_RESPONSE
  • FRANKFURTER_API_URL
  • HTTPX_TIMEOUT
  • HTTPX_VERIFY_SSL
  • LRU_CACHE_MAX_SIZE
  • TTL_CACHE_MAX_SIZE
  • TTL_CACHE_TTL_SECONDS
  • SSL_CERT_FILE
  • SSL_CERT_DIR

Security Notes

The server uses `httpx` for external API calls, with SSL verification enabled by default (`HTTPX_VERIFY_SSL=True`), which is good practice. Environment variables are used for configuration, preventing hardcoded secrets. Error handling for API requests is present, converting `httpx.RequestError` to `ValueError`. The use of `CORSMiddleware` with `allow_origins=["*"]` is noted as a potential security concern for general web applications, but for an MCP server designed for broad client access and exposing non-sensitive public data, it's often a pragmatic choice. No `eval` or obviously dangerous patterns are observed.

Similar Servers

Stats

Interest Score35
Security Score9
Cost ClassLow
Avg Tokens200
Stars5
Forks10
Last Update2025-12-02

Tags

financialcurrencyexchange ratesAPIMCP server