# Wine Harvest Logistics Planner AI Agent Connect

> Optimizes vineyard harvest schedules, truck logistics, and winery capacity utilization.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_KIvKug7cJ9tfPczxmdCne1W53GYAGpk320JP75vN/ai-agent-connect
- **Tags:** vineyard, harvest, winery, scheduling, logistics, optimization

## Description

This MCP server provides essential tools for managing the complex orchestration of vineyard harvests. It connects AI agents to winery operations by providing capabilities to `generate_harvest_schedule` based on maturity and facility constraints, `calculate_truck_logistics` to manage transport requirements, `evaluate_crush_pad_utilization` to monitor processing limits, and `optimize_maturity_window` to ensure fruit is picked at peak ripeness.

## Tools

### calculate_truck_logistics
Determines the total number of trips required to move the harvest volume

### evaluate_crush_pad_utilization
Analyzes how close the winery is to its maximum processing limit

### generate_harvest_schedule
Creates a daily plan for which vineyard blocks should be harvested based on maturity and facility capacity

### optimize_maturity_window
Checks if the planned harvest schedule aligns with the predicted sugar accumulation and fruit ripeness

## Prompt Examples

**Prompt:** 
```
Generate a harvest schedule for blocks b1 (50 tons, 2024-09-15) and b2 (30 tons, 2024-09-18) with a crush capacity of 40 tons per day and fermentation capacity of 40 tons per day, allowed on 2024-09-14 and 2024-09-15.
```

**Response:** 
```
The harvest schedule is set for 2024-09-14 (40 tons) and 2024-09-15 (40 tons).
```

**Prompt:** 
```
How many truck trips are needed for 150 tons of grapes if each truck carries 25 tons?
```

**Response:** 
```
6 trips are required to transport 150 tons of grapes.
```

**Prompt:** 
```
Check the crush pad utilization if we schedule 35 tons for day 1 and 45 tons for day 2, with a daily capacity of 50 tons.
```

**Response:** 
```
Day 1 utilization is 70% and Day 2 utilization is 90%. Peak utilization is 90%.
```

## Frequently Asked Questions

**How does the tool handle winery capacity limits?**
The `generate_harvest_schedule` tool ensures that the daily tonnage harvested does not exceed the lower of the crush capacity or the fermentation capacity.

**Can I plan for specific weather windows?**
Yes, you can provide a list of permitted harvest dates to `generate_harvest_schedule` to ensure harvesting only occurs during favorable weather windows.

**How are truck trips calculated?**
The `calculate_truck_logistics` tool takes the total tonnage and the maximum capacity of your trucks to determine the exact number of trips required.
