# Pool Chemistry Calculator AI Agent Connect

> Deterministic tool for precise swimming pool water chemistry adjustments and LSI analysis.

## Overview
- **Category:** utilities
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_cSDkyQ0nXc0J1ZZcCTofsD7QSWAeoI6lTTaVuBur/ai-agent-connect
- **Tags:** pool, chemistry, water-quality, lsi, maintenance

## Description

This MCP server provides precise chemical adjustment calculations and water balance diagnostics for swimming pools. Use `get_water_balance_analysis` to determine if your water is corrosive or scale-forming based on the Langelier Saturation Index (LSI). Use `calculate_chemical_adjustments` to find the exact amount of acid, alkalinity buffers, calcium, or chlorine needed to reach your target parameters. Additionally, `validate_water_safety` can be used to check if current pH and chlorine levels are safe for swimmers.

## Tools

### calculate_chemical_adjustments
Calculates the exact mass or volume of specific chemicals needed to reach target parameters

### get_water_balance_analysis
Provides a comprehensive diagnostic of the current water state, including the LSI

### validate_water_safety
Checks if the water is safe for swimmers based on chlorine and pH levels

## Prompt Examples

**Prompt:** 
```
My pool has a pH of 7.2 and total alkalinity of 80 ppm. What is the water balance?
```

**Response:** 
```
The water is currently in a corrosive state with an LSI of -0.4.
```

**Prompt:** 
```
I need to raise my calcium hardness from 200 ppm to 300 ppm in a 20,000 gallon pool. How much calcium chloride do I need?
```

**Response:** 
```
You need to add 1,542 grams of calcium chloride.
```

**Prompt:** 
```
Is it safe to swim if my pH is 8.0 and free chlorine is 2.0 ppm?
```

**Response:** 
```
No, the water is unsafe because the pH is outside the recommended range of 7.2-7.8.
```

## Frequently Asked Questions

**How do I know if my pool water is balanced?**
You can use the `get_water_balance_analysis` tool to calculate the Langelier Saturation Index (LSI). A balanced state is between -0.3 and +0.3.

**Can this tool tell me how much acid to add?**
Yes, the `calculate_chemical_adjustments` tool provides the exact volume of muriatic acid or sodium bisulfate required to reach your target pH.

**Is my pool safe for swimming right now?**
You can verify this by using the `validate_water_safety` tool, which checks your current pH and chlorine levels against safety standards.
