river_flood_stages
Pack: usgs-water · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/river_flood_stages for the schema, then POST the same URL with its arguments for the data.
Official flood-stage thresholds for a river gauge, from the NOAA National Water Prediction Service gauge record: the action, minor, moderate and major flood stages in feet (and the flow at each, where the Service publishes one), plus the gauge name, NWS gauge id, USGS site number, state, county and forecast office, and the current observed stage with its flood category.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
site | string | yes | USGS site number (8-15 digits, e.g. “04113000”) or NWS gauge id (5 characters, e.g. “LNSM4”). A “USGS-” prefix is accepted. |
Example call
Arguments
{
"site": "04113000"
}
curl
curl -X POST https://gateway.pipeworx.io/usgs-water/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"river_flood_stages","arguments":{"site":"04113000"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('river_flood_stages', {
"site": "04113000"
});
More examples
{
"site": "01646500"
}
Response shape
Always returns: found
| Field | Type | Description |
|---|---|---|
found | boolean | false when the gauge is unknown or has no flood stages; see reason |
reason | string | |
site | string | |
gauge_id | string | null | |
usgs_site | string | null | |
name | string | null | |
state | string | null | |
county | string | null | |
forecast_office | string | null | |
stage_unit | string | |
flood_stages | object | |
flow_at_stage | object | |
current | object | null | |
source | string | |
error | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "false when the gauge is unknown or has no flood stages; see reason"
},
"reason": {
"type": "string"
},
"site": {
"type": "string"
},
"gauge_id": {
"type": [
"string",
"null"
]
},
"usgs_site": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"county": {
"type": [
"string",
"null"
]
},
"forecast_office": {
"type": [
"string",
"null"
]
},
"stage_unit": {
"type": "string"
},
"flood_stages": {
"type": "object",
"properties": {
"action": {
"type": [
"number",
"null"
]
},
"minor": {
"type": [
"number",
"null"
]
},
"moderate": {
"type": [
"number",
"null"
]
},
"major": {
"type": [
"number",
"null"
]
}
}
},
"flow_at_stage": {
"type": "object",
"properties": {
"unit": {
"type": "string"
},
"action": {
"type": [
"number",
"null"
]
},
"minor": {
"type": [
"number",
"null"
]
},
"moderate": {
"type": [
"number",
"null"
]
},
"major": {
"type": [
"number",
"null"
]
}
}
},
"current": {
"type": [
"object",
"null"
],
"properties": {
"stage": {
"type": [
"number",
"null"
]
},
"unit": {
"type": "string"
},
"flood_category": {
"type": [
"string",
"null"
]
},
"valid_time": {
"type": [
"string",
"null"
]
}
}
},
"source": {
"type": "string"
},
"error": {
"type": "string"
}
},
"required": [
"found"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the usgs-water pack
{
"mcpServers": {
"usgs-water": {
"url": "https://gateway.pipeworx.io/usgs-water/mcp"
}
}
}
See Getting Started for client-specific install steps.