Unit & FX Calculator

Unit & FX Calculator MCP Connector for Claude

A+

Stop LLMs from mixing metric and imperial units or hallucinating exchange rates. Deterministic physical unit conversion and live currency rates.

3 tools Official Updated Jun 28, 2026 Official Vinkius Partner

LLMs notoriously struggle with complex compound conversions (e.g. converting km/h to mph with specific decimal rounding). Worse, they hallucinate foreign exchange (FX) rates based on their historical training data rather than current markets. This MCP bridges that gap.

The Superpowers

  • Physical Determinism: Converts length, mass, volume, temperature, and speed using the exact mathematical engine of mathjs. Completely eliminates metric/imperial hallucination.
  • Live FX Rates: Uses the Frankfurter API to fetch the latest European Central Bank reference rates for absolutely precise currency conversion.
  • In-Memory Edge Cache: FX rates are cached in a native V8 Map for 1 hour, meaning massive batch conversions run instantly without getting rate-limited.
currency-exchangefx-ratesunit-conversionfinancial-datareal-time-rates

3 tools expose this connector's capabilities to your AI agent.

batch_convert

). Pass the value, source unit, and target unit for exact mathematical conversion. Converts multiple physical units in a single deterministic pass

convert_unit

Deterministically converts physical units (e.g. km/h to mph, celsius to fahrenheit)using mathjs

get_rate

Gets the exact foreign exchange rate between two currencies using Frankfurter API (1h cache)

See how to talk to your AI agent using Unit & FX Calculator.

Convert 120 km/h into miles per hour (mph) and round strictly to 2 decimals.

✅ **Converted Unit:** `74.56 mph`

Fetch the live exchange rate to convert `USD` to `BRL`.

✅ **Live FX Rate:** `5.21` (Fetched from European Central Bank, cached locally).

Batch convert this array of 5 temperatures from Celsius to Fahrenheit deterministically.

✅ **Batch Completed:** Processed 5 units instantly with 0 loss in float precision.

Rates are fetched live and cached for exactly 1 hour.

Related Connectors