← Package Index
mcp-openmeteo mcp
v1.0.0 · MCP Tool · information · registry.pascalai.org
Detailed weather via Open-Meteo API (free, no API key). Modes: forecast (current + daily up to 16 days), hourly (hour-by-hour data), historical (ERA5 past data by date range). Supports city names, 'City, Country', or 'lat,lon' coordinates.
weather forecast hourly historical climate temperature precipitation openmeteo pronostico clima
Input Parameters
Parameter Type Description
locationrequired
string
City name, 'City, Country', or 'lat,lon' coordinates
modeoptional
string
Mode: forecast (current+daily, default), hourly, historical One of: forecast, hourly, historical. Default: forecast.
daysoptional
integer
Forecast/hourly days 1-16 (default: 7) Default: 7.
startDateoptional
string
Historical start date YYYY-MM-DD (required for historical mode)
endDateoptional
string
Historical end date YYYY-MM-DD (required for historical mode)
unitsoptional
string
Units: metric (°C, km/h, mm) or imperial (°F, mph, inch). Default: metric One of: metric, imperial. Default: metric.
Output Fields
Field Type Description
location
object
units
string
current
object
Present in forecast mode
daily
array[object]
Present in forecast mode
hourly
array[object]
Present in hourly mode
historical
array[object]
Present in historical mode
Examples
7-day forecast for Buenos Aires
// Input
{
"location": "Buenos Aires",
"mode": "forecast",
"days": 7
}
// Output
{
"location": {
"name": "Buenos Aires",
"country": "Argentina"
},
"units": "metric",
"current": {
"temperature_c": 22.5,
"description": "Partly cloudy"
},
"daily": [
{
"date": "2026-05-07",
"max_c": 24,
"min_c": 15,
"description": "Mainly clear"
}
]
}
Hourly forecast for next 2 days in Madrid
// Input
{
"location": "Madrid, Spain",
"mode": "hourly",
"days": 2
}
// Output
{
"location": {
"name": "Madrid",
"country": "Spain"
},
"units": "metric",
"hourly": [
{
"time": "2026-05-07T00:00",
"temperature_c": 14.2,
"humidity_pct": 68
}
]
}
Historical data for New York, January 2025
// Input
{
"location": "New York",
"mode": "historical",
"startDate": "2025-01-01",
"endDate": "2025-01-07"
}
// Output
{
"location": {
"name": "New York",
"country": "United States"
},
"units": "metric",
"historical": [
{
"date": "2025-01-01",
"max_c": 3.2,
"min_c": -2.1,
"precipitation_mm": 0
}
]
}
Install & Discovery
Install
ppm install mcp-openmeteo
Get JSON Schema
GET /v1/packages/mcp-openmeteo/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=weather
Discovery hint: Install with ppm install mcp-openmeteo or invoke remotely via POST /v1/invoke/mcp-openmeteo on the MCP Service.