# Wine Traceability & Lot Tracking AI Agent Connect

> Track wine production from grape harvest to bottling with full lineage and recall capabilities.

## Overview
- **Category:** supply-chain
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_c00mVBaB8jDRRZtWRRBRdYNeq5cex79tfZLubDWA/ai-agent-connect
- **Tags:** wine, traceability, lot-tracking, production, quality-control

## Description

This MCP server provides complete traceability for wine production. It allows AI agents to track the lifecycle of wine lots through every stage, including grape harvesting, processing, blending, and bottling. Use `trace_lot_forward` to see all downstream products from a specific lot, `trace_product_backward` to reconstruct a finished product's history, `calculate_recall_scope` to identify all affected products during a contamination event, and `get_lot_genealogy` to inspect the parentage of any specific lot.

## Tools

### trace_lot_forward
Identifies all downstream products and lots that contain a specific starting lot

### trace_product_backward
Reconstructs the entire history of a finished product back to the original grape lots

### calculate_recall_scope
Determines every consumer product that must be recalled based on a single contaminated source lot

### get_lot_genealogy
Provides a detailed view of how a specific lot was created from its predecessors

## Prompt Examples

**Prompt:** 
```
Which products contain grape lot LOT-123?
```

**Response:** 
```
Grape lot LOT-123 was used in the following products: Cabernet Sauvignon 2022 (Batch A) and the Reserve Blend (Batch B).
```

**Prompt:** 
```
Trace the history of product PROD-999.
```

**Response:** 
```
Product PROD-999 originated from grape lots GRAPE-001 and GRAPE-002, which were blended during the fermentation stage in March 2023.
```

**Prompt:** 
```
What is the recall scope for contaminated lot CONTAM-456?
```

**Response:** 
```
The contamination in lot CONTAM-456 affects 3 products: Merlot 2021 (500 bottles), Merlot Reserve (200 bottles), and the Autumn Blend (150 bottles).
```

## Frequently Asked Questions

**How can I find all products made from a specific grape lot?**
You can use the `trace_lot_forward` tool by providing the specific lot ID to see all resulting products and intermediate lots.

**What happens if a lot is contaminated?**
Use the `calculate_recall_scope` tool with the problematic lot ID to identify every finished product that must be recalled.

**Can I see the history of a specific bottle?**
Yes, the `trace_product_backward` tool allows you to reconstruct the entire history from a finished product back to its original grape lots.
