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
| Name | Type | Required | Description |
|---|---|---|---|
city | string | no | City name, optionally with country code, e.g. “Tokyo” or “Tokyo,JP”. Provide this OR lat/lon. |
lat | number | no | Latitude. Use with lon instead of city. |
lon | number | no | Longitude. Use with lat instead of city. |
units | string | no | Temperature units: “metric” (C, default), “imperial” (F), or “standard” (K). |
count | number | no | Number 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.