Skip to main content
Glama
softwash-mcp

softwash-mcp

softwash-mcp

Soft wash mix math as an MCP server: how much sodium hypochlorite (SH, liquid chlorine, 12.5 % or bleach), water and surfactant go in a tank for a target % at the surface, what a downstream injector or proportioner ratio (1:10, "13:1 downstream") really puts on the wall, how much an SH drum has weakened in storage, and the chemical for a whole house, roof, concrete, fence and deck job. Four read-only tools, no sign-in, nothing stored.

It is the calculator of the SoftWash Pro app by Dre Dev, ported from Dart to Python and checked against the app's own test values.

Tools

Tool

Gives

mix_soft_wash_tank

SH, water and surfactant for a tank or sprayer at a target % (or a surface's starting strength), from any SH strength; tops up a tank that still holds leftover mix; water : SH ratio; warns when the target is stronger than the SH can reach

convert_downstream_ratio

% at the surface through a downstream injector draw, the bucket strength and bucket recipe for a target %, the leanest draw that still reaches it, the real ratio from a bucket test, and how to read a ratio someone wrote ("13:1 downstream", "4:1 + 2 oz surf")

estimate_sh_strength_in_storage

Today's strength of an SH drum or jug from its label %, age and storage temperature, with a range, its half-life and the day it falls below a strength

plan_soft_wash_job

Starting strength per surface (house, roof, concrete, fence, deck), mix, SH and surfactant from the area (roof pitch included), and a one-tank plan for the day: weakest first, then SH added to what is left

US gallons, fl oz and ft², or litres, mL and m² (units: "metric"). Temperatures in °C or °F. All tools: readOnlyHint: true, destructiveHint: false, openWorldHint: false.

Related MCP server: Reconstitution Calculator MCP Server

Connect

Claude (claude.ai, Desktop), ChatGPT (developer mode), Cursor, VS Code — add a remote MCP server with the URL https://mcp.zhukovskyi.space/softwash/mcp, no authentication.

Local (stdio):

git clone https://github.com/andronaft/softwash-mcp && cd softwash-mcp
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
{ "mcpServers": { "softwash": { "command": "/path/to/softwash-mcp/.venv/bin/python",
                               "args": ["/path/to/softwash-mcp/server.py", "--stdio"] } } }

Ask, for example: "How much 12.5 % SH, water and surfactant for a 100 gallon tank at 1 % for a house wash?" or "My downstream injector pulls 1:10. What bucket strength do I need for 1 % on the siding, and what goes in a 5 gal bucket?"

Method

  • Tank mix, C1·V1 = C2·V2 by volume: SH = tank × target % ÷ SH %; surfactant = tank × dose; water fills the rest. Top-up: SH = (tank × target − leftover × its %) ÷ SH %, surfactant for the new part only.

  • Downstream: a draw of 1 part chemical to N parts water gives bucket % ÷ (1 + N) at the surface; bucket % for a target = target × (1 + N); bucket test: N = water out (gpm × minutes) ÷ chemical pulled. Ratios as written: the bigger number is water ("4:1" and "1:4" are both four parts water).

  • SH in storage: second-order decay, % = start ÷ (1 + k · start · days), anchored on the PHTA tech note (12.5 % halves in about 180 days at 77 °F / 25 °C, 48 days at 95 °F / 35 °C), × 3.75 per 10 °C (the Chlorine Institute's 3 to 4), temperatures clamped to 5–54 °C. The range is the same sum 5 °C cooler and warmer.

  • Surface starting strengths: house 1 %, roof 3 %, concrete 1 %, fence and deck 0.5 %. Roof from Owens Corning (1:1 household bleach and water) and ARMA (1 gal bleach in 5 gal water up to 1:1, so 1–3 % with 6 % bleach); the others are trade practice, not a standard. Coverage (house and roof 50 ft²/gal, concrete 100, fence and deck 75) is a cautious starting point; roof area = footprint × √(1 + (rise/12)²).

  • One tank for the day: weakest strength first, then s = T·(p − p′) ÷ (S − p′) of straight SH into what is left.

  • Checked against the app's tests (test_server.py): 100 gal at 1 % from 12.5 % = 8 gal SH; 100 gal at 3 % from 10 % = 30 gal SH + 70 gal water; 12.5 % through 1:10 = 1.136 %; 1 % through 1:10 = an 11 % bucket, 4.4 gal SH + 0.6 gal water in 5 gal; 12.5 % after 42 days at 35 °C ≈ 6.7 %, at 25 °C ≈ 10.1 %; the app's three-surface day plan.

Strengths are for SH sold in trade percent (g per 100 mL), where mixing by volume is exact; a jug labelled in % by weight is up to about 1.2× stronger per litre, so a test-kit reading is the best number. Math only, not a safety guarantee: follow the chemical's label and SDS, test a small area first, protect plants, low pressure on roofs, and never mix SH with acids or ammonia (chlorine gas, chloramine).

Run and test

pip install -r requirements.txt
python server.py                  # http://127.0.0.1:8000/mcp
python server.py --stdio
python -m unittest discover tests   # 15 tests

Hosted with the other Dre Dev MCP servers in one process; build_app() is mounted at /softwash.

Licence

MIT for the code. Strength and decay figures: the published sources named above. Made by Andrii Zhukovskyi (Dre Dev).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to list, explain, and run the same 20 offline water-chemistry calculations with explicit units, assumptions, references, warnings, and worked steps. It is read-only and requires no API key, account, cloud calculation, or internet connection after installation.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables users to perform common laboratory calculations—reconstitution concentration, unit conversion, C1V1 dilution, molarity, percent w/v, and serial dilution—through MCP tools, with input validation and no network calls or stored data.
      6
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables read-only access to verified cross-market spreads, quarantined resolution-rule traps, backtest summaries, resolution-equivalence audits, GPU-vs-API arbitrage calculations, and ledger-integrity checks through six MCP tools.
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables users to calculate pool chemical doses from water tests, determine FC/CYA chlorine targets, evaluate CSI/LSI water balance, and compute pool volume in US or metric units via four read-only tools.
      MIT