forecast_grid

Pack: pirate-weather · Endpoint: https://gateway.pipeworx.io/pirate-weather/mcp

GFS/ECMWF grid forecast.

Parameters

NameTypeRequiredDescription
latnumberyes
lonnumberyes
timestringno
unitsstringno

Example call

Arguments

{
  "lat": 40.7128,
  "lon": -74.006
}

curl

curl -X POST https://gateway.pipeworx.io/pirate-weather/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"forecast_grid","arguments":{"lat":40.7128,"lon":-74.006}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('forecast_grid', {
  "lat": 40.7128,
  "lon": -74.006
});

More examples

{
  "lat": 35.6762,
  "lon": 139.6503,
  "time": "2024-01-15T00:00:00Z",
  "units": "us"
}

Response shape

FieldTypeDescription
latitudenumberLatitude of forecast point
longitudenumberLongitude of forecast point
timezonestringTimezone of location
hourlyobjectHourly grid forecast
dailyobjectDaily grid forecast
Full JSON Schema
{
  "type": "object",
  "description": "GFS/ECMWF grid forecast response",
  "properties": {
    "latitude": {
      "type": "number",
      "description": "Latitude of forecast point"
    },
    "longitude": {
      "type": "number",
      "description": "Longitude of forecast point"
    },
    "timezone": {
      "type": "string",
      "description": "Timezone of location"
    },
    "hourly": {
      "type": "object",
      "description": "Hourly grid forecast",
      "properties": {
        "data": {
          "type": "array",
          "description": "Array of hourly forecasts",
          "items": {
            "type": "object",
            "properties": {
              "time": {
                "type": "integer",
                "description": "Unix timestamp"
              },
              "temperature": {
                "type": "number",
                "description": "Temperature"
              },
              "dewpoint": {
                "type": "number",
                "description": "Dew point"
              },
              "windSpeed": {
                "type": "number",
                "description": "Wind speed"
              },
              "windDirection": {
                "type": "number",
                "description": "Wind direction degrees"
              },
              "windGust": {
                "type": "number",
                "description": "Wind gust speed"
              },
              "precipitationRate": {
                "type": "number",
                "description": "Precipitation rate"
              },
              "visibility": {
                "type": "number",
                "description": "Visibility"
              },
              "ceilingHeight": {
                "type": "number",
                "description": "Ceiling height"
              },
              "cloudCover": {
                "type": "number",
                "description": "Cloud cover percentage"
              },
              "relativeHumidity": {
                "type": "number",
                "description": "Relative humidity"
              },
              "pressure": {
                "type": "number",
                "description": "Pressure"
              }
            }
          }
        }
      }
    },
    "daily": {
      "type": "object",
      "description": "Daily grid forecast",
      "properties": {
        "data": {
          "type": "array",
          "description": "Array of daily forecasts",
          "items": {
            "type": "object"
          }
        }
      }
    }
  }
}

Connect

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

{
  "mcpServers": {
    "pirate-weather": {
      "url": "https://gateway.pipeworx.io/pirate-weather/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026