mcp-server-epanet
v0.2.0A 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).
| Parameter | Type | Description |
|---|---|---|
file_name * | string |
modify_network
Apply engineering interventions using the structured Intervention model.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
interventions * | array |
plot_network
Generates a visual representation of the network layout.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
low_threshold | number | |
only_critical | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
low_threshold | number | |
only_critical | boolean |
get_pressures_less_than
Filters nodes by pressure threshold in any network.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
threshold * | number |
get_pipes_over
Filters pipes by velocity threshold in any network.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
threshold * | number |