Skip to main content
Glama
Water Chemistry MCP Server

Water Chemistry MCP Server

by puran-water

water-chemistry-mcp

PHREEQC water speciation, mixing, equilibrium screening and chemical dosing through typed MCP tools.

Experimental v0.1.0. These tools return calculations and structured evidence; the calling LLM supplies explanations and reporting. Engineering review remains necessary.

Quick start

Install uv and run with Python 3.12:

uvx --python 3.12 --with 'puran-mcp-support @ git+https://github.com/puran-water/fluids-mcp.git@v0.1.0#subdirectory=support/puran-mcp-support' --from 'git+https://github.com/puran-water/water-chemistry-mcp.git@v0.1.0' water-chemistry-mcp

The server uses local MCP stdio. It requires no Puran account or private package. uv shares its dependency cache between isolated tool environments. PyPI publishing has not been configured; the pinned public Git release is the installation path.

Related MCP server: Aerobic Design MCP Server

MCP client configuration

Use this configuration in a client supporting local stdio MCP servers:

{
  "mcpServers": {
    "water-chemistry-mcp": {
      "command": "uvx",
      "args": [
        "--python",
        "3.12",
        "--with",
        "puran-mcp-support @ git+https://github.com/puran-water/fluids-mcp.git@v0.1.0#subdirectory=support/puran-mcp-support",
        "--from",
        "git+https://github.com/puran-water/water-chemistry-mcp.git@v0.1.0",
        "water-chemistry-mcp"
      ]
    }
  }
}

Run the server in a user-owned working directory. Local input and result files belong to that user. Hosted HTTP authentication and managed employee access are outside this release.

Known issues

  • Complete chemistry regression qualification. The earlier broader source suites retained failed, skipped and incomplete cases. The public smoke tests cover only their stated cases and do not close every chemistry regression.

  • Qualify native PHREEQC installation across platforms. The public artifact does not bundle a newly qualified native runtime for every OS and architecture. Native-library loading and chemistry parity need platform-specific validation.

  • Qualify additional redistributable databases. Only databases with retained source and notice records are bundled. Other historical database variants are excluded rather than silently substituted.

  • Repair optional bulk database downloader import. Static review finds the optional bulk downloader references concurrent.futures without importing concurrent. The bundled-library speciation path passes its recorded checks. External database downloading was not qualified in this release.

See known issue details, test results, content scan, and licensing inventory. These limitations are disclosed for early feedback.

License and attribution

See LICENSE, NOTICE and THIRD-PARTY-NOTICES for the wrapper and retained upstream material. External dependencies retain their own licenses.

Built by Puran Water.

Historical source-suite snapshot: 32 error, 506 passed. These counts predate the cleaned standalone export; they are not its qualification result. Later repairs covered selected subsets only. See historical quality scope.

The stdio entrypoint selects the PhreeqPython shared library by default. No Windows executable is required. An explicitly configured USE_PHREEQC_SUBPROCESS=1 selects a separately installed executable; that path and ARM native packaging remain outside this release qualification.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that provides a toolbox for interacting with EPA SWMM stormwater models, enabling users to analyze model data and interpret results through LLM-driven tools. It assists stormwater modelers in understanding hydraulic systems and modeling behavior using natural language interfaces.
    18
    8
    MIT
  • F
    license
    Not graded
    quality
    F
    maintenance
    An intelligent MCP server for the automated design and sizing of aerobic biological wastewater treatment systems using membrane bioreactor (MBR) technology. It leverages ASM2d kinetics to perform mass balance calculations, flowsheet selection, and generate detailed engineering reports.
    -
  • A
    license
    A
    quality
    D
    maintenance
    A collection of MCP servers for chemical engineering and chemistry applications, enabling AI assistants to perform thermodynamic calculations, equation of state modeling, and phase equilibrium computations.
    5
    MIT