- VALID
- OUTSIDE
- DATA
- HUMAN
Short answer
Can my AI check if coordinates are within a certain distance?
Yes. Your AI uses the calculate_distance tool to compare latitude and longitude pairs against a target location. You'll get precise distance results for any set of coordinates you provide.
Distance check outcomes
Where your results land
What happens when your agent runs a proximity check.
VALID
Within range
The AI confirms the coordinates fall inside your specified radius. You get a clear pass for the location.
OUTSIDE
Too far away
The AI identifies that the coordinates exceed your distance limit. It flags these points as being out of bounds.
DATA
Distance values
The AI provides the exact distance between the two points. You can use these numbers for further logic or reporting.
HUMAN
Manual review
You decide how to handle the results. The AI identifies the proximity, but you choose which locations to act on.
The workflow
What your AI does when the request arrives.
The AI takes your raw coordinates and turns them into actionable proximity data.
Receive coordinates
Your agent pulls the latitude and longitude pairs from your provided list or dataset.
calculate_distanceCalculate distance
The agent runs the math to find the exact distance between the target and the points.
calculate_distanceCompare to threshold
The AI checks if the calculated distance is less than or greater than your required limit.
calculate_distanceReport findings
The agent summarizes which points are close enough and which are too far.
calculate_distance
Try it
Copy these to start.
Use these prompts to trigger the distance engine.
Starting points
Swap the bracketed info for your actual coordinates and distance limits.
Haversine Engine Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_tzPZKmGdqvHoMb7RXzHw8mFeS5DPXafUK9XDXPVc/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Haversine Engine capabilities are ready to use.
{
"mcpServers": {
"haversine-distance-engine-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_tzPZKmGdqvHoMb7RXzHw8mFeS5DPXafUK9XDXPVc/mcp"
}
}
}Check if the coordinates in this Google Sheet are within 5km of 40.7128, -74.0060.
Using the Haversine Distance Engine, tell me if these three latitude/longitude pairs are within 10 miles of the target location.
Compare the distance between the points in this CSV file and the center of London.
Find all coordinates in my list that are closer than 50 meters to the specified target.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Haversine Distance Engine once, then ask.
One click connects the MCP to your client. Your login credentials stay encrypted and secure on our end.
Connect Haversine Distance Engine to your AIFAQ
How this task behaves
- 01
Can the AI change the coordinates in my file?
No. The AI only reads the coordinates to perform calculations. It cannot modify your original data.
- 02
Does the AI calculate distance in miles or kilometers?
The AI can handle both. You just need to specify which unit you want in your prompt.
- 03
Can the AI automatically delete points that are too far away?
No. The AI only identifies which points are outside the range. You must perform any deletions yourself.
- 04
What happens if I provide invalid coordinates?
The AI will tell you the coordinates are invalid and cannot perform the calculation.
- 05
Can the AI map these points visually?
No. This MCP is for distance calculations only. It does not have tools to generate maps or visual plots.
More questions about Haversine Distance Engine? The Connector page answers them. See everything the Haversine Distance Engine Connector can do
Connect Haversine Engine to Claude, Cursor, ChatGPT & more
