# Wine Tartrate Stability Model AI Agent Connect

> Predicts potassium bitartrate instability and recommends stabilization treatments for wine.

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

## Description

This MCP server provides specialized tools to manage wine stability by predicting potassium bitartrate (KHT) precipitation. By analyzing ion concentrations, pH, alcohol, and temperature, the server uses a solubility product approach to calculate the saturation index and precipitation potential. It helps winemakers determine the need for stabilization and provides specific guidance through tools like `analyze_stability_risk`, `calculate_cold_stabilization_requirement`, `recommend_stabilization_treatment`, and `predict_precipitation_impact`.

## Tools

### analyze_stability_risk
Calculates the fundamental saturation metrics and risk level for a given wine sample

### calculate_cold_stabilization
Determines the specific temperature required to induce controlled precipitation for stabilization

### predict_precipitation_impact
Evaluates how likely crystals are to deposit on the bottle or consumer glassware

### recommend_stabilization
Selects the optimal chemical or physical method to stabilize the wine based on the calculated risk

## Prompt Examples

**Prompt:** 
```
What is the stability risk for a wine with 0.02 potassium, 0.015 tartrate, pH 3.2, 13% alcohol, and 20°C?
```

**Response:** 
```
The saturation index is 1.45, indicating a High Risk of precipitation.
```

**Prompt:** 
```
Will crystals deposit on the bottle if I store this wine at 5°C?
```

**Response:** 
```
With a saturation index of 1.2, there is a Medium risk of crystal deposition at 5°C.
```

**Prompt:** 
```
What is the best way to stabilize this wine if I cannot use cold stabilization?
```

**Response:** 
```
Given the high saturation index and lack of thermal options, Metatartaric Acid is the recommended treatment.
```

## Frequently Asked Questions

**What is the saturation index?**
The saturation index is a value indicating the degree of supersaturation. A value greater than 1 indicates the wine is at risk of potassium bitartrate precipitation.

**How can I find the required cooling temperature?**
You can use the `calculate_cold_stabilization_requirement` tool to determine the specific temperature needed to induce controlled precipitation.

**What stabilization methods are recommended?**
Based on the risk level, the server may recommend Cold Stabilization, Metatartaric Acid, or Carboxymethyl Cellulose (CMC) via the `recommend_stabilization_treatment` tool.
