get_water_levels
Pack: tides · Endpoint: https://gateway.pipeworx.io/tides/mcp
Get the latest observed water level for a NOAA station.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
station_id | string | yes | NOAA station ID (e.g. “9414290” for San Francisco) |
Example call
Arguments
{
"station_id": "9414290"
}
curl
curl -X POST https://gateway.pipeworx.io/tides/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_water_levels","arguments":{"station_id":"9414290"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_water_levels', {
"station_id": "9414290"
});
Response shape
Always returns: station_id, datum, units, latest
| Field | Type | Description |
|---|---|---|
station_id | string | NOAA station ID |
datum | string | Vertical datum reference (MLLW) |
units | string | Measurement units (feet) |
latest | object | null | Latest observed water level data or null if unavailable |
Full JSON Schema
{
"type": "object",
"properties": {
"station_id": {
"type": "string",
"description": "NOAA station ID"
},
"datum": {
"type": "string",
"description": "Vertical datum reference (MLLW)"
},
"units": {
"type": "string",
"description": "Measurement units (feet)"
},
"latest": {
"type": [
"object",
"null"
],
"description": "Latest observed water level data or null if unavailable",
"properties": {
"time": {
"type": "string",
"description": "Observation timestamp"
},
"value_ft": {
"type": "number",
"description": "Water level in feet"
},
"sigma": {
"type": "string",
"description": "Standard deviation/uncertainty"
},
"quality": {
"type": "string",
"description": "Data quality flag"
}
}
}
},
"required": [
"station_id",
"datum",
"units",
"latest"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"tides": {
"url": "https://gateway.pipeworx.io/tides/mcp"
}
}
}
See Getting Started for client-specific install steps.