get_daily
Pack: usgswater · Endpoint: https://gateway.pipeworx.io/usgswater/mcp
Get daily mean streamflow values for a USGS site over a date range. Dates must be in YYYY-MM-DD format.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | USGS site number |
start | string | yes | Start date in YYYY-MM-DD format |
end | string | yes | End date in YYYY-MM-DD format |
Example call
Arguments
{
"site_id": "01646500",
"start": "2024-01-01",
"end": "2024-12-31"
}
curl
curl -X POST https://gateway.pipeworx.io/usgswater/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_daily","arguments":{"site_id":"01646500","start":"2024-01-01","end":"2024-12-31"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_daily', {
"site_id": "01646500",
"start": "2024-01-01",
"end": "2024-12-31"
});
More examples
{
"site_id": "01638500",
"start": "2023-06-01",
"end": "2024-01-31"
}
Response shape
Always returns: site_id, site_name, start, end, series
| Field | Type | Description |
|---|---|---|
site_id | string | USGS site number |
site_name | string | null | Name of the monitoring site |
start | string | Start date in YYYY-MM-DD format |
end | string | End date in YYYY-MM-DD format |
series | array | Array of daily mean series data |
Full JSON Schema
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"description": "USGS site number"
},
"site_name": {
"type": [
"string",
"null"
],
"description": "Name of the monitoring site"
},
"start": {
"type": "string",
"description": "Start date in YYYY-MM-DD format"
},
"end": {
"type": "string",
"description": "End date in YYYY-MM-DD format"
},
"series": {
"type": "array",
"description": "Array of daily mean series data",
"items": {
"type": "object",
"properties": {
"parameter": {
"type": [
"string",
"null"
],
"description": "Parameter name"
},
"unit": {
"type": [
"string",
"null"
],
"description": "Unit code"
},
"values": {
"type": "array",
"description": "Daily values for the date range",
"items": {
"type": "object",
"properties": {
"date": {
"type": [
"string",
"null"
],
"description": "ISO date of the daily value"
},
"value": {
"type": [
"number",
"null"
],
"description": "Daily mean value"
},
"qualifiers": {
"type": "array",
"description": "Data quality qualifiers",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
},
"required": [
"site_id",
"site_name",
"start",
"end",
"series"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"usgswater": {
"url": "https://gateway.pipeworx.io/usgswater/mcp"
}
}
}
See Getting Started for client-specific install steps.