# Wine Calcium Tartrate Stability Analyzer AI Agent Connect

> Assess the risk of calcium tartrate precipitation and crystal formation in wine.

## Overview
- **Category:** agriculture
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_MAW2r9IxVNrkhzlVWBMX35wgp4HKhS49k7TtH4hO/ai-agent-connect
- **Tags:** wine, stability, calcium, tartrate, chemistry

## Description

This MCP server provides winemakers with precise chemical analysis tools to prevent 'wine diamonds' (calcium tartrate crystals). By connecting your AI agent to Vinkius Edge, you can use tools like `calculate_saturation_index` to determine the thermodynamic state of the wine, `assess_precipitation_risk` to evaluate environmental risk levels, `interpret_stability_test` for clear status summaries, and `recommend_treatment` to identify necessary interventions like cold stabilization.

## Tools

### assess_precipitation_risk
Provides a qualitative risk level based on the saturation state and environmental factors

### calculate_saturation_index
Determines the thermodynamic saturation state of the wine

### interpret_stability_test
Translates technical chemical data into a clear stability interpretation for winemakers

### recommend_treatment
Suggests specific winemaking interventions based on the instability profile

## Prompt Examples

**Prompt:** 
```
Calculate the saturation index for a wine with 0.05 calcium concentration, 0.15 tartrate concentration, 15 degrees Celsius, and pH 3.2.
```

**Response:** 
```
The saturation index is 0.45, indicating the solution is supersaturated.
```

**Prompt:** 
```
What is the precipitation risk if the saturation index is 0.8 and the temperature is 4 degrees Celsius?
```

**Response:** 
```
The risk level is High due to the positive saturation index and low temperature.
```

**Prompt:** 
```
The wine has a High risk level at 2 degrees Celsius. What should I do?
```

**Response:** 
```
It is recommended to perform Cold Stabilization to prevent crystal formation.
```

## Frequently Asked Questions

**How do I know if my wine is at risk of precipitation?**
You can use the `calculate_saturation_index` tool to find the saturation state. A positive index indicates supersaturation, which increases the risk of crystal formation.

**What is the difference between CaT and KHT stability?**
Calcium tartrate (CaT) and potassium hydrogen tartrate (KHT) have different solubility behaviors. This server accounts for these differences to provide accurate risk assessments.

**Can this tool recommend specific treatments?**
Yes, the `recommend_treatment` tool suggests specific winemaking interventions, such as cold stabilization, based on the identified risk level and temperature.
