realtime
Pack: tomorrow-io · Endpoint: https://gateway.pipeworx.io/tomorrow-io/mcp
Get current/real-time weather conditions for a location — temperature, feels-like, humidity, wind, precipitation probability, cloud cover, UV index, and visibility. Location can be “lat,lon” coordinates or a city name. Example: realtime({ location: “new york”, units: “imperial” }) or realtime({ location: “40.71,-74.01” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
location | string | yes | Location to look up — either “lat,lon” coordinates (e.g. “40.71,-74.01”) or a city name (e.g. “new york”, “london”) |
units | string | no | Unit system: “metric” (default) or “imperial” |
_apiKey | string | no | Tomorrow.io API key (optional — get a free one at tomorrow.io; if omitted the platform key is used) |
Example call
Arguments
{
"location": "new york",
"units": "imperial",
"_apiKey": "your-tomorrow-io-api-key"
}
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":"realtime","arguments":{"location":"new york","units":"imperial","_apiKey":"your-tomorrow-io-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('realtime', {
"location": "new york",
"units": "imperial",
"_apiKey": "your-tomorrow-io-api-key"
});
More examples
{
"location": "40.71,-74.01"
}
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.