get-weather-forecast
Retrieve detailed weather forecasts for up to 5 days by specifying location and preferred units (Celsius, Fahrenheit, or Kelvin) using OpenWeatherMap MCP Server.
Instructions
Get weather forecast for up to 5 days
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>"
},
"name": "get-weather-forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to forecast (1-5, default: 5) | |
| location | Yes | City name (e.g., 'New York') or coordinates (e.g., 'lat,lon') | |
| units | No | Temperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin) |