get_predictions

Pack: tides · Endpoint: https://gateway.pipeworx.io/tides/mcp

Get hi/lo tide predictions for a NOAA station over a date range. Dates must be formatted YYYYMMDD.

Parameters

NameTypeRequiredDescription
station_idstringyesNOAA station ID (e.g. “9414290” for San Francisco)
begin_datestringyesStart date in YYYYMMDD format (e.g. “20240101”)
end_datestringyesEnd date in YYYYMMDD format (e.g. “20240107”)

Example call

Arguments

{
  "station_id": "9414290",
  "begin_date": "20240101",
  "end_date": "20240107"
}

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_predictions","arguments":{"station_id":"9414290","begin_date":"20240101","end_date":"20240107"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_predictions', {
  "station_id": "9414290",
  "begin_date": "20240101",
  "end_date": "20240107"
});

More examples

{
  "station_id": "8454000",
  "begin_date": "20240615",
  "end_date": "20240622"
}

Response shape

Always returns: station_id, begin_date, end_date, datum, units, count, predictions

FieldTypeDescription
station_idstringNOAA station ID
begin_datestringStart date in YYYYMMDD format
end_datestringEnd date in YYYYMMDD format
datumstringVertical datum reference (MLLW)
unitsstringMeasurement units (feet)
countintegerNumber of tide predictions returned
predictionsarrayArray of hi/lo tide predictions
Full JSON Schema
{
  "type": "object",
  "properties": {
    "station_id": {
      "type": "string",
      "description": "NOAA station ID"
    },
    "begin_date": {
      "type": "string",
      "description": "Start date in YYYYMMDD format"
    },
    "end_date": {
      "type": "string",
      "description": "End date in YYYYMMDD format"
    },
    "datum": {
      "type": "string",
      "description": "Vertical datum reference (MLLW)"
    },
    "units": {
      "type": "string",
      "description": "Measurement units (feet)"
    },
    "count": {
      "type": "integer",
      "description": "Number of tide predictions returned"
    },
    "predictions": {
      "type": "array",
      "description": "Array of hi/lo tide predictions",
      "items": {
        "type": "object",
        "properties": {
          "t": {
            "type": "string",
            "description": "Prediction time (ISO format)"
          },
          "v": {
            "type": "string",
            "description": "Predicted water level value"
          },
          "type": {
            "type": "string",
            "description": "Tide type (H for high, L for low)"
          }
        }
      }
    }
  },
  "required": [
    "station_id",
    "begin_date",
    "end_date",
    "datum",
    "units",
    "count",
    "predictions"
  ]
}

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.

Regenerated from source · build May 9, 2026