ukflood_stations_near
Pack: uk-flood-monitoring · Endpoint: https://gateway.pipeworx.io/uk-flood-monitoring/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ukflood_stations_near for the schema, then POST the same URL with its arguments for the data.
Environment Agency river, groundwater, tidal and rainfall monitoring stations near a point in England, with the measures each one reports. Use this to find the station id you then pass to ukflood_station_readings. Returns station reference, label, river and catchment name, town, coordinates and the parameter/unit of every measure at that station. Example: latitude 51.5, longitude -0.12, radius_km 10 for central London.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | no | Latitude in decimal degrees, e.g. 51.5 (London). |
longitude | number | no | Longitude in decimal degrees, e.g. -0.12 (London). |
radius_km | number | no | Search radius in kilometres (default 10, max 100). |
parameter | string | no | Optional measure filter: “level” (water level), “flow” (river discharge), “rainfall”, “temperature”, “wind”. Omit for all. |
river | string | no | Optional river name filter, e.g. “River Thames”. Can be used without coordinates. |
limit | number | no | Max stations to return (default 20, max 100). |
Example call
Arguments
{
"latitude": 51.5,
"longitude": -0.12,
"radius_km": 10,
"parameter": "level"
}
curl
curl -X POST https://gateway.pipeworx.io/uk-flood-monitoring/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ukflood_stations_near","arguments":{"latitude":51.5,"longitude":-0.12,"radius_km":10,"parameter":"level"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ukflood_stations_near', {
"latitude": 51.5,
"longitude": -0.12,
"radius_km": 10,
"parameter": "level"
});
More examples
{
"river": "River Thames",
"limit": 3
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"uk-flood-monitoring": {
"url": "https://gateway.pipeworx.io/uk-flood-monitoring/mcp"
}
}
}
See Getting Started for client-specific install steps.