Geodistance logo

Geodistance

Calculates geographic distances, bearings, destination points, and coordinate conversions through MCP.

Install Geodistance

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "geodistance": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-geodistance"
      ],
      "env": {
        "PIPEWORX_API_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_META_TOOLS": "YOUR_VALUE_HERE",
        "NODE_USE_ENV_PROXY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 4 tools correctly ().

Overview

Geodistance provides MCP tools for geographic coordinate math through the Pipeworx gateway. It calculates haversine distances and initial bearings, projects destination points from a bearing and distance, and converts between decimal and DMS coordinate formats. Use it for coordinate calculations without adding a mapping or geocoding service. It supports hosted MCP connections, a local npm stdio bridge, and direct HTTP tool calls.

Use cases

  • Measure great-circle distance between two coordinates
  • Calculate a destination point from a bearing and distance
  • Convert DMS coordinates into decimal degrees
  • Format decimal coordinates as DMS strings

Key features

  • Haversine distance calculations
  • Initial compass bearing output
  • Destination-point calculations with multiple units
  • DMS and decimal coordinate conversion
  • Hosted MCP, stdio, and HTTP access

Tools4

What Geodistance lets your agent do. Expand a tool for its parameters.

Verified live~526 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 83d

What it can do

From the 4 tools this server returned when we ran it; 4 declare their own safety hints.

Makes network requests · 4Read-only tools · 4
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age128 days
Maintainers1

Observed 2026-11-06 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-geodistance (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads556Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Geodistance works

What Geodistance does

Geodistance exposes four geographic calculation tools through MCP:

  • distance measures the great-circle distance between two latitude/longitude points and returns values in kilometers, miles, nautical miles, meters, and feet. It also returns the initial compass bearing from the first point to the second.
  • destination calculates a new latitude/longitude position from a starting point, a bearing in degrees, and a distance. The distance unit can be kilometers, miles, nautical miles, meters, or feet.
  • dms_to_decimal converts a coordinate written in degrees, minutes, and seconds into decimal degrees. It accepts symbols such as degree, prime, and double-prime marks, space-separated values, and signed decimal input.
  • decimal_to_dms formats decimal latitude or longitude values as degrees-minutes-seconds strings.

These capabilities fit coordinate comparison, navigation calculations, and data-format conversion tasks. They perform geographic math rather than place lookup, geocoding, routing, or map retrieval.

How it works

The hosted MCP endpoint is available at https://gateway.pipeworx.io/geodistance/mcp. An MCP client connects to that URL and discovers the Geodistance tools during initialization. The endpoint also exposes shared Pipeworx gateway tools, including routing and discovery tools; the exact set returned by tools/list can change. The full gateway endpoint, https://gateway.pipeworx.io/mcp, exposes the broader catalog directly.

Tool calls can also be sent over HTTP. For example, the distance operation is available at POST https://gateway.pipeworx.io/v1/tools/distance with a JSON request containing lat1, lon1, lat2, and lon2. Tool inspection and discovery are available through the gateway's HTTP endpoints.

Setup and configuration

For a hosted connection, add the Geodistance MCP URL to an MCP client configuration. Claude Desktop, Cursor, and Windsurf are shown as compatible client examples.

A local stdio option is available through the @pipeworx/mcp-geodistance npm package. Configure the client to run npx -y @pipeworx/mcp-geodistance; the bridge forwards requests to the hosted Pipeworx endpoint, so it still needs network access and has no offline mode.

Anonymous calls are supported, with a limit of 50 calls per day. Setting PIPEWORX_API_KEY enables an account-backed allowance of 200 calls per day after obtaining a free Pipeworx account. The key is transmitted as a Bearer token, and calls are metered and billed in the same way as hosted connections.

The npm bridge lists the Geodistance tools by default. Set PIPEWORX_META_TOOLS=1 to include the shared gateway tools as well. When using an HTTPS proxy, NODE_USE_ENV_PROXY=1 may be needed for newer Node.js releases to make the built-in fetch honor proxy environment settings.

Tools and capabilities

distance accepts two latitude/longitude pairs and reports multiple unit conversions together with the starting bearing. destination accepts a start point, a degree bearing, a numeric distance, and an optional unit, defaulting to kilometers. The conversion tools handle common DMS notation and decimal values, allowing agents to normalize coordinates before or after other calculations.

The gateway also provides ask_pipeworx, which can select a suitable tool from a plain-language question when the shared meta-tools are enabled or when using the full gateway. This is separate from the four Geodistance calculation tools.

Limitations and notes

Geodistance requires network access when used through the hosted endpoint or npm bridge. Anonymous usage is capped at 50 calls per day, while the account-backed allowance is 200 calls per day. A scoped pack endpoint includes shared Pipeworx meta-tools in addition to the pack tools, so its discovered tool count is larger than the four calculations listed here. The service is intended for coordinate math and formatting, not for live geographic data or route planning.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Geodistance

Geodistance is an MCP server that connects AI clients to the Pipeworx gateway for geographic coordinate calculations. Its main tools measure great-circle distance and bearing, calculate destination points, parse DMS coordinates into decimal degrees, and convert decimal coordinates back to DMS notation.

Add the hosted MCP URL to your client, or run the local bridge with `npx -y @pipeworx/mcp-geodistance`. The npm bridge forwards calls to Pipeworx and therefore requires network access.

Yes, Cursor is listed as an MCP client example for Geodistance. Configure it with `https://gateway.pipeworx.io/geodistance/mcp`, or use the npm stdio bridge.

Call the `distance` tool with two latitude/longitude pairs. It returns great-circle distance in kilometers, miles, nautical miles, meters, and feet, along with the initial compass bearing.

Set `PIPEWORX_API_KEY` in the npm bridge configuration. The key is sent as a Bearer token and raises the anonymous daily allowance from 50 calls to 200 calls after creating a free Pipeworx account.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGeodistance AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/geodistance?style=directory)](https://allmcps.com/mcp/geodistance)
HTML Embed
<a href="https://allmcps.com/mcp/geodistance"><img src="https://allmcps.com/api/badge/geodistance?style=directory" alt="Geodistance on AllMCPs" /></a>