# Yield Calculator MCP

> Yield Calculator determines exactly how much usable product you'll get from raw ingredients. It estimates expected waste—from trimming fat on beef to peeling potatoes—allowing chefs and inventory managers to accurately adjust recipes and minimize food cost losses before they even start prep.

## Overview
- **Category:** inventory-management
- **Price:** Free
- **Tags:** yield, waste-reduction, food-costing, ingredient-prep, kitchen-efficiency

## Description

Running a professional kitchen means managing costs, and nothing hits the bottom line harder than unexpected food waste. This MCP helps culinary teams figure out exactly what usable material they're left with after prep work like cleaning, peeling, or trimming. Need to know if 10 pounds of whole chicken will actually yield enough breast meat? You can calculate that instantly. It also lets you check a full list of ingredients against a known registry before starting inventory counts. If you're managing complex orders involving dozens of different items, the system aggregates losses across all materials in one go. This kind of detailed resource management is exactly what Vinkius built this MCP to handle, giving your agent precise figures so you can plan meals and purchase supplies without guesswork.

## Tools

### calculate_batch_loss
Calculates the total waste and usable mass when grouping together several ingredients.

### search_ingredients
Searches the central ingredient registry to find specific items or categories needed for prep planning.

### calculate_ingredient_yield
Calculates the anticipated usable weight and waste amount for a single, specified raw ingredient.

## Prompt Examples

**Prompt:** 
```
How much usable meat will I have from 5kg of whole chicken?
```

**Response:** 
```
From 5kg of whole chicken, you can expect approximately 3.4kg of usable meat and 1.6kg of waste.
```

**Prompt:** 
```
Calculate the total waste for 2kg of onions and 3kg of potatoes.
```

**Response:** 
```
The total waste produced from 2kg of onions and 3kg of potatoes is approximately 0.7kg.
```

**Prompt:** 
```
Search for any ingredients related to 'beef'.
```

**Response:** 
```
The registry contains the following beef items: Beef Ribeye (85% yield), Beef Brisket (70% yield).
```

## Capabilities

### Estimate ingredient yield
Calculate the expected usable weight and waste for a single raw item.

### Tally total batch loss
Aggregate the estimated usable mass and total waste when working with multiple different ingredients.

### Search ingredient catalog
Find specific items or categories within the master ingredient registry.

## Use Cases

### Adjusting recipes after a poor harvest
The Head Prep Cook needs to scale down a recipe because the potato delivery was smaller than expected. They use `calculate_ingredient_yield` on the new weight, determining that they only have 20% usable mass instead of the standard 35%. This instantly forces them to adjust the entire batch recipe before cooking begins.

### Inventory check for a large catering event
The Inventory Manager needs to confirm total resources for a three-day buffet. They use `calculate_batch_loss` on beef, chicken, and assorted vegetables, getting one number that represents the combined usable mass and overall waste footprint.

### Finding alternatives during menu development
The Executive Chef wants to swap out a primary ingredient but isn't sure what else is available. They use `search_ingredients` and quickly pull up viable, high-yield alternatives from the registry for immediate comparison.

### Costing a seasonal special
The Sous Chef develops a new dish based on wild mushrooms and pork shoulder. Using `calculate_ingredient_yield` separately on both items allows them to calculate precise, accurate food costs, making the menu profitable from day one.

## Benefits

- Stop over-ordering. By running single calculations using `calculate_ingredient_yield`, you get accurate usable figures, meaning less waste and lower food costs.
- Manage complex menus easily. Use `calculate_batch_loss` to combine multiple ingredients—like onions, potatoes, and celery—and see the total loss in one go.
- Never guess on stock. Use `search_ingredients` first to verify that an item is available in your registry before you plan a menu or purchase supplies.
- Reduce waste tracking time. Instead of manual spreadsheets, simply send your list of ingredients and let the system calculate all losses using `calculate_batch_loss`.
- Streamline purchasing decisions. Accurate yield data means you order exactly what you need, minimizing spoilage from excess stock.

## How It Works

The bottom line is you get accurate, predictable metrics on how much raw material turns into final product.

1. Start by using search to locate a required item in the ingredient registry.
2. Input the starting weight and the known yield factors for that item into the calculation tool.
3. The system delivers two precise numbers: the total usable mass and the calculated amount of unavoidable waste.

## Frequently Asked Questions

**How does the Yield Calculator MCP use calculate_batch_loss?**
You provide one list of several ingredients and their weights. The tool then processes them all together to give you a single, comprehensive figure for total usable mass and aggregate waste.

**Can I find out what kind of beef I have using search_ingredients?**
Yes, `search_ingredients` searches the entire registry. You can look up 'beef' or specific cuts to see which items are available for calculation and planning.

**What is the difference between calculate_ingredient_yield and calculate_batch_loss?**
`calculate_ingredient_yield` focuses on one item at a time, giving you detailed loss metrics for that single ingredient. `calculate_batch_loss` aggregates these losses across many different items.

**Is the Yield Calculator MCP useful if I only have potatoes?**
Absolutely. You can use `calculate_ingredient_yield` specifically on potatoes, giving you a precise calculation of usable mash weight and expected waste based on typical prep loss factors.

**Does the Yield Calculator MCP handle international ingredient names?**
The system draws from a centralized registry, allowing you to search for ingredients by their common name or established code, regardless of your local language preference.