forecast
Pack: visualcrossing · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/forecast for the schema, then POST the same URL with its arguments for the data.
Get the upcoming 15-day daily weather FORECAST for a location — per-day temp/min/max, humidity, precipitation chance, wind, and conditions. Example: forecast({ location: “Berlin” }).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
location | string | yes | City name (e.g. “Berlin”) or “lat,lon”. |
units | string | no | Unit group: “metric” (default), “us”, or “uk”. |
_apiKey | string | no | Optional — your own Visual Crossing API key for higher limits; omit to use the shared Pipeworx key. |
Example call
Arguments
{
"location": "Berlin"
}
curl
curl -X POST https://gateway.pipeworx.io/visualcrossing/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"forecast","arguments":{"location":"Berlin"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('forecast', {
"location": "Berlin"
});
More examples
{
"location": "Sydney",
"units": "metric"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the visualcrossing pack
{
"mcpServers": {
"visualcrossing": {
"url": "https://gateway.pipeworx.io/visualcrossing/mcp"
}
}
}
See Getting Started for client-specific install steps.