MCP servers · GraphHopper · MCP server
Connect Codex CLI to GraphHopper
One line gives Codex CLI your GraphHopper account as tools: 15 endpoints, route, matrix, geocode, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect GraphHopper. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's helper in your Terminal. Paste two lines.
- Ask Codex CLI: whoami. Then: "Route in GraphHopper".
First, paste this in Terminal and press Enter
export ON3_TOKEN="<your 0n token>"
This tells your computer your 0n3 key.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in GraphHopper
Route · The road route between two or more points: miles, time, optional turn-by-turn and geometry2
Route
POST /routeRoute get
GET /routeMatrix · Every-to-every road distances and times for a set of points in one call3
Matrix
POST /matrixMatrix async
POST /matrix/calculateMatrix result
GET /matrix/solution/{jobId}Geocode · A place name to coordinates, and back2
Geocode
GET /geocodeReverse geocode
GET /geocodeIsochrone · The area reachable from a point within a time or distance1
Isochrone
GET /isochroneOptimize · Vehicle routing: which vehicle visits which stops, in what order3
Optimize
POST /vrpOptimize async
POST /vrp/optimizeOptimize result
GET /vrp/solution/{jobId}Cluster · Group customers into territories by road distance3
Cluster
POST /clusterCluster async
POST /cluster/calculateCluster result
GET /cluster/solution/{jobId}All 15 GraphHopper endpoints →
GraphHopper in other AI clients
Claude Code + GraphHopperMCP server + skillClaude (desktop & claude.ai) + GraphHopperconnectorChatGPT + GraphHopperconnector · GPT actionGrok Bot (xAI) + GraphHoppercustom connectorGemini CLI + GraphHopperMCP serverCursor + GraphHopperMCP serverVS Code (Copilot) + GraphHopperMCP serverWindsurf + GraphHopperMCP server
