• LOGISTICS
  • CAPACITY
  • CONSTRAINTS
  • HUMAN

How to optimize delivery vehicle routes with your AI

Connect OpenRouteService to your AI client to turn a list of stops and vehicle constraints into a logical driving plan.

Ask AI about this page

Short answer

How can I use AI to plan my delivery routes?

Your AI client takes your list of delivery locations and vehicle limits, then runs a vehicle routing problem calculation to find the best paths. You get a set of optimized routes that respect your cargo limits and time windows.

The outcomes of your optimization.

Where your logistics data lands.

The AI processes your constraints to produce these specific outputs.

LOGISTICS

Optimized route sequences

The AI calculates the exact order of stops for every driver. You get a clear path that minimizes travel distance.

CAPACITY

Load-balanced assignments

The tool ensures no vehicle is overloaded. Every job is assigned to a vehicle that can actually carry it.

CONSTRAINTS

Time window adherence

The AI respects specific delivery windows for each stop. It builds the schedule around your required arrival times.

HUMAN

Manual route adjustments

The AI provides the mathematical baseline. You decide if a specific route makes sense for a driver's local knowledge.

The workflow

What your AI does when the data arrives.

The AI handles the heavy math of the vehicle routing problem so you don't have to.

  1. Data ingestion

    Your AI reads your list of delivery points, vehicle capacities, and time constraints from your provided data.

    solve_vrp_optimization
  2. Constraint mapping

    The agent maps job requirements, like package weight or volume, against the specific limits of each vehicle in your fleet.

    solve_vrp_optimization
  3. Route calculation

    The AI runs the optimization algorithm to find the most efficient sequence of stops for every vehicle.

    solve_vrp_optimization
  4. Output generation

    The AI presents the final route plans, showing which vehicle takes which stops and in what order.

    solve_vrp_optimization

Try it

Copy these to start.

Use these prompts to trigger the optimization process.

Starting points

Replace the bracketed info with your actual data from your spreadsheet or text file.

OpenRouteService Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_PSUHMhycOvqpomQ4KyrnDt17AfCQwXu8mm8OMYhJ/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — OpenRouteService capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "openrouteservice-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_PSUHMhycOvqpomQ4KyrnDt17AfCQwXu8mm8OMYhJ/mcp"
    }
  }
}
Copy into chat04
  • Solve the VRP for these stops: [paste list of addresses] using these vehicles: [paste vehicle capacities].

  • Optimize my delivery routes from this CSV: [paste data] while respecting these time windows: [paste windows].

  • Assign these 15 jobs to my 3 vans based on the capacity limits in this list: [paste list].

  • Create an optimized route plan for my drivers using the following job requirements: [paste requirements].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect OpenRouteService once, then ask.

Just link the MCP to your preferred client. Your credentials stay encrypted, and you can start running optimizations immediately.

Connect OpenRouteService to your AI

FAQ

How the routing task behaves

  • 01

    Can the AI drive the vehicles?

    No. The AI only calculates the mathematical route. The actual driving is done by your human drivers.

  • 02

    Will the AI change my original data?

    No. The AI reads your job and vehicle data to perform calculations, but it does not modify your source files or databases.

  • 03

    Can I add new stops after the route is planned?

    The AI can only optimize the data you provide in the prompt. To add stops, you must provide a new list for a new optimization run.

  • 04

    Does it account for traffic?

    The optimization is based on the routing data provided by the OpenRouteService engine.

  • 05

    Can the AI handle weight limits?

    Yes, as long as you include the weight or volume capacity for each vehicle in your prompt.

  • More questions about OpenRouteService? See everything the OpenRouteService Connector can do

Connect OpenRouteService to Claude, Cursor, ChatGPT & more