- OPTIMIZED
- CONSTRAINED
- MONITORED
- HUMAN
Short answer
How can I use AI to optimize my vehicle delivery routes?
Your agent sends your fleet data and constraints to GraphHopper to generate optimized paths. It then monitors the progress until the solution is ready. You get routes that respect vehicle limits and delivery windows.
Route optimization outcomes
Where your routes land.
What happens after you provide your fleet data.
OPTIMIZED
Efficient route plans
The AI calculates the best sequence of stops. You receive paths that minimize travel while hitting every window.
CONSTRAINED
Capacity management
The agent ensures no vehicle is overloaded. It maps stops to specific trucks based on their volume limits.
MONITORED
Real-time tracking
Your AI watches the calculation process. It stays active until the routing engine finishes the heavy lifting.
HUMAN
Final route review
The AI provides the data, but you decide if the plan works for your drivers. You make the final call on the generated schedule.
The workflow
What your AI does when the data arrives.
The AI handles the heavy computation so you don't have to manually sequence stops.
Submit constraints
Your agent sends your vehicle capacities, time windows, and stop locations to the routing engine.
submit_vrp_optimizerTrack progress
The AI checks the status of the optimization task to see if the engine has finished the calculation.
poll_vrp_solutionRetrieve results
Once the calculation is complete, the agent pulls the optimized sequence of stops and vehicle assignments.
poll_vrp_solutionVerify constraints
The AI confirms that the resulting routes stay within the capacity and time limits you provided.
poll_vrp_solution
Try it
Copy these to start.
Use these prompts to kick off your routing tasks.
Starting points
Replace the bracketed info with your actual fleet data, such as vehicle volumes or specific delivery windows.
GraphHopper Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_cQUPJxjf4FYe5KOaZuMFakr1XD1twCbw4cSXR3BG/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — GraphHopper capabilities are ready to use.
{
"mcpServers": {
"graphhopper-mcp": {
"url": "https://edge.vinkius.com/vk_preview_cQUPJxjf4FYe5KOaZuMFakr1XD1twCbw4cSXR3BG/mcp"
}
}
}Optimize a route for 5 vehicles with a total capacity of 500kg and these 20 delivery stops: [list stops].
Check the status of my current routing optimization task.
Create a delivery plan for my fleet that respects these specific time windows: [list windows].
Run a new vehicle routing problem using these vehicle capacities: [list capacities].
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect GraphHopper once, then ask.
Just link your account once. Your credentials stay encrypted, and you can start running optimizations immediately in your preferred AI client.
Connect GraphHopper to your AIFAQ
How this task behaves
- 01
Can the AI automatically dispatch drivers once the route is ready?
No. The AI only handles the route optimization and data retrieval. You must send the routes to your drivers yourself.
- 02
Can the AI change my vehicle capacity settings on the fly?
No. The AI can only use the capacity constraints you provide in your prompt to run the optimizer.
- 03
Does the AI handle real-time traffic updates?
The AI uses the data provided to the optimizer, which includes the constraints you submit.
- 04
How does the AI know when the route is finished?
The agent uses a polling tool to check the status of the optimization task until it is complete.
- 05
Can I ask the AI to fix a route that is already running?
No. The AI can only submit new optimization requests or check the status of existing ones.
More questions about GraphHopper? The Connector page answers them. See everything the GraphHopper Connector can do
Connect GraphHopper to Claude, Cursor, ChatGPT & more
