How to Use the Haversine Distance Engine MCP in Windsurf
Calculate coordinates in Windsurf without leaving your editor. Get precise distances for your logistics logic instantly.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Haversine Distance Engine MCP to Windsurf
Create your Vinkius account to connect Haversine Distance Engine to Windsurf and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
GPS distance math for Windsurf
The `calculate_distance` tool handles the heavy lifting of spherical geometry. You just pass the coordinates, and your agent gets the distance in miles or kilometers immediately. Windsurf uses this data to plan routes or verify locations within your project files. It removes the need to write custom math functions for every new feature.
Real-time coordinate processing
Feed raw GPS data from your backend into the `calculate_distance` tool directly through the chat interface. Cascade interprets these inputs to build out your routing logic. This MCP server keeps your codebase clean by isolating geo-calculations from your business logic. You get accurate results without cluttering your repository.
Automated geo-routing logic
Let your agent chain `calculate_distance` into larger workflows like order dispatching or asset tracking. It performs the math as part of a larger plan. Precision matters when you're moving goods across a map. Using this tool ensures your agent relies on a consistent formula rather than guessing at distances.
Set up Haversine Distance Engine MCP in Windsurf
Prerequisites
- Windsurf IDE installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Click the Cascade assistant icon in the sidebar, then click the hammer icon (🔨) at the top of the panel. Select "Configure" to open
~/.codeium/windsurf/mcp_config.json. - 2
Add the Haversine Distance Engine MCP
Paste the JSON snippet shown on the right into the
mcpServersobject. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Refresh MCPs
Go back to the hammer icon (🔨) in Cascade and click "Refresh". Windsurf will detect the new server. No full restart is needed — the connection is hot-reloaded.
- 4
Verify in Cascade
Start a new Cascade conversation and ask something like "Show my Haversine Distance Engine payment history." If connected, Cascade will call the Haversine Distance Engine tools directly. You will see a green dot next to the server name in the MCP panel.
{
"mcpServers": {
"haversine-distance-engine-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Haversine Engine. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Haversine Distance Engine MCP in Windsurf
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Haversine Distance Engine MCP today
We host it, we monitor it, we maintain it. You just paste one token.