# Wine H2S Risk Predictor AI Agent Connect

> Predict H2S formation risk and get nutrient/copper recommendations.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_59VcAMOcs53dbXogeiiLDKnWUDthmZt5VRoZlsyr/ai-agent-connect
- **Tags:** winemaking, fermentation, chemistry, yeast, sulfur

## Description

This MCP server provides specialized tools for winemakers to monitor and mitigate the risk of hydrogen sulfide (H2S) formation during fermentation. By analyzing yeast strain, nitrogen levels (YAN), and vitamin status, the server can `predict_h2s_risk` to identify metabolic stress. It also provides actionable guidance through `calculate_preventive_nutrients` for nitrogen and vitamin additions, and `estimate_copper_treatment` for managing existing sulfur issues. Use `get_fermentation_safety_status` to monitor overall fermentation stability.

## Tools

### calculate_preventive_nutrients
Recommends the specific amounts of nutrients needed to mitigate the identified H2S risk

### estimate_copper_treatment
Calculates the required amount of copper for a trial to eliminate existing or predicted H2S

### get_fermentation_safety_status
Provides a high-level summary of the fermentation environment to determine if immediate intervention is required

### predict_h2s_risk
Determines the probability that a specific must will produce H2S based on current conditions

## Prompt Examples

**Prompt:** 
```
What is the H2S risk for a yeast strain with YAN 150, sulfur residue 0.5, temperature 20, pH 3.5, and optimal vitamin status?
```

**Response:** 
```
The H2S formation probability is 0.05, which is a Low risk level. The primary driver is stable nitrogen levels.
```

**Prompt:** 
```
How much nitrogen and vitamins do I need for a yeast strain with YAN 120 and deficient vitamin status?
```

**Response:** 
```
You need to add 25.0 mg/L of nitrogen and 10.0 mg/L of vitamin supplement to reach safe thresholds.
```

**Prompt:** 
```
Calculate the copper dosage needed for a 0.8 formation probability and 1.2 sulfur residue.
```

**Response:** 
```
The required copper dosage is 0.45 mg/L, with a recommended trial duration of 5 days for high effectiveness.
```

## Frequently Asked Questions

**How accurate are the H2S risk predictions?**
Predictions are based on a biochemical sulfur metabolism model that evaluates the interaction between YAN, vitamin status, and temperature.

**Can I use this to plan my nutrient additions?**
Yes, the `calculate_preventive_nutrients` tool provides specific nitrogen and vitamin requirements to stabilize yeast metabolism.

**What should I do if the risk level is 'Extreme'?**
An 'Extreme' risk level indicates high probability of H2S production. You should immediately check `get_fermentation_safety_status` and consider using `estimate_copper_treatment` to mitigate the risk.
