mcp-server-epanet

v0.2.0
mcp-server-epanet Checked 17 hours ago Published 5 months ago

A Model Context Protocol server providing tools to simulate and analyse EPANET water distribution networks

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

run_epanet_simulation

Runs a full simulation on any network (Original or Modified).

ParameterTypeDescription
file_name *string

modify_network

Apply engineering interventions using the structured Intervention model.

ParameterTypeDescription
file_name *string
interventions *array

plot_network

Generates a visual representation of the network layout.

ParameterTypeDescription
file_name *string

plot_pressures

Plots node pressures with an option to filter only for critical nodes. Args: file_name: Name of the .inp file. low_threshold: Pressure threshold for highlighting/filtering. only_critical: If True, only nodes below the threshold will be shown.

ParameterTypeDescription
file_name *string
low_thresholdnumber
only_criticalboolean

plot_velocities

Plots pipe velocities, highlighting low-velocity pipes (potential stagnation). Args: file_name: Name of the .inp file. low_threshold: Velocity below which pipes are highlighted (default 0.5 m/s). only_critical: If True, only pipes below the threshold will be shown.

ParameterTypeDescription
file_name *string
low_thresholdnumber
only_criticalboolean

get_pressures_less_than

Filters nodes by pressure threshold in any network.

ParameterTypeDescription
file_name *string
threshold *number

get_pipes_over

Filters pipes by velocity threshold in any network.

ParameterTypeDescription
file_name *string
threshold *number