forecast
Pack: visualcrossing · Endpoint: https://gateway.pipeworx.io/visualcrossing/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"visualcrossing": {
"url": "https://gateway.pipeworx.io/visualcrossing/mcp"
}
}
}
See Getting Started for client-specific install steps.