current_conditions
Pack: usgs-water · Endpoint: https://gateway.pipeworx.io/usgs-water/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
sites | string | yes | Comma-separated USGS site numbers, e.g. “01646500” (Potomac at Washington DC) or “01646500,01647000”. |
parameter_codes | string | no | Comma-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, or use one-click install buttons:
{
"mcpServers": {
"usgs-water": {
"url": "https://gateway.pipeworx.io/usgs-water/mcp"
}
}
}
See Getting Started for client-specific install steps.