daily_values

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

Daily-values time series for a single USGS site + parameter over a date range. Returns one statistic per day (default mean). Useful for trends, hydrographs, and historical comparison.

Parameters

NameTypeRequiredDescription
sitestringyesA single USGS site number, e.g. “01646500”.
parameter_codestringnoUSGS parameter code (default “00060” = discharge/streamflow).
stat_codestringnoDaily statistic code (default “00003” = mean; 00001 = max, 00002 = min).
start_datestringyesStart date, YYYY-MM-DD.
end_datestringyesEnd date, YYYY-MM-DD.

Example call

Arguments

{
  "site": "01646500",
  "start_date": "2024-01-01",
  "end_date": "2024-12-31"
}

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":"daily_values","arguments":{"site":"01646500","start_date":"2024-01-01","end_date":"2024-12-31"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('daily_values', {
  "site": "01646500",
  "start_date": "2024-01-01",
  "end_date": "2024-12-31"
});

More examples

{
  "site": "01646500",
  "parameter_code": "00010",
  "stat_code": "00001",
  "start_date": "2023-06-01",
  "end_date": "2023-09-30"
}

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