Pool chemical doses from a water test, FC/CYA chlorine targets, CSI/LSI balance, pool volume.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
How many gallons or litres a swimming pool holds, the way TFP Pool Math works it out: rectangle length × width, round π/4 × diameter², oval length × width − (1 − π/4) × width²; times the average of the shallow and deep end depths. 1 ft³ = 7.48 US gal; 1 m³ = 1,000 L. Dose calculators need this volume.
Freeform or kidney: use the closest shape
Length, or the diameter of a round pool
Not for round pools
Empty for a pool of even depth
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http poolpro-mcp https://mcp.zhukovskyi.space/poolpro/mcp
How many gallons or litres a swimming pool holds, the way TFP Pool Math works it out: rectangle length × width, round π/4 × diameter², oval length × width − (1 − π/4) × width²; times the average of the shallow and deep end depths. 1 ft³ = 7.48 US gal; 1 m³ = 1,000 L. Dose calculators need this volume.
| Argument | Type | Description |
|---|---|---|
| shape* | string | Freeform or kidney: use the closest shape |
| width | any | Not for round pools |
| length* | number | Length, or the diameter of a round pool |
| deep_depth | any | Empty for a pool of even depth |
| shallow_depth* | number | |
| dimension_unit | string |
{
"type": "object",
"title": "calculate_pool_volumeArguments",
"required": [
"shape",
"length",
"shallow_depth"
],
"properties": {
"shape": {
"enum": [
"rectangle",
"round",
"oval"
],
"type": "string",
"title": "Shape",
"description": "Freeform or kidney: use the closest shape"
},
"width": {
"anyOf": [
{
"type": "number",
"maximum": 1000,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Width",
"default": null,
"description": "Not for round pools"
},
"length": {
"type": "number",
"title": "Length",
"maximum": 1000,
"description": "Length, or the diameter of a round pool",
"exclusiveMinimum": 0
},
"deep_depth": {
"anyOf": [
{
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Deep Depth",
"default": null,
"description": "Empty for a pool of even depth"
},
"shallow_depth": {
"type": "number",
"title": "Shallow Depth",
"maximum": 50,
"exclusiveMinimum": 0
},
"dimension_unit": {
"enum": [
"ft",
"m"
],
"type": "string",
"title": "Dimension Unit",
"default": "ft"
}
}
}Calcium saturation of pool water: the Calcite Saturation Index (CSI) as TFP Pool Math computes it (Chem Geek's formula with carbonate alkalinity corrected for CYA and borates, ionic strength from CH, TA and salt) and the Langelier Saturation Index (LSI, Carrier's formula, pHs = (9.3 + A + B) − (C + D)). −0.3 to +0.3 is balanced; below is corrosive (etches plaster and grout), above is scaling (scale, cloudy water).
| Argument | Type | Description |
|---|---|---|
| ph* | number | |
| salt | number | ppm (0 when not a salt pool) |
| units | string | |
| borates | number | ppm as boron |
| cyanuric_acid | number | CYA, ppm |
| calcium_hardness* | number | CH, ppm |
| total_alkalinity* | number | TA, ppm |
| water_temperature | any | °F (units=us) or °C (metric); 80 °F when not given |
What free chlorine (FC) a pool needs at its cyanuric acid (CYA, stabilizer) level: minimum, target range and SLAM / shock level from TFP's "Free Chlorine and Cyanuric Acid Relationship" chart (CYA rounded up to the next 10; above 100 ppm the 100 row is scaled and flagged), separate rows for salt water generators. Also the ideal and acceptable pH, total alkalinity, calcium hardness and CYA ranges: TFP Recommended Levels, or pool-store / health-code levels (Maryland Department of Health, ANSI/APSP/ICC-11).
| Argument | Type | Description |
|---|---|---|
| surface | string | |
| approach | string | |
| sanitizer | string | |
| cyanuric_acid* | number | CYA (stabilizer), ppm |
{
"type": "object",
"title": "get_pool_chlorine_targetsArguments",
"required": [
"cyanuric_acid"
],
"properties": {
"surface": {
"enum": [
"plaster",
"vinyl",
"fiberglass"
],
"type": "string",
"title": "Surface",
"default": "plaster"
},
"approach": {
"enum": [
"tfp",
"store"
],
"type": "string",
"title": "Approach",
"default": "tfp"
},
"sanitizer": {
"enum": [
"liquid",
"swg",
"tablets"
],
"type": "string",
"title": "Sanitizer",
"default": "liquid"
},
"cyanuric_acid": {
"type": "number",
"title": "Cyanuric Acid",
"maximum": 500,
"minimum": 0,
"description": "CYA (stabilizer), ppm"
}
}
}How much pool chemical to add after a water test: liquid chlorine, bleach, cal-hypo, dichlor or trichlor to raise free chlorine (FC); muriatic acid or dry acid to lower pH; soda ash or borax to raise pH; baking soda to raise total alkalinity (TA); calcium chloride for calcium hardness (CH); stabilizer for cyanuric acid (CYA); and salt for a salt water chlorine generator (SWG). Doses come in the order to add them, each worked out on the water the one before it leaves (baking soda nudges pH up, acid lowers TA), for the strength on the user's own label. ppm × litres ÷ 1000 = grams of pure chemical; pH doses from a carbonate model that counts TA, CYA and borates; chlorine targets from TFP's FC/CYA chart (or pool-store levels); CSI and LSI before and after. Checked against TFP Pool Math.
| Argument | Type | Description |
|---|---|---|
| ph | any | |
| salt | any | ppm, salt water pools |
| slam | boolean | SLAM (shock) mode: chlorine to TFP's SLAM level for the CYA |
| units | string | us: gallons, °F, fl oz and oz; metric: litres, °C, mL and g |
| borates | any | ppm as boron |
| surface | string | |
| approach | string |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
{
"type": "object",
"title": "calculate_pool_water_balanceArguments",
"required": [
"ph",
"total_alkalinity",
"calcium_hardness"
],
"properties": {
"ph": {
"type": "number",
"title": "Ph",
"maximum": 11,
"minimum": 4
},
"salt": {
"type": "number",
"title": "Salt",
"default": 0,
"maximum": 50000,
"minimum": 0,
"description": "ppm (0 when not a salt pool)"
},
"units": {
"enum": [
"us",
"metric"
],
"type": "string",
"title": "Units",
"default": "us"
},
"borates": {
"type": "number",
"title": "Borates",
"default": 0,
"maximum": 200,
"minimum": 0,
"description": "ppm as boron"
},
"cyanuric_acid": {
"type": "number",
"title": "Cyanuric Acid",
"default": 0,
"maximum": 500,
"minimum": 0,
"description": "CYA, ppm"
},
"calcium_hardness": {
"type": "number",
"title": "Calcium Hardness",
"maximum": 5000,
"description": "CH, ppm",
"exclusiveMinimum": 0
},
"total_alkalinity": {
"type": "number",
"title": "Total Alkalinity",
"maximum": 1000,
"minimum": 0,
"description": "TA, ppm"
},
"water_temperature": {
"anyOf": [
{
"type": "number",
"maximum": 130,
"minimum": -5
},
{
"type": "null"
}
],
"title": "Water Temperature",
"default": null,
"description": "°F (units=us) or °C (metric); 80 °F when not given"
}
}
}| tfp: Trouble Free Pool levels, chlorine tied to CYA; store: pool-store / health-code levels, FC 1.5–3 ppm at any CYA |
| products | array | The user's own products, one per job; any job not listed uses liquid chlorine 10 %, muriatic acid 31.45 %, borax, baking soda, calcium chloride 77 % flake, granular stabilizer, pool salt |
| sanitizer | string | liquid: liquid chlorine or bleach; swg: salt water chlorine generator; tablets: trichlor |
| target_ch | any | Default 350 plaster (store 300), 0 vinyl (never dosed) |
| target_fc | any | Empty = top of the FC/CYA chart range (bottom for SWG) |
| target_ph | any | Default 7.5 |
| target_ta | any | Default 70 (store 100) |
| target_cya | any | Default 40, salt pool 70 |
| pool_volume* | number | Pool volume in US gallons (units=us) or litres (units=metric) |
| target_salt | any | Default 3,200 ppm |
| cyanuric_acid | any | CYA (stabilizer, conditioner), ppm |
| free_chlorine | any | FC, ppm |
| calcium_hardness | any | CH, ppm |
| total_alkalinity | any | TA, ppm |
| combined_chlorine | any | CC, ppm |
| water_temperature | any | °F (units=us) or °C (metric); 80 °F when not given |
| fill_water_calcium | number | CH of the fill water, ppm, for the drain-and-refill share |
| chlorine_stored_hot | boolean | Jug kept somewhere hot (about 35 °C / 95 °F) |
| liquid_chlorine_age_days | any | Days since the liquid chlorine jug was bought |
{
"type": "object",
"$defs": {
"ProductIn": {
"type": "object",
"title": "ProductIn",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"liquid_chlorine",
"bleach",
"cal_hypo",
"dichlor",
"trichlor",
"muriatic_acid",
"dry_acid",
"soda_ash",
"borax",
"baking_soda",
"calcium_chloride",
"stabilizer",
"salt"
],
"type": "string",
"title": "Kind",
"description": "liquid_chlorine (trade %, 10 or 12.5), bleach (% sodium hypochlorite, 6 or 8.25), cal_hypo, dichlor, trichlor, muriatic_acid (% HCl, 31.45 or 14.5), dry_acid (sodium bisulfate), soda_ash, borax, baking_soda, calcium_chloride, stabilizer (cyanuric acid), salt"
},
"strength_percent": {
"anyOf": [
{
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Strength Percent",
"default": null,
"description": "Strength on the label, %; empty = the usual product"
}
}
}
},
"title": "plan_pool_chemical_dosesArguments",
"required": [
"pool_volume"
],
"properties": {
"ph": {
"anyOf": [
{
"type": "number",
"maximum": 11,
"minimum": 4
},
{
"type": "null"
}
],
"title": "Ph",
"default": null
},
"salt": {
"anyOf": [
{
"type": "number",
"maximum": 50000,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Salt",
"default": null,
"description": "ppm, salt water pools"
},
"slam": {
"type": "boolean",
"title": "Slam",
"default": false,
"description": "SLAM (shock) mode: chlorine to TFP's SLAM level for the CYA"
},
"units": {
"enum": [
"us",
"metric"
],
"type": "string",
"title": "Units",
"default": "us",
"description": "us: gallons, °F, fl oz and oz; metric: litres, °C, mL and g"
},
"borates": {
"anyOf": [
{
"type": "number",
"maximum": 200,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Borates",
"default": null,
"description": "ppm as boron"
},
"surface": {
"enum": [
"plaster",
"vinyl",
"fiberglass"
],
"type": "string",
"title": "Surface",
"default": "plaster"
},
"approach": {
"enum": [
"tfp",
"store"
],
"type": "string",
"title": "Approach",
"default": "tfp",
"description": "tfp: Trouble Free Pool levels, chlorine tied to CYA; store: pool-store / health-code levels, FC 1.5–3 ppm at any CYA"
},
"products": {
"type": "array",
"items": {
"$ref": "#/$defs/ProductIn"
},
"title": "Products",
"maxItems": 7,
"description": "The user's own products, one per job; any job not listed uses liquid chlorine 10 %, muriatic acid 31.45 %, borax, baking soda, calcium chloride 77 % flake, granular stabilizer, pool salt"
},
"sanitizer": {
"enum": [
"liquid",
"swg",
"tablets"
],
"type": "string",
"title": "Sanitizer",
"default": "liquid",
"description": "liquid: liquid chlorine or bleach; swg: salt water chlorine generator; tablets: trichlor"
},
"target_ch": {
"anyOf": [
{
"type": "number",
"maximum": 1000,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Target Ch",
"default": null,
"description": "Default 350 plaster (store 300), 0 vinyl (never dosed)"
},
"target_fc": {
"anyOf": [
{
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Target Fc",
"default": null,
"description": "Empty = top of the FC/CYA chart range (bottom for SWG)"
},
"target_ph": {
"anyOf": [
{
"type": "number",
"maximum": 8.2,
"minimum": 6.8
},
{
"type": "null"
}
],
"title": "Target Ph",
"default": null,
"description": "Default 7.5"
},
"target_ta": {
"anyOf": [
{
"type": "number",
"maximum": 500,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Target Ta",
"default": null,
"description": "Default 70 (store 100)"
},
"target_cya": {
"anyOf": [
{
"type": "number",
"maximum": 150,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Target Cya",
"default": null,
"description": "Default 40, salt pool 70"
},
"pool_volume": {
"type": "number",
"title": "Pool Volume",
"maximum": 10000000,
"description": "Pool volume in US gallons (units=us) or litres (units=metric)",
"exclusiveMinimum": 0
},
"target_salt": {
"anyOf": [
{
"type": "number",
"maximum": 10000,
"minimum": 500
},
{
"type": "null"
}
],
"title": "Target Salt",
"default": null,
"description": "Default 3,200 ppm"
},
"cyanuric_acid": {
"anyOf": [
{
"type": "number",
"maximum": 500,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Cyanuric Acid",
"default": null,
"description": "CYA (stabilizer, conditioner), ppm"
},
"free_chlorine": {
"anyOf": [
{
"type": "number",
"maximum": 100,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Free Chlorine",
"default": null,
"description": "FC, ppm"
},
"calcium_hardness": {
"anyOf": [
{
"type": "number",
"maximum": 5000,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Calcium Hardness",
"default": null,
"description": "CH, ppm"
},
"total_alkalinity": {
"anyOf": [
{
"type": "number",
"maximum": 1000,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Total Alkalinity",
"default": null,
"description": "TA, ppm"
},
"combined_chlorine": {
"anyOf": [
{
"type": "number",
"maximum": 50,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Combined Chlorine",
"default": null,
"description": "CC, ppm"
},
"water_temperature": {
"anyOf": [
{
"type": "number",
"maximum": 130,
"minimum": -5
},
{
"type": "null"
}
],
"title": "Water Temperature",
"default": null,
"description": "°F (units=us) or °C (metric); 80 °F when not given"
},
"fill_water_calcium": {
"type": "number",
"title": "Fill Water Calcium",
"default": 0,
"maximum": 2000,
"minimum": 0,
"description": "CH of the fill water, ppm, for the drain-and-refill share"
},
"chlorine_stored_hot": {
"type": "boolean",
"title": "Chlorine Stored Hot",
"default": false,
"description": "Jug kept somewhere hot (about 35 °C / 95 °F)"
},
"liquid_chlorine_age_days": {
"anyOf": [
{
"type": "number",
"maximum": 3650,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Liquid Chlorine Age Days",
"default": null,
"description": "Days since the liquid chlorine jug was bought"
}
}
}