# Logistics Driver Hours Calculator AI Agent Connect

> Logistics Driver Hours Calculator MCP breaks down route data into specific activity types. Your AI client uses it to calculate on-duty hours, driving time, and productive ratios. It helps you spot regulatory deviations and evaluate how efficiently drivers are spending time at stops.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Bu6ek9NEiUT7H3D8DBiy4ipRBSbG38UsZH29DzBi/ai-agent-connect
- **Tags:** logistics, driver-hours, workload, efficiency, compliance

## Description

You can use this MCP to turn messy route logs into clear operational metrics. Instead of manually calculating hours, you give your agent the raw data and let it handle the math. It splits up total time into driving, loading, waiting, and break periods. This lets you see exactly where time is being lost. You can check if drivers are hitting overtime limits or if they are falling out of regulatory compliance. It also helps you look at stop efficiency to see if non-driving time is eating into your margins. Whether you are auditing a single route or looking for patterns across a fleet, this MCP provides the math to back up your decisions.

## Tools

### check_limit_violations
This tool identifies overtime or regulatory deviations. It flags when a driver exceeds set on-duty or driving time limits.

### calculate_route_workload
This tool summarizes total workload. It calculates on-duty hours and productive ratios from route data.

### verify_route_completeness
This tool ensures all route segments are accounted for. It checks that no part of the route data is missing.

### analyze_stop_efficiency
This tool evaluates non-driving time. It measures how much time is spent at stops compared to driving time.

## Prompt Examples

**Prompt:** 
```
Calculate the workload for a route with 8 hours total duration, 5 hours driving, 1 hour loading, 1 hour stops, 0.5 hours waiting, and 0.5 hours breaks.
```

**Response:** 
```
The total on-duty hours are 8.0, with 5.0 driving hours and a productive ratio of 0.625.
```

**Prompt:** 
```
Check if a driver with 10 on-duty hours and 6 driving hours has violated a limit of 9 on-duty hours and 5 driving hours.
```

**Response:** 
```
The driver has 1.0 hour of overtime and has triggered both an on-duty violation and a driving violation.
```

**Prompt:** 
```
Analyze stop efficiency for 4 hours driving, 1 hour loading, and 1 hour at stops.
```

**Response:** 
```
The load-time ratio is 0.25 and the stop-time ratio is 0.25.
```

## Capabilities

### Workload Summarization
Your agent uses this to get a high level view of total driver hours and productivity.

### Compliance Auditing
Your agent runs this to find drivers who have exceeded legal or company time limits.

### Efficiency Analysis
Your agent uses this to compare time spent driving against time spent at stops or loading.

### Data Integrity Checks
Your agent performs this to confirm that every segment of a route is present in the logs.

## Use Cases

### Regulatory Compliance
Check if a driver's recent shift violates hours-of-service rules.

### Operational Auditing
Verify that all segments of a long-haul route are recorded in the system.

### Profitability Analysis
Compare driving time to stop time to see where efficiency is dropping.

### Driver Performance
Summarize total workload to balance driver assignments.

## Benefits

- Automates the math for on-duty and driving hour calculations.
- Flags regulatory violations immediately based on custom limits.
- Identifies time loss during non-driving activities like loading and stops.
- Validates that route data is complete and hasn't missed segments.

## How It Works

You connect the MCP to your client and then feed it your route data.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your driver or route data to your AI agent.
3. Ask the agent to calculate workload or check for violations.
4. Review the calculated ratios and compliance flags.

## Frequently Asked Questions

**What can this MCP do with my route data?**
It breaks down route data into driving, loading, waiting, and break periods to calculate total workload and productivity.

**Can I use this to find overtime?**
Yes. You can use the check_limit_violations tool to identify when a driver has exceeded specific on-duty or driving limits.

**Which AI clients work with this MCP?**
This MCP works with any compatible client including Claude, Cursor, Windsurf, and VS Code.

**How does it measure efficiency?**
It uses the analyze_stop_efficiency tool to compare the time spent at stops and during loading against total driving time.

**Do I need to host this myself?**
No. Vinkius hosts and manages the MCP for you. You just connect your client and start using the tools.

**How does this tool calculate on-duty hours?**
The `calculate_route_workload` tool calculates on-duty hours by summing driving time, loading/unloading, stop time, waiting time, and break time.

**Can I check for overtime violations?**
Yes, you can use `check_limit_violations` to compare calculated hours against your specific `maxOnDutyLimit` and `maxDrivingLimit` to identify overtime.

**Does this tool certify regulatory compliance?**
No, this tool identifies deviations from user-provided limits but does not provide official regulatory certification.
