# Ingredient Lot Traceability Index AI Agent Connect

> Ingredient Lot Traceability Index MCP connects your ingredient lots to receiving records, storage locations, production batches, and final menu items. It gives your AI client the ability to follow a specific lot through your entire supply chain or trace a finished product back to its original source. Use it to identify impacted batches or audit your entire traceability chain for gaps.

## Overview
- **Category:** inventory-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_9koZAVi9u7cUJG2rVSBHTumFKrQIOLiy6c8IkOH9/ai-agent-connect
- **Tags:** traceability, food-safety, logistics, audit, inventory

## Description

You can now give your AI agent full visibility into your food supply chain. This MCP links your raw ingredient lots directly to where they are stored, which production batches they entered, and which final menu items they ended up in. Instead of digging through spreadsheets to find out where a contaminated lot went, you ask your AI client. It can follow a lot forward to see each product it touched or trace a finished dish backward to find the specific ingredient source. If you need to run a safety check, the MCP can audit your entire chain to find missing links or duplicate IDs. When a recall happens, you can instantly see each batch affected by a specific lot, making your response faster and more accurate.

## Tools

### audit_traceability_integrity
This tool audits your traceability chain to find gaps or errors in the data. It helps you ensure your records are complete and accurate.

### list_affected_batches
This tool identifies each production batch that used a specific ingredient lot. It gives you a clear list of what needs to be checked during a recall.

### trace_lot_forward
This tool follows an ingredient lot through your production process. It shows you exactly where that lot went after it was received.

### trace_product_backward
This tool traces a finished product back to its original ingredient origins. It helps you find the source of any specific menu item.

## Prompt Examples

**Prompt:** 
```
Where did ingredient lot LOT-123 go?
```

**Response:** 
```
Lot LOT-123 was received on 2023-10-01, moved to Dry Storage Bin A, and was used in Production Batch BATCH-99, which is part of the 'Classic Tomato Sauce' menu item.
```

**Prompt:** 
```
What ingredients were used to make menu item MENU-456?
```

**Response:** 
```
The 'Classic Tomato Sauce' (MENU-456) was produced using ingredient lots LOT-123, LOT-124, and LOT-125.
```

**Prompt:** 
```
Which batches are affected by lot LOT-789?
```

**Response:** 
```
Lot LOT-789 was used in Production Batch BATCH-101 (50kg) and Production Batch BATCH-102 (25kg).
```

## Capabilities

### Forward Traceability
Your agent uses this to track an ingredient from the moment it arrives at your facility through each stage of production.

### Backward Traceability
Your agent uses this to identify the specific ingredient lots that went into a finished menu item.

### Batch Impact Analysis
Your agent uses this to quickly list all production batches that contain a specific ingredient lot.

### Integrity Auditing
Your agent uses this to scan your records for missing data or duplicate IDs in the traceability chain.

## Use Cases

### Rapid Recall Response
When a supplier reports a contaminated lot, you use your agent to find each batch that used that lot.

### Food Safety Audits
You use your agent to check your entire chain of custody for errors or missing records before an inspection.

### Ingredient Origin Verification
You use your agent to confirm exactly which ingredient lots were used in a specific menu item for transparency.

### Inventory Movement Tracking
You use your agent to see how an ingredient lot moved from receiving to a specific storage bin.

## Benefits

- Connects ingredient lots to storage, production, and final products.
- Identifies impacted batches immediately during a recall.
- Finds gaps or duplicate IDs in your traceability records.
- Traces products back to their original ingredient sources.

## How It Works

Get your traceability data into your AI client in minutes.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Select the Ingredient Lot Traceability Index MCP from the catalog.
3. Ask your AI client questions about ingredient lots or product origins.
4. Your agent uses the provided tools to query your traceability data and give you direct answers.

## Frequently Asked Questions

**What can this MCP do for food safety?**
It allows your AI client to track ingredient lots through the entire production process and identify which batches are affected by specific lots.

**How do I use this with Claude or Cursor?**
You connect your client to Vinkius once, and the MCP tools become available for your agent to use immediately.

**Can it help with ingredient recalls?**
Yes, you can use the list_affected_batches tool to see exactly which production batches were made with a specific ingredient lot.

**Does it find errors in my records?**
Yes, the audit_traceability_integrity tool is designed to find gaps or duplicate IDs in your traceability chain.

**Can I trace a finished dish back to its source?**
Yes, the trace_product_backward tool lets your AI client find the original ingredient lots used in any product.

**How can I see which products contain a specific ingredient lot?**
You can use the `trace_lot_forward` tool to identify all subsequent products and locations associated with a specific lot ID.

**How do I find the origin of a specific menu item?**
Use the `trace_product_backward` tool by providing the target ID and specifying if it is a 'production_batch' or 'menu_item'.

**Can I check for errors in my traceability data?**
Yes, the `audit_traceability_integrity` tool identifies missing links, duplicate lot IDs, and orphan batches within a specified time range.
