get_stations

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

Find weather observation stations in a US state (e.g., “CA”, “NY”, “TX”). Returns station IDs, names, locations, and observation types.

Parameters

NameTypeRequiredDescription
statestringyesTwo-letter US state code (e.g. “CA”, “NY”)
limitnumbernoMaximum number of stations to return (default: 20)

Example call

Arguments

{
  "state": "NY"
}

curl

curl -X POST https://gateway.pipeworx.io/noaa/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_stations","arguments":{"state":"NY"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_stations', {
  "state": "NY"
});

More examples

{
  "state": "CA",
  "limit": 10
}

Response shape

Always returns: state, count, stations

FieldTypeDescription
statestringTwo-letter US state code
countnumberNumber of weather stations returned
stationsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "Two-letter US state code"
    },
    "count": {
      "type": "number",
      "description": "Number of weather stations returned"
    },
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Station identifier"
          },
          "name": {
            "type": "string",
            "description": "Station name"
          },
          "time_zone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Station time zone"
          },
          "coordinates": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "lon": {
                "type": "number",
                "description": "Longitude"
              },
              "lat": {
                "type": "number",
                "description": "Latitude"
              }
            },
            "required": [
              "lon",
              "lat"
            ],
            "description": "Station geographic coordinates"
          }
        },
        "required": [
          "id",
          "name",
          "time_zone",
          "coordinates"
        ]
      }
    }
  },
  "required": [
    "state",
    "count",
    "stations"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "noaa": {
      "url": "https://gateway.pipeworx.io/noaa/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026