forecast

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

Get a multi-step weather forecast (3-hour intervals) for a city or coordinates: temperature, conditions, wind speed, and precipitation probability over time. Example: forecast({ city: “Tokyo”, count: 8 })

Parameters

NameTypeRequiredDescription
citystringnoCity name, optionally with country code, e.g. “Tokyo” or “Tokyo,JP”. Provide this OR lat/lon.
latnumbernoLatitude. Use with lon instead of city.
lonnumbernoLongitude. Use with lat instead of city.
unitsstringnoTemperature units: “metric” (C, default), “imperial” (F), or “standard” (K).
countnumbernoNumber of 3-hour forecast steps to return (default 8 = next 24h, max 40 = 5 days).

Example call

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

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build June 3, 2026