# Recipe Allergen Matrix Builder AI Agent Connect

> Recipe Allergen Matrix Builder creates detailed allergen profiles by linking ingredient declarations and cross-contact risks to specific customer profiles. It identifies data gaps in your ingredient lists and checks if recipes meet strict dietary requirements, helping food safety teams manage risk without manual spreadsheets.

## Overview
- **Category:** food-safety
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Btd4T2fNRADkkkwQWHReUvGAFM76553x2UJOq574/ai-agent-connect
- **Tags:** allergen, recipe, food-safety, compliance, matrix

## Description

You can use this MCP to automate the heavy lifting of food safety documentation. Instead of manually cross-referencing ingredient lists against allergen charts, your AI client handles the mapping. It looks at each ingredient declaration and accounts for potential cross-contact risks to build a complete profile for any recipe. If you swap an ingredient, the tool tracks how that change affects the overall allergen footprint. It also flags missing information, so you aren't flying blind when a data gap exists in your supply chain. You can quickly verify if a specific recipe is safe for a customer with known restrictions or run a check across your entire catalog to find recipes with unresolved safety risks.

## Tools

### check_customer_compatibility
This tool compares a finished recipe matrix against a customer's specific dietary restrictions to confirm safety.

### analyze_ingredient_safety
This tool evaluates a single ingredient to determine its specific allergen profile and find any missing safety data.

### build_recipe_matrix
This tool aggregates all ingredients and cross-contact risks into one complete allergen profile for a recipe.

### query_unresolved_risks
This tool scans your data to find any recipes or ingredients that have incomplete allergen information.

## Prompt Examples

**Prompt:** 
```
Build an allergen matrix for recipe 'R123' using ingredients 'I001' (quantity 500) and 'I002' (quantity 200).
```

**Response:** 
```
The allergen matrix for recipe R123 shows presence of Milk and Gluten based on the provided ingredient declarations.
```

**Prompt:** 
```
Is this recipe compatible with a customer who has a peanut allergy?
```

**Response:** 
```
No, the recipe is incompatible because it contains Peanuts.
```

**Prompt:** 
```
Find all recipes with unresolved allergen risks.
```

**Response:** 
```
There are 2 recipes with unresolved allergen risks: REC-99 and REC-102.
```

## Capabilities

### Allergen Profiling
Your agent uses this to build a full map of allergens for any given recipe.

### Compatibility Checking
Your agent compares recipe data against customer dietary profiles to prevent errors.

### Risk Identification
Your agent flags ingredients or recipes that have incomplete safety documentation.

### Data Gap Analysis
Your agent finds missing ingredient declarations that could lead to cross-contact risks.

## Use Cases

### Recipe Substitution Testing
Check how changing a single ingredient impacts the final allergen profile of a product.

### Customer Dietary Verification
Confirm if a specific recipe is safe for a client with strict allergy requirements.

### Compliance Auditing
Scan your entire recipe database to find items with incomplete allergen information.

### Supplier Data Validation
Analyze individual ingredient declarations to find gaps in safety documentation.

## Benefits

- Reduces manual entry by automating the creation of allergen matrices.
- Identifies missing safety data before it becomes a compliance issue.
- Provides instant verification for customer dietary restrictions.
- Tracks cross-contact risks alongside direct ingredient allergens.

## How It Works

Connect your AI client to Vinkius to start running food safety checks immediately.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your ingredient or recipe data to your agent.
3. Your agent uses the MCP tools to process the allergen profiles.
4. Review the generated matrices or compatibility reports in your chat interface.

## Frequently Asked Questions

**What does this MCP do?**
It builds allergen matrices by mapping ingredient declarations and cross-contact risks against customer dietary profiles.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any compatible client like Claude, Cursor, or Windsurf through Vinkius.

**How does it handle ingredient changes?**
The tool accounts for ingredient substitutions and updates the allergen profile accordingly.

**Does it find missing information?**
Yes, you can query for unresolved risks to find recipes or ingredients with incomplete safety data.

**Do I need to host the MCP myself?**
No, Vinkius hosts and manages the MCP for you. You connect your client and start working.

**How does the tool handle ingredient substitutions?**
When a substitution is provided, the tool uses the allergen profile of the replacement ingredient instead of the original to ensure the final matrix is accurate.

**What happens if allergen data is missing?**
If data is insufficient to confirm or deny an allergen, the system flags an unknown status. This prevents the tool from incorrectly assuming an allergen is absent.

**Can I check if a recipe is safe for a specific customer?**
Yes, by using `check_customer_compatibility`, you can compare a generated recipe matrix against a list of allergens a customer must avoid.
