# Wine Bottling & Filling Calculator AI Agent Connect

> Calculate production timelines, material needs, and unit costs for wine bottling lines.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Ls4tcPBFj4wUlyviaDpmIr6Bdj3ehwkBdCiRBscQ/ai-agent-connect
- **Tags:** wine, bottling, production, logistics, manufacturing

## Description

This MCP server provides specialized logistics and capacity planning for wine production. It connects AI agents to precise calculation tools for bottling operations. Use `get_production_timeline` to determine how long a run will take based on line speed and efficiency. Use `estimate_material_needs` to calculate required closures and inert gas for headspace displacement. Finally, use `calculate_operational_cost` and `get_case_metrics` to derive total production costs and cost per case.

## Tools

### calculate_operational_cost
Estimates the total cost of a production run based on time and consumables

### estimate_material_needs
Calculates the quantity of closures and inert gas required for a production run

### get_case_metrics
Converts bottle-level production data into standard case-level logistics

### get_production_timeline
Determines how long it will take to meet a specific production target

## Prompt Examples

**Prompt:** 
```
How long will it take to produce 5000 bottles if the line speed is 50 bottles per minute and efficiency is 85%?
```

**Response:** 
```
At an efficiency of 85%, your hourly output is 2550 bottles per hour. To produce 5000 bottles, it will take approximately 1.96 hours.
```

**Prompt:** 
```
Calculate the material needs for 1000 bottles of 0.75L wine with a 0.7L fill height and a gas factor of 1.2.
```

**Response:** 
```
For 1000 bottles, you will need 1000 closures (plus buffer) and 90 liters of inert gas.
```

**Prompt:** 
```
What is the cost per case for 1200 bottles packed in cases of 12?
```

**Response:** 
```
With 1200 bottles packed 12 to a case, you will produce 100 cases. The cost per case is the total production cost divided by 100.
```

## Frequently Asked Questions

**How do I calculate the time needed for a production run?**
You can use the `get_production_timeline` tool. Provide the target volume, the theoretical line speed, and the efficiency decimal to get the total hours required.

**How is inert gas consumption calculated?**
The `estimate_material_needs` tool calculates gas requirements by determining the headspace volume (bottle size minus fill height) and applying a gas usage factor across the target volume.

**Can I estimate the cost per case?**
Yes. Use `calculate_operational_cost` to find the total cost, then use `get_case_metrics` to convert that into the cost per case based on your bottles per case configuration.
