# Backhaul Insertion Calculator AI Agent Connect

> Backhaul Insertion Calculator MCP helps logistics providers find the best spots to add return loads into current delivery routes. It checks capacity, time windows, and detour limits to ensure each new load makes sense for your fleet. Your AI client can use these tools to turn empty return legs into profitable trips without breaking your existing schedule.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_0x6u8aI4zXmlEXsFzAlx8SS40BJsiWguLl2PLqVt/ai-agent-connect
- **Tags:** backhaul, route-optimization, logistics, vehicle-utilization, supply-chain

## Description

You can stop guessing where a new pickup might fit into your schedule. This MCP acts as an optimization engine for your fleet, specifically designed to handle backhaul loads. Instead of manually checking each stop, you can ask your AI client to evaluate a new load against your active routes. It looks at the math for you, checking if a new pickup fits within your vehicle's weight and volume limits or if it pushes a driver past their scheduled time window. 

It works by analyzing the marginal cost and physical constraints of each potential insertion point. You can use it to find the single most efficient spot for a load or check if a specific pickup is even possible given your current detour limits. By identifying these valid entry points, you reduce empty miles and keep your vehicles moving with purpose. It's a direct way to squeeze more utility out of the assets you already have on the road.

## Tools

### analyze_insertion_feasibility
This tool checks if a specific backhaul load can actually fit into a single existing route. It identifies all valid entry points that respect your current constraints.

### calculate_load_profile
Use this to see exactly how much weight and volume your vehicle is carrying at each stop. It provides a detailed view of utilization throughout the entire sequence.

### find_optimal_backhaul_insertion
This tool scans through all possible insertion points to pick the single most efficient one. It's the fastest way to find the best spot for a new load.

### validate_route_constraints
This is a utility for checking if a proposed sequence of stops breaks any physical or time-based rules. It ensures your plan is actually doable.

## Prompt Examples

**Prompt:** 
```
Find the best place to insert a 500kg backhaul load into my current route.
```

**Response:** 
```
The best insertion point is at position index 3, which adds 12.5km to the route and maintains all time windows.
```

**Prompt:** 
```
Is it possible to add this pickup to my route without exceeding the 50km detour limit?
```

**Response:** 
```
Yes, the proposed insertion adds only 34.2km, which is within your 50km limit.
```

**Prompt:** 
```
Show me the load profile for this route sequence.
```

**Response:** 
```
The vehicle utilization starts at 85% at stop 1, decreases to 40% after the second delivery, and increases to 75% after the backhaul pickup.
```

## Capabilities

### Route Optimization
Your agent finds the most efficient way to add return loads to existing paths.

### Capacity Monitoring
Your agent tracks weight and volume utilization at each stop in a sequence.

### Constraint Validation
Your client checks if new stops violate time windows or detour limits.

### Feasibility Analysis
The MCP identifies all valid points where a new load can be inserted into a route.

## Use Cases

### Reducing Deadhead Miles
Find a way to pick up a new customer's freight on the way back from a delivery.

### Capacity Management
Check if a heavy load will exceed the weight limit of a vehicle mid-route.

### Time Window Compliance
Verify that adding a new stop won't make the driver late for existing appointments.

### Route Feasibility Checks
Quickly determine if a requested detour is within the allowed mileage limit.

## Benefits

- Reduces empty miles by finding profitable return loads.
- Prevents route violations by checking time and physical constraints.
- Increases vehicle utilization through detailed load profiling.
- Speeds up decision making by automating insertion point searches.

## How It Works

You connect your AI client to the Vinkius hosted MCP and start running optimization tasks immediately.

1. Connect your AI client to the Vinkius platform.
2. Provide your current route and the new backhaul details to your agent.
3. The MCP runs the math against your capacity and time constraints.
4. Your agent returns the most efficient insertion point or a feasibility report.

## Frequently Asked Questions

**How does this MCP help reduce empty miles?**
It identifies valid points to insert return loads into existing routes, ensuring vehicles aren't traveling empty on their way back.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any MCP-compatible client like Claude, Cursor, or Windsurf.

**Does it check for vehicle weight limits?**
Yes, the calculate_load_profile tool tracks weight and volume utilization at each stop in the sequence.

**Will it tell me if a driver will be late?**
Yes, the tool validates route constraints to ensure new stops don't violate your established time windows.

**Do I need to host this myself?**
No, Vinkius hosts and manages the MCP for you, so it is ready to use as soon as you connect.

**How does the calculator determine the best insertion point?**
The `find_optimal_backhaul_insertion` tool selects the position with the lowest marginal distance increase. If multiple positions result in the same distance, it chooses the one with the lowest added time.

**What constraints are checked during feasibility analysis?**
The engine validates vehicle capacity, time window adherence for all stops, and ensures the detour does not exceed the specified distance or time limits.

**Can I see how much space is left in my vehicle?**
Yes, you can use `calculate_load_profile` to generate a detailed view of weight and volume utilization at each stop in your route.
