destination
Pack: geodistance · Endpoint: https://gateway.pipeworx.io/geodistance/mcp
Given a start lat/lon, a bearing (degrees) and a distance, compute the destination point. unit = km (default), mi, nmi, m or ft.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat | number | yes | Start latitude (decimal degrees). |
lon | number | yes | Start longitude. |
bearing | number | yes | Initial bearing in degrees (0=N, 90=E). |
distance | number | yes | Distance to travel. |
unit | string | no | Distance unit: km (default), mi, nmi, m, ft. |
Example call
Arguments
{
"lat": 40.7128,
"lon": -74.006,
"bearing": 45,
"distance": 100
}
curl
curl -X POST https://gateway.pipeworx.io/geodistance/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"destination","arguments":{"lat":40.7128,"lon":-74.006,"bearing":45,"distance":100}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('destination', {
"lat": 40.7128,
"lon": -74.006,
"bearing": 45,
"distance": 100
});
More examples
{
"lat": 51.5074,
"lon": -0.1278,
"bearing": 180,
"distance": 50,
"unit": "mi"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"geodistance": {
"url": "https://gateway.pipeworx.io/geodistance/mcp"
}
}
}
See Getting Started for client-specific install steps.