routing
Pack: geoapify · Endpoint: https://gateway.pipeworx.io/geoapify/mcp
Routing / directions: compute the distance and travel time between two points for a given travel mode (drive, walk, bicycle, transit). Returns distance in meters and time in seconds. Example: routing({ from_lat: 48.8584, from_lon: 2.2945, to_lat: 48.8606, to_lon: 2.3376, mode: “drive” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from_lat | number | yes | Latitude of the origin point |
from_lon | number | yes | Longitude of the origin point |
to_lat | number | yes | Latitude of the destination point |
to_lon | number | yes | Longitude of the destination point |
mode | string | no | Travel mode: ‘drive’, ‘walk’, ‘bicycle’, or ‘transit’ (default ‘drive’) |
_apiKey | string | no | Optional — your own Geoapify API key for higher limits; omit to use the shared Pipeworx key. |
Example call
curl -X POST https://gateway.pipeworx.io/geoapify/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"routing","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"geoapify": {
"url": "https://gateway.pipeworx.io/geoapify/mcp"
}
}
}
See Getting Started for client-specific install steps.