# Logistics Stop Productivity Calculator AI Agent Connect

> Logistics Stop Productivity Calculator MCP gives your AI client the ability to crunch last-mile delivery data. It calculates stops per hour, analyzes driver time distribution, and checks if routes were actually finished. Instead of manually calculating efficiency, you just feed your delivery logs to your agent to get instant performance breakdowns.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ejUDiuBU3L5Fl8Dl79DixtrVyTUio13HnVOMoggY/ai-agent-connect
- **Tags:** delivery, last-mile, efficiency, metrics, logistics-optimization

## Description

You can stop manually calculating driver efficiency in spreadsheets. This MCP gives your AI client direct access to the metrics that matter for last-mile logistics. You can feed raw delivery logs or route data to your agent, and it will immediately tell you how many packages were delivered per stop or how much time drivers are spending driving versus servicing customers. It handles the math for core efficiency metrics like failure rates and stops per hour. You can also use it to audit driver performance by checking if they actually completed their planned itineraries or by looking at how heavy certain stops are in terms of package volume. It turns messy delivery data into clear, actionable performance stats.

## Tools

### get_time_distribution_analysis
This tool breaks down how a driver's time is spent. It partitions the data between driving time, service time, and idle time.

### get_delivery_density_stats
This tool analyzes package volume per stop. It helps you see how heavy or light specific stops are in a route.

### get_stop_productivity_metrics
This tool calculates core efficiency numbers for a specific driver or route. It handles the math for stops per hour, packages per stop, and failure rates.

### validate_route_completion
This tool checks if a driver actually finished their planned itinerary. It compares completed stops against the original schedule.

## Prompt Examples

**Prompt:** 
```
Calculate productivity for a route with 50 stops, 60 packages, 45 successful deliveries, 5 failed attempts, 200 minutes of service time, 120 minutes of travel time, and 5 driver hours using the SUCCESS_ONLY convention.
```

**Response:** 
```
The productivity metrics are: 9.0 stops per hour, 1.2 packages per stop, 9.0 packages per hour, 9.52% failure rate, 40.0% travel share, and the route is complete.
```

**Prompt:** 
```
A driver had 20 scheduled stops, completed 18, worked 4 hours, and the planned shift was 4 hours. Was the route complete?
```

**Response:** 
```
No, the route is incomplete. There are 2 remaining stops.
```

**Prompt:** 
```
Analyze the time distribution for 150 minutes of service, 60 minutes of travel, and 30 minutes of idle time.
```

**Response:** 
```
The time distribution is: 65.22% service, 26.09% travel, and 13.04% idle, with a total of 240 active minutes.
```

## Capabilities

### Efficiency Math
Your agent calculates stops per hour and packages per stop automatically.

### Route Auditing
The AI checks if drivers finished their full itineraries.

### Time Partitioning
Your agent splits driver time into driving, service, and idle segments.

### Volume Analysis
The AI determines package density per stop to identify heavy routes.

### Failure Tracking
Your agent calculates failure rates for attempted deliveries.

## Use Cases

### End-of-Shift Audits
Ask your agent to check if a driver's completed stops match their planned route.

### Driver Performance Reviews
Generate efficiency metrics like packages per stop to evaluate driver productivity.

### Route Optimization Planning
Use density stats to see which stops require more time or larger vehicles.

### Labor Cost Analysis
Analyze time distribution to see how much time is wasted on idle or excessive driving.

## Benefits

- Eliminates manual math for stops per hour and failure rates.
- Provides instant verification of completed driver itineraries.
- Breaks down time usage between driving and service tasks.
- Identifies high-volume stops through density statistics.

## How It Works

Connect your client to Vinkius and start querying your logistics data immediately.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your driver or route data to your AI agent.
3. Ask the agent to calculate specific metrics or validate a route.
4. The agent uses the MCP tools to process the data and return results.

## Frequently Asked Questions

**What metrics can this MCP calculate?**
It calculates stops per hour, packages per stop, failure rates, and time distribution between driving and service.

**Can I use this with Claude or Cursor?**
Yes, this MCP works with any MCP-compatible client including Claude, Cursor, and Windsurf.

**How does it handle route completion?**
It uses the validate_route_completion tool to compare the number of completed stops against the planned itinerary.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You just connect your client and it is ready to use.

**Can it analyze driver idle time?**
Yes, the time distribution tool can partition time into service, travel, and idle segments.

**How do I calculate stops per hour?**
You can use the `get_stop_productivity_metrics` tool by providing the total stops and the total driver hours.

**Can I check if a route was completed?**
Yes, use the `validate_route_completion` tool to determine if all scheduled stops were reached and if there was any time overrun.

**What is the difference between the productivity conventions?**
The `SUCCESS_ONLY` convention calculates productivity based only on successful deliveries, while `ALL_STOPS` counts every scheduled stop regardless of the outcome.
