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
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) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"days": {
"description": "Number of days to forecast (1-5, default: 5)",
"maximum": 5,
"minimum": 1,
"type": "number"
},
"location": {
"description": "City name (e.g., 'New York') or coordinates (e.g., 'lat,lon')",
"type": "string"
},
"units": {
"description": "Temperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin)",
"enum": [
"metric",
"imperial",
"standard"
],
"type": "string"
}
},
"required": [
"location"
],
"type": "object"
}