current_conditions

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/current_conditions for the schema, then POST the same URL with its arguments for the data.

Latest instantaneous (real-time) readings for one or more USGS gauge sites. Returns the most recent value per site × parameter — e.g. current streamflow and gage height for a river.

Parameters

NameTypeRequiredDescription
sitesstringyesComma-separated USGS site numbers, e.g. “01646500” (Potomac at Washington DC) or “01646500,01647000”.
parameter_codesstringnoComma-separated USGS parameter codes (default “00060,00065” = streamflow + gage height).

Example call

Arguments

{
  "sites": "01646500"
}

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":"current_conditions","arguments":{"sites":"01646500"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('current_conditions', {
  "sites": "01646500"
});

More examples

{
  "sites": "01646500,01647000",
  "parameter_codes": "00060,00065,00010"
}

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 October 24, 2026