# Wine KHT Solubility Predictor AI Agent Connect

> Predicts Potassium Bitartrate (KHT) precipitation risks and stabilization needs in wine.

## Overview
- **Category:** chemistry
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_AFnWJapUtv9aNGMad4L7TJThA4S9yDTFQgm8E5Hl/ai-agent-connect
- **Tags:** wine, kht, solubility, stabilization, chemistry, enology

## Description

This MCP server provides specialized tools for enologists to manage Potassium Bitartrate (KHT) stability. By analyzing ethanol levels, pH, temperature, and ionic strength, the server can determine the maximum solubility limit using `get_solubility_limit`. It predicts crystal formation risks with `check_precipitation_risk`, identifies the exact temperature where precipitation begins via `calculate_saturation_temperature`, and estimates the time required for cold stabilization using `estimate_stabilization_duration`.

## Tools

### calculate_saturation_temperature
Finds the temperature at which the wine's current KHT concentration will begin to precipitate

### check_precipitation_risk
Predicts if KHT will precipitate out of the wine at a specific storage temperature

### estimate_stabilization_duration
Estimates the time required to perform cold stabilization to reach a safe state

### get_solubility_limit
Determines the maximum amount of KHT that can be dissolved in the wine

## Prompt Examples

**Prompt:** 
```
What is the maximum KHT solubility for a wine with 13% ethanol, pH 3.2, temperature 20°C, and ionic strength 0.05?
```

**Response:** 
```
The maximum solubility limit for this wine composition is 0.45 g/L, with a stability product threshold of 0.2025.
```

**Prompt:** 
```
Will my wine precipitate if I store it at 4°C? It has 12% ethanol, pH 3.4, ionic strength 0.04, potassium at 0.02, and bitartrate at 0.03.
```

**Response:** 
```
Yes, there is a high risk of precipitation at 4°C. The saturation degree is 1.25, meaning the current concentration exceeds the solubility limit.
```

**Prompt:** 
```
At what temperature will this wine start to precipitate? Ethanol 14%, pH 3.1, ionic strength 0.06, potassium 0.025, bitartrate 0.035.
```

**Response:** 
```
The wine will reach its saturation temperature at 6.5°C.
```

## Frequently Asked Questions

**How does ethanol affect KHT solubility?**
Higher ethanol concentrations increase the solubility of KHT, allowing more potassium bitartrate to remain dissolved in the wine matrix.

**Can I use this to plan cold stabilization?**
Yes, you can use `estimate_stabilization_duration` to calculate the time needed to reach a safe target temperature and the expected mass of precipitate.

**What parameters are required for risk assessment?**
To check precipitation risk, you need the ethanol percentage, pH, ionic strength, storage temperature, and the concentrations of potassium and bitartrate ions.
