forecast

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

Get a daily or hourly weather forecast for a location. Returns a list of forecast periods with conditions, temperatures, precipitation probability, and wind. Location can be “lat,lon” coordinates or a city name. Example: forecast({ location: “london”, timestep: “1d”, units: “metric” })

Parameters

NameTypeRequiredDescription
locationstringyesLocation to look up — either “lat,lon” coordinates (e.g. “40.71,-74.01”) or a city name (e.g. “new york”)
timestepstringnoForecast granularity: “1d” daily (default) or “1h” hourly
unitsstringnoUnit system: “metric” (default) or “imperial”
_apiKeystringnoTomorrow.io API key (optional — get a free one at tomorrow.io; if omitted the platform key is used)

Example call

Arguments

{
  "location": "london",
  "timestep": "1d",
  "units": "metric"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('forecast', {
  "location": "london",
  "timestep": "1d",
  "units": "metric"
});

More examples

{
  "location": "40.71,-74.01",
  "timestep": "1h",
  "units": "imperial",
  "_apiKey": "your-tomorrow-io-api-key"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 8, 2026