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

NameTypeRequiredDescription
sitestringyesUSGS 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

FieldTypeDescription
foundbooleanfalse when the gauge is unknown or has no flood stages; see reason
reasonstring
sitestring
gauge_idstring | null
usgs_sitestring | null
namestring | null
statestring | null
countystring | null
forecast_officestring | null
stage_unitstring
flood_stagesobject
flow_at_stageobject
currentobject | null
sourcestring
errorstring
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.

Regenerated from source · build November 29, 2026