# Logistics Delivery Service Time Calculator AI Agent Connect

> Logistics Delivery Service Time Calculator MCP lets your AI client measure exactly how long delivery stops take. You can use it to calculate service durations, check if your documentation is complete for audits, and compare how different carriers perform at the same locations using real timestamp data.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_KdRtzAenXE8pHEAlPvS2nMjJCsOKVXYpF6GE9pjD/ai-agent-connect
- **Tags:** delivery, logistics, efficiency, timestamps, carrier-tracking

## Description

You can use this MCP to pull hard numbers from your delivery logs. Instead of guessing why a route is running late, you can ask your agent to calculate the exact time spent at a stop or check if a driver missed a required timestamp. It handles the math for service durations and queue times so you don't have to. You can also use it to spot outliers by comparing current stop times against historical percentiles for similar shipments. If you need to evaluate your fleet, the MCP compares how different carriers handle the same locations, giving you a clear look at who is actually moving faster. It's a direct way to turn timestamped events into a clear picture of your supply chain efficiency.

## Tools

### get_delivery_percentiles
Use this to check a current stop's duration against historical performance data for similar types of shipments.

### compare_carrier_efficiency
This tool compares how a specific carrier's service time stacks up against the average performance of other carriers at that same location.

### get_event_completeness
This tool checks if a delivery stop has all the necessary timestamps required for a valid audit.

### get_service_duration
This tool calculates the total time spent at a specific stop based on provided timestamps.

## Prompt Examples

**Prompt:** 
```
What was the total service duration for a vehicle that arrived at 10:00 AM and departed at 10:45 AM?
```

**Response:** 
```
The total service duration was 45 minutes.
```

**Prompt:** 
```
Is this delivery stop fully documented? Arrival: 08:00, Unloading: 08:10, Handoff: 08:20, Departure: 08:30.
```

**Response:** 
```
The delivery stop is fully documented.
```

**Prompt:** 
```
How does a 30-minute stop for a Parcel shipment at Stop_123 compare to historical data?
```

**Response:** 
```
The stop is in the 65th percentile for Parcel shipments at Stop_123.
```

## Capabilities

### Stop Duration Math
Your agent calculates total time spent at a location using arrival and departure timestamps.

### Audit Readiness
The AI checks if all required event timestamps exist for a specific delivery stop.

### Carrier Benchmarking
Your agent compares one carrier's speed against the average for that specific location.

### Historical Comparison
The AI identifies where a current stop falls within historical shipment percentiles.

## Use Cases

### Carrier Performance Reviews
Compare how different carriers perform at the same stop to negotiate better rates or service.

### Audit Compliance
Verify that every delivery stop has a complete set of timestamps for regulatory or internal reviews.

### Bottleneck Identification
Use historical percentiles to see if a specific stop is taking longer than usual.

### Route Optimization
Analyze service durations to better plan future delivery windows.

## Benefits

- Calculates service times directly from raw timestamps.
- Identifies missing data points needed for audits.
- Benchmarks carrier speed against local averages.
- Places current performance within historical context.

## How It Works

You connect your AI client to the Vinkius-hosted MCP to start querying your logistics data.

1. Connect your AI client to the MCP via Vinkius.
2. Provide your agent with delivery timestamps or stop IDs.
3. The agent calls the specific tool needed for the calculation.
4. You receive direct answers about durations, completeness, or efficiency.

## Frequently Asked Questions

**What can this MCP calculate?**
It calculates total service durations, queue times, and carrier efficiency based on your delivery timestamps.

**How does it help with audits?**
It uses the get_event_completeness tool to check if a delivery stop has all the required timestamps for a valid audit.

**Can I compare different carriers?**
Yes, the compare_carrier_efficiency tool lets you see how a carrier's time compares to the average for that location.

**Which AI clients can use this?**
You can use this MCP with any compatible client like Claude, Cursor, or Windsurf.

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

**How do I calculate the total time spent at a stop?**
You can use the `get_service_duration` tool by providing the arrival and departure timestamps along with the time convention used.

**How can I check if all required delivery milestones were recorded?**
Use the `get_event_completeness` tool. It checks for essential timestamps like arrival, unloading, handoff, and departure to ensure a valid audit.

**Can I compare my carrier's performance against others?**
Yes, the `compare_carrier_efficiency` tool allows you to compare the current service time against the average performance of other carriers at the same location.
