# Bread Loaf Calculator AI Agent Connect

> Bread Loaf Calculator MCP handles the math for your bakery production. It calculates how many loaves you can get from a specific dough weight, accounts for dough loss during processing, and checks if your current supply meets your target order volume. You can run different production scenarios to see how varying wastage levels affect your final yield.

## Overview
- **Category:** math
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_s2pzl8JrqZDQ1jHgivnsAsxzpJdhk2lOSwzIoDR3/ai-agent-connect
- **Tags:** bakery, production, dough, yield, planning

## Description

Running a bakery means constant math. You need to know if a batch of dough will actually cover your morning orders or if you'll run short because of dough sticking to the mixer or bowls. This MCP takes that guesswork out of your production planning. Instead of manual calculations, you tell your AI client how much dough you have and what size loaves you're aiming for. It handles the heavy lifting of calculating capacity and checking if your goals are realistic. You can also factor in expected wastage to get a much more honest look at your actual yield. It's built to help you plan batches based on real-world conditions, not just perfect theoretical numbers. Whether you're scaling up a recipe or trying to hit a specific number of loaves for a wholesale client, this tool gives you the numbers you need to make decisions on the fly.

## Tools

### calculate_yield_with_wastage
This tool estimates your final loaf count by subtracting expected dough loss from your total weight.

### check_batch_feasibility
Use this to see if your current dough supply can actually meet a specific number of loaves.

### get_production_capacity
This tool calculates the maximum number of full loaves you can produce from a specific dough weight.

### get_production_tiers
This tool provides a breakdown of potential yield across different levels of dough wastage.

## Prompt Examples

**Prompt:** 
```
How many 500g loaves can I make from 10kg of dough?
```

**Response:** 
```
You can make 20 full loaves, with 0g of dough remaining.
```

**Prompt:** 
```
If I have 5000g of dough and expect 5% wastage, how many 400g loaves can I produce?
```

**Response:** 
```
After 5% wastage, you will have 4750g of usable dough, allowing for 11 full loaves.
```

**Prompt:** 
```
Do I have enough dough for 50 loaves of 800g each if I have 45kg of dough?
```

**Response:** 
```
Yes, you have enough dough. You will have a surplus of 5000g.
```

## Capabilities

### Yield Estimation
Your agent calculates usable dough after accounting for loss.

### Capacity Planning
The AI determines the total number of loaves possible from a dough weight.

### Goal Verification
Your agent checks if your dough supply meets a specific order quantity.

### Wastage Modeling
The tool provides different production scenarios based on varying waste levels.

## Use Cases

### Wholesale Order Verification
Check if your current dough supply can fulfill a specific large order for a local cafe.

### Wastage Impact Analysis
See how much your loaf count drops if your dough loss increases from 2% to 5%.

### Batch Scaling
Determine exactly how much dough is needed to hit a specific number of loaves.

### Daily Production Planning
Calculate total capacity for the morning shift based on the dough prepared overnight.

## Benefits

- Accounts for real-world dough loss in every calculation.
- Prevents under-production by checking batch feasibility against targets.
- Provides clear loaf counts based on specific dough weights.
- Allows for scenario planning with different wastage percentages.

## How It Works

You connect the MCP to your AI client and start asking questions about your dough.

1. Connect the MCP to Claude, Cursor, or Windsurf via Vinkius.
2. Provide your dough weight and desired loaf size to your AI client.
3. The AI uses the specific tools to run the math.
4. Receive immediate answers on loaf counts, wastage, or feasibility.

## Frequently Asked Questions

**How does this MCP handle dough loss?**
It uses the calculate_yield_with_wastage tool to subtract expected loss from your total dough weight before calculating the final loaf count.

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

**What if I don't know my exact wastage percentage?**
You can use the get_production_tiers tool to see how different levels of wastage will affect your total yield.

**Does this help with ordering ingredients?**
While it doesn't order ingredients, it helps you understand how much dough you can produce, which informs your ingredient needs.

**Can I check if a specific order is possible?**
Yes, the check_batch_feasibility tool tells you if your current dough supply can meet a specific number of loaves.

**How does the tool handle dough wastage?**
The `calculate_yield_with_wastage` tool subtracts a specified percentage from the total dough weight before calculating the number of loaves, simulating real-world loss.

**Can I check if I have enough dough for a specific order?**
Yes, use `check_batch_feasibility` to determine if your current dough supply can meet your required number of loaves.

**What happens to the leftover dough?**
The `get_production_capacity` tool returns both the total number of full loaves and the `remainingDough` mass that was insufficient for a full loaf.
