get_forecast
Retrieve future weather forecasts for any location with daily or hourly detail, including temperature, precipitation, wind, conditions, and sunrise/sunset times.
Instructions
Get future weather forecast for a location (global coverage). Use this for upcoming weather predictions (e.g., "tomorrow", "this week", "next 7 days", "hourly forecast"). Returns forecast data including temperature, precipitation, wind, conditions, and sunrise/sunset times. Supports both daily and hourly granularity. Automatically selects best data source: NOAA for US locations (more detailed), Open-Meteo for international locations. For current weather, use get_current_conditions. For past weather, use get_historical_weather. Can use either coordinates OR a saved location name (e.g., location_name="home"). If this tool returns an error, check the error message for status page links and consider using check_service_status to verify API availability.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to include in forecast (1-16 for global, 1-7 for US NOAA, default: 7) | |
| source | No | Data source: "auto" (default, selects NOAA for US or Open-Meteo for international), "noaa" (US only), or "openmeteo" (global) | auto |
| latitude | No | Latitude of the location (-90 to 90). Not required if location_name is provided. | |
| longitude | No | Longitude of the location (-180 to 180). Not required if location_name is provided. | |
| granularity | No | Forecast granularity: "daily" for day/night periods or "hourly" for hour-by-hour detail (default: "daily") | daily |
| location_name | No | Name of a saved location (e.g., "home", "cabin"). Use this instead of latitude/longitude to reference a saved location. List saved locations with list_saved_locations. | |
| include_normals | No | Include climate normals (30-year averages) for comparison with forecasted temperatures (default: false, daily forecasts only). Shows normal high/low and departure from normal for the first forecast day. | |
| include_severe_weather | No | Include severe weather probabilities such as thunderstorm chance, wind gust probabilities, and tropical storm/hurricane risks (default: false, US/NOAA only) | |
| include_precipitation_probability | No | Include precipitation probability in the forecast output (default: true) |