# Wine Storage Rotation System AI Agent Connect

> Manage wine inventory freshness using FIFO/FEFO rotation logic and aging models.

## Overview
- **Category:** inventory-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_wa1x2U09C55tDQTI99fPz8Z3WImGtHkWlTcbdVEr/ai-agent-connect
- **Tags:** wine, inventory, fifo, fefo, aging

## Description

This MCP server provides advanced inventory management for wine cellars and warehouses. It uses aging models, vintage data, and sales velocity to manage stock risk and rotation schedules. Use `get_rotation_schedule` to identify which bottles to move first, `check_oldest_stock_alerts` to find aged batches, `calculate_overaging_risk` to assess quality loss based on wine style and closure type, and `analyze_inventory_health` for a complete overview of storage efficiency.

## Tools

### get_rotation_schedule
Which bottles should I move or sell first to maintain optimal inventory freshness?

### analyze_inventory_health
What is the overall status of our aging profile and storage efficiency?

### calculate_overaging_risk
How much stock is at risk of losing quality before we can sell it?

### check_oldest_stock_alerts
Which specific vintages or batches are currently the oldest in our warehouse?

## Prompt Examples

**Prompt:** 
```
Which bottles should I move or sell first to maintain optimal inventory freshness?
```

**Response:** 
```
You should prioritize moving the 2018 Cabernet Sauvignon and the 2019 Chardonnay to maintain freshness.
```

**Prompt:** 
```
Which specific vintages or batches are currently the oldest in our warehouse?
```

**Response:** 
```
The oldest items currently flagged are the 2012 Merlot and the 2010 Bordeaux.
```

**Prompt:** 
```
How much stock is at risk of losing quality before we can sell it for a heavy red with a cork seal?
```

**Response:** 
```
The risk level is medium, with an estimated 45 days remaining until the peak window ends.
```

## Frequently Asked Questions

**How does the rotation logic work?**
The system uses FEFO (First-Expired, First-Out) logic to prioritize stock approaching the end of its peak drinking window, ensuring optimal freshness.

**Can I check for specific aged batches?**
Yes, you can use the `check_oldest_stock_alerts` tool to identify specific vintages or batches that have exceeded your defined age threshold.

**How is over-aging risk calculated?**
Risk is calculated by comparing the predicted peak drinking window (determined by wine style and closure type) against current sales velocity.
