# Heterogeneous Fleet Route Calculator AI Agent Connect

> Heterogeneous Fleet Route Calculator MCP handles the math behind complex vehicle routing problems. Your AI client can now plan routes for fleets with different capacities, speeds, and operational costs while respecting specific vehicle access constraints and driver working hours.

## Overview
- **Category:** transportation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_YjrUzwueELPpN11mC441ZxvUdnn9kqaF3nFI7rzv/ai-agent-connect
- **Tags:** routing, fleet-management, vrp, logistics-optimization, supply-chain

## Description

You can stop manually calculating route assignments for mixed fleets. This MCP gives your AI agent the ability to solve Vehicle Routing Problems (VRP) by factoring in the specific nuances of your hardware. Instead of treating each vehicle the same, your agent can account for varying fuel rates, speed differences, and load capacities. 

When you use this MCP, your agent checks if a specific vehicle is physically allowed to enter a location before assigning a stop. It also monitors resource utilization to make sure you aren't running half-empty trucks or overworking drivers. You can hand off a list of stops and a fleet list to your AI client, and it will return a plan that respects each constraint, from temporal limits to physical access rules. It turns your agent into a logistics coordinator that understands the real-world limitations of your fleet.

## Tools

### calculate_optimal_routes
This tool finds the most efficient way to assign stops to your available vehicles while respecting all constraints.

### evaluate_route_efficiency
Use this to see how well a specific vehicle is actually using its capacity and resources for a set of stops.

### get_vehicle_capability_map
This tool checks if a specific vehicle has the physical permissions or equipment needed to access a stop.

### validate_temporal_constraints
This tool ensures a proposed route sequence stays within the defined working hour limits for a vehicle.

## Prompt Examples

**Prompt:** 
```
Calculate the best routes for these 3 stops and 2 vehicles.
```

**Response:** 
```
The optimal plan assigns Stop A and B to Vehicle 1 (85% utilization) and Stop C to Vehicle 2 (40% utilization). Total cost is $150.00.
```

**Prompt:** 
```
Is a small van capable of servicing a stop that requires 'heavy_duty' equipment?
```

**Response:** 
```
No, the vehicle is missing the required 'heavy_duty' capability.
```

**Prompt:** 
```
Check the efficiency of a route with 50 units of demand and a 100 unit capacity vehicle over 20km at $2/km.
```

**Response:** 
```
The route has a 50% utilization and a total operational cost of $40.00.
```

## Capabilities

### Diverse Fleet Routing
Your agent handles vehicles with different speeds, capacities, and costs.

### Physical Access Validation
Your agent checks if a vehicle is actually permitted to reach a specific location.

### Resource Utilization Tracking
Your agent quantifies how much capacity is being used per route.

### Time Limit Enforcement
The tool prevents your agent from creating routes that exceed driver working hours.

### Cost Optimization
Your agent calculates total operational costs based on distance and energy rates.

## Use Cases

### Mixed Fleet Delivery
Assigning different sized vans and trucks to a list of urban and rural stops.

### Constraint-Based Routing
Ensuring heavy equipment vehicles are only sent to stops that require them.

### Operational Cost Auditing
Calculating the exact cost of a route based on distance and specific energy rates.

### Driver Schedule Compliance
Validating that a sequence of stops won't push a driver past their legal working hours.

## Benefits

- Accounts for different vehicle speeds and fuel costs in each calculation.
- Prevents illegal routes by checking vehicle access capabilities.
- Reduces wasted capacity by evaluating route utilization.
- Ensures compliance with driver working hour limits.

## How It Works

Connect your AI client to Vinkius to start running routing calculations.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your fleet data and stop locations to your AI agent.
3. Your agent uses the MCP tools to calculate or validate routes.
4. Receive optimized assignments and efficiency metrics directly in your chat interface.

## Frequently Asked Questions

**Can this MCP handle different types of vehicles?**
Yes. It is designed for heterogeneous fleets, meaning it accounts for different capacities, speeds, and costs for each vehicle.

**How does it handle vehicle access restrictions?**
The get_vehicle_capability_map tool allows your agent to check if a vehicle is physically permitted to access a specific stop.

**Will it help with driver hours?**
Yes. The validate_temporal_constraints tool ensures that any proposed route stays within the defined working limits.

**What AI clients can I use with this?**
You can use any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Does it calculate the cost of the routes?**
Yes. It can determine operational costs by factoring in distance and specific energy rates.

**How does the server handle different vehicle types?**
The server uses `calculate_optimal_routes` to process heterogeneous fleets, considering unique capacities, speeds, and costs for each vehicle provided in the input.

**Can I check if a truck can enter a specific street?**
Yes, you can use the `get_vehicle_capability_map` tool to verify if a vehicle's capabilities match the specific requirements of a stop.

**How are working hours enforced?**
The `validate_temporal_constraints` tool ensures that the sum of travel times and service times does not exceed the vehicle's maximum working limit.
