- ORDER
- TIME
- DATA
- HUMAN
Short answer
How can I use AI to fix my delivery routes?
Your AI uses Mapbox to calculate the distance and time between every stop in your list. It then runs an optimization algorithm to find the shortest path. You get a specific, ordered list of stops that minimizes driving time.
The results of your optimization
What you get from the AI
Once the AI processes your locations, you get these specific outputs.
ORDER
Optimized stop sequence
The AI reorders your list of addresses. You receive a clean, sequential list that follows the most efficient path.
TIME
Estimated travel durations
The AI calculates the time between each stop. You'll know exactly how long each leg of the trip takes.
DATA
Precise distance metrics
The AI pulls exact road distances for every segment. This gives you a realistic view of the total mileage.
HUMAN
Manual route adjustments
The AI provides the math, but you decide if a specific stop needs to be prioritized for a customer or a time window.
The workflow
What your AI does when the addresses arrive.
The AI handles the heavy math and geospatial lookups so you don't have to.
Map the locations
The AI identifies the coordinates and road distances for every address you provide.
get_distance_matrixSolve the sequence
The AI runs the distance data through an optimization solver to find the best order.
solve_optimizationVerify the path
The AI checks the math to ensure the suggested order actually minimizes the total travel time.
get_distance_matrixPresent the route
The AI delivers the final, ordered list of stops to your chat interface.
solve_optimization
Try it
Copy these to start.
Use these prompts to kick off the optimization process.
Starting points
Replace the bracketed text with your actual data, like a list of addresses from a spreadsheet or a text block.
Mapbox Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_fTy0n36D4L7Wh6xNifvBicHEiOQXR2KxRxltgy1H/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 — Mapbox capabilities are ready to use.
{
"mcpServers": {
"mapbox-maps-geospatial-mcp": {
"url": "https://edge.vinkius.com/vk_preview_fTy0n36D4L7Wh6xNifvBicHEiOQXR2KxRxltgy1H/mcp"
}
}
}Optimize the delivery route for these addresses: [Paste addresses here]
Calculate the travel times and best stop order for my stops in this CSV: [Paste CSV data]
I have 10 stops in downtown Chicago. Use Mapbox to find the most efficient driving sequence.
Find the shortest path for these locations and tell me the total estimated driving time: [Paste locations]
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Mapbox once, then ask.
One click connects Mapbox to your AI client. Your credentials stay encrypted, and you can start routing immediately.
Connect Mapbox to your AIFAQ
How this task behaves
- 01
Can the AI drive the vehicle?
No. The AI only calculates the mathematical route based on Mapbox data.
- 02
Does the AI account for real-time traffic?
The AI uses the distance and time data provided by the Mapbox tools to calculate the most efficient path.
- 03
Can the AI automatically update my GPS?
No. The AI provides the optimized list of stops, but you must manually enter them into your navigation device.
- 04
Will the AI delete my original address list?
No. The AI only reads your data to perform calculations; it does not modify or delete your source files.
- 05
Can I add time windows for specific stops?
The AI optimizes based on the tools available, which focus on distance and travel time for the most efficient sequence.
More questions about Mapbox? The Connector page answers them. See everything the Mapbox Connector can do
Connect Mapbox to Claude, Cursor, ChatGPT & more
