# Logistics Lead Time Promise Calculator AI Agent Connect

> Logistics Lead Time Promise Calculator MCP handles the complex math of supply chain scheduling. It aggregates processing times, supplier delays, transport, and customs clearance while automatically adjusting for weekends and holidays. Your AI client uses this to provide reliable delivery promises based on actual calendar availability.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_0qPJ6TurRZlmZV1fAH65vxZo1d8X1IYoawtkZIZT/ai-agent-connect
- **Tags:** logistics, lead-time, supply-chain, delivery-prediction, calendar-math

## Description

Planning delivery windows shouldn't be a guessing game. This MCP acts as a precision engine for your logistics planning. Instead of manually calculating dates, you let your AI client handle the heavy lifting of aggregating internal processing, supplier lead times, transport durations, and customs clearance. It doesn't just add up days; it accounts for the reality of weekends and holidays that often throw off manual estimates. You can use it to run sensitivity tests to see how a single delay impacts your entire schedule or to check if a proposed timeline is actually feasible. It's built to turn raw logistics data into reliable, actionable delivery promises.

## Tools

### get_component_impact
Use this to see exactly how a change in one specific part of the lead time affects your final delivery date.

### summarize_lead_time_risk
This tool provides a high-level assessment of how reliable your current delivery promise actually is.

### validate_logistics_schedule
This tool checks if a specific logistics schedule works when you factor in holidays and weekends.

### calculate_promised_delivery
This tool generates a complete breakdown of lead time components and the final promised delivery date.

## Prompt Examples

**Prompt:** 
```
Calculate the promised delivery date for an order placed on 2024-05-01 with 5 days processing, 2 days queue, 10 days supplier lead time, 5 days transport, 2 days customs, a 3 day buffer, and holidays on 2024-05-10.
```

**Response:** 
```
The promised delivery date is 2024-05-23. The breakdown includes 5 days processing, 2 days queue, 10 days supplier lead time, 5 days transport, and 2 days customs, with a total buffer of 3 days.
```

**Prompt:** 
```
Is a 10-day logistics duration feasible starting on 2024-12-20 with holidays on 2024-12-25 and 2024-12-26?
```

**Response:** 
```
Yes, the schedule is feasible within the provided constraints.
```

**Prompt:** 
```
What is the risk level for a delivery promised on 2024-06-01 with an order date of 2024-05-15 and a 2-day buffer?
```

**Response:** 
```
The risk level is Medium. The buffer coverage ratio is low relative to the total lead time, suggesting you might want to increase the buffer.
```

## Capabilities

### Lead Time Aggregation
Your agent combines processing, supplier, transport, and customs data into one timeline.

### Calendar Awareness
The MCP automatically skips weekends and holidays during calculations.

### Sensitivity Analysis
Your AI client determines how much a single delay shifts the final delivery date.

### Feasibility Checking
The tool validates if a proposed schedule is possible given specific calendar constraints.

### Risk Assessment
Your agent evaluates the reliability of a promised date based on current buffers.

## Use Cases

### Customer Delivery Promises
Generate an accurate delivery date for a customer order by inputting all transit and processing steps.

### Buffer Optimization
Determine if your current buffer is sufficient to cover potential delays in the supply chain.

### Schedule Validation
Check if a planned shipping route is actually possible during holiday seasons.

### Supplier Delay Impact
Calculate how much a late shipment from a supplier will push back the final arrival date.

## Benefits

- Accounts for holidays and weekends automatically.
- Provides a full breakdown of every lead time component.
- Identifies how specific delays impact the final delivery date.
- Assesses delivery reliability through risk summaries.

## How It Works

Connect the MCP to your AI client to start running logistics calculations immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your logistics data or constraints to your AI agent.
3. The agent uses the MCP tools to process the math and calendar constraints.
4. Receive a detailed breakdown or a single promised date as the result.

## Frequently Asked Questions

**How does this MCP handle holidays?**
The MCP accounts for specific holidays and weekends when calculating the final promised delivery date to ensure accuracy.

**Can I see the breakdown of the lead time?**
Yes, the calculate_promised_delivery tool provides a full breakdown of all individual components like processing, transport, and customs.

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

**How do I know if my delivery promise is risky?**
You can use the summarize_lead_time_risk tool to get a high-level assessment of your delivery reliability.

**Can I test how a delay affects my schedule?**
Yes, the get_component_impact tool lets you see how a change in one specific component affects the final date.

**How does the tool handle weekends and holidays?**
The engine automatically skips weekends and any dates provided in the holiday list when calculating the promised date using `calculate_promised_delivery`.

**Can I see how changing one component affects the final date?**
Yes, you can use the `get_component_impact` tool to determine how a change in a specific component, like transport time, shifts the final promised date.

**Does this tool guarantee the delivery date?**
No, the tool provides an estimate based on the provided parameters and service buffers to help you set a safe promise.
