• OPTIMIZED
  • BALANCED
  • VALIDATED
  • HUMAN

How to optimize delivery routes with your AI

Connect OpenRouteService to your AI client to handle the math of vehicle routing. Once connected, your agent manages the constraints of your fleet and your stops.

Ask AI about this page

Short answer

How can I use AI to plan my delivery routes?

Your AI uses the solve_vrp_optimization tool to calculate the best paths for your vehicles. It balances your specific job requirements against what each vehicle can carry to find the most efficient sequence of stops.

Route optimization outcomes

Where your routes land.

What happens when your agent runs a routing task.

OPTIMIZED

Efficient pathing

The AI calculates the shortest or fastest sequence of stops. You get a logical order that minimizes travel time.

BALANCED

Capacity matching

The agent assigns jobs to vehicles based on their weight or volume limits. This prevents overloading any single driver.

VALIDATED

Constraint checking

The tool ensures every job requirement is met. It checks that time windows and vehicle types align with the requested stops.

HUMAN

Final review

The AI presents the calculated route for your approval. You decide if the suggested sequence works for your real-world driver conditions.

The workflow

What your AI does when the data arrives.

The AI handles the heavy lifting of the Vehicle Routing Problem (VRP).

  1. Analyze constraints

    Your agent reads your list of stops and vehicle specs. It identifies the capacity limits and specific job needs for each location.

    solve_vrp_optimization
  2. Calculate routes

    The AI runs the optimization math to find the best way to visit every stop. It looks for the best balance of distance and load.

    solve_vrp_optimization
  3. Verify capacity

    The agent checks that no vehicle is assigned more than it can carry. It ensures the job requirements fit the vehicle profiles.

    solve_vrp_optimization
  4. Present results

    The AI outputs the final sequence of stops and vehicle assignments. You receive a clear plan ready for your drivers.

    solve_vrp_optimization

Try it

Copy these to start.

Use these prompts to trigger the routing logic.

Starting points

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

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
  • Optimize these delivery stops from my Google Sheet: [paste stop data here].

  • Calculate the best route for 3 vans with a 500kg capacity each using these jobs: [paste job list].

  • Solve this VRP problem: I have 5 stops and 2 vehicles. Here are the coordinates and capacities: [paste data].

  • Re-route my current delivery list from this text file to minimize total distance: [paste text].

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

Start here

Connect OpenRouteService once, then ask.

One click connects the MCP to your client. Your credentials stay encrypted, and you can start prompting immediately.

Connect OpenRouteService to your AI

FAQ

How this task behaves

  • 01

    Can the AI automatically send the routes to my drivers?

    No. The AI calculates the routes and presents them to you, but you must handle the actual dispatching to your drivers.

  • 02

    Does the AI know my real-time traffic conditions?

    The AI uses the data provided through the optimization tool. It does not have a live feed of traffic unless that data is included in your request.

  • 03

    Can I change the vehicle capacity after the route is made?

    Yes. You can ask the AI to re-run the optimization with updated vehicle capacities or different job requirements.

  • 04

    Will the AI delete my existing route data?

    No. The AI only reads the data you provide to perform calculations. It cannot modify or delete your source files.

  • 05

    Can the AI handle more than one vehicle at a time?

    Yes. The tool is specifically designed to solve problems involving multiple vehicles with different capacities.

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

Connect OpenRouteService to Claude, Cursor, ChatGPT & more