Skip to main content
Glama
FlowCalc MCP Server

FlowCalc MCP Server

README.md
# FlowCalc MCP Server (`flowcalc-mcp`)

Zero-hallucination deterministic MCP Server for **Darcy-Weisbach pipe pressure drop, pump TDH/NPSHa, and industrial fan/duct sizing**.

Instead of letting an LLM guess steam tables, friction factors, or cold-start fan power, `flowcalc-mcp` executes auditable Python physics validated against **14/14 engineering benchmark groups**.

## Exposed MCP Tools
1. `calc_pipe_pump_system` — Haaland + Newton-Raphson Colebrook-White `f`, suction strainer `ΔP` deduction from NPSHa, altitude `Patm`, IEC motor sizing.
2. `calc_fan_duct_system` — Psychrometric/high-temp air density, circular & rectangular Huebscher `De`, vendor density conversion, cold-start motor overload check.
3. `calc_fan_affinity_laws` — Flow, pressure, shaft power, and `ΔLw` scaling for RPM, diameter, and density changes.
4. `calc_altitude_barometric_npsh` — Site barometric pressure `Patm` and water NPSHa drop vs sea level.

## Quick Setup (Zero External Dependencies, Python >= 3.10)

```json
{
  "mcpServers": {
    "flowcalc": {
      "command": "python",
      "args": ["-m", "flowcalc_mcp.server"],
      "cwd": "/path/to/flowcalc-mcp"
    }
  }
}
```

## Free Web Calculators & Reference Tables
- **Pipe & Pump Calculator**: https://flowcalc-6wt.pages.dev/
- **Fan & Duct Calculator**: https://flowcalc-6wt.pages.dev/fan
- **Reference Tables (EN / DE / JA / ES)**: https://flowcalc-6wt.pages.dev/ref/en/

## Audit-Ready Zero-Macro Excel Calculation Sheets (Pro)
Need unlocked, printable zero-macro Excel workbooks for engineering submittals and 6-case comparison?
- **Complete Flow + Fan Bundle ($29 · Save $9)**: https://hrythrive.gumroad.com/l/sxkfe

---

Provided as-is under the [MIT License](LICENSE).

TDQS

B3.2/5.0

Scored across 4 tools

Disambiguation4/5

Each tool targets a distinct calculation family: fan affinity scaling, altitude-based NPSH/barometrics, pipe-pump systems, and fan-duct systems. The main overlap is that calc_altitude_barometric_npsh computes NPSHa effects that are also partially incorporated into calc_pipe_pump_system, which could cause some selection uncertainty.

Naming Consistency5/5

All tools use a consistent calc_ prefix followed by snake_case domain descriptors. The convention is predictable across the entire set.

Tool Count5/5

Four specialized engineering calculators are well-scoped for this server. Each tool covers a meaningful calculation domain and none appears redundant or filler.

Completeness4/5

The toolset covers fan laws, altitude/NPSH, pipe-pump systems, and fan-duct systems, which is a coherent core for flow calculations. Minor gaps remain, such as pump affinity-law scaling or broader component-level losses, but agents can work around these for common use cases.