Haversine Distance Engine

Haversine Distance Engine MCP Connector for Claude

A+

Calculate precise geographic distances between GPS coordinates instantly. Uses the Haversine formula for exact spherical routing.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

LLMs lack spatial and geometric reasoning. If an AI agent attempts to calculate the distance between two GPS coordinates, it often returns a hallucinated straight-line guess that ignores the Earth's spherical shape. This MCP solves that by bringing mathematical geometric precision to the edge.

The Superpowers

  • Haversine Math: Executes the complex spherical trigonometry formula instantly to calculate the exact distance over the Earth's surface.
  • Multi-Unit Precision: Native support for Kilometers, Miles, Meters, and Nautical Miles without manual float conversions.
geospatialspherical-trigonometrydistance-calculationgps-datamathematics

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

calculate_distance

Pass latitude and longitude for both points. The engine uses the Haversine formula to return the distance in kilometers and miles. Calculates the exact geographic distance between two GPS coordinates using the mathematical Haversine formula

See how to talk to your AI agent using Haversine Distance Engine.

Calculate the exact geographic distance in kilometers between London (51.5074, -0.1278) and Paris (48.8566, 2.3522).

✅ **Calculation Complete:** The exact Haversine distance is `343.46` km.

What is the distance in miles from the warehouse (-23.5505, -46.6333) to the delivery address (-22.9068, -43.1729)?

✅ **Result:** The spherical distance is `223.32` miles.

Convert the distance between these coordinates into exact meters for a micro-mobility agent.

✅ **Geo Metrics:** The coordinates are exactly `1,250.45` meters apart.

No, it calculates the 'as-the-crow-flies' spherical distance.

Related Connectors