name: openmeteo-sh-weather-simple
description: "Get current weather and forecasts for any city or coordinates using free OpenMeteo API. Use when the user asks about weather, temperature, rain, snow, wind, or wants to know if they need an umbrella."
metadata: {"openclaw":{"emoji":"๐ค","requires":{"bins":["openmeteo"]}}}
homepage: https://github.com/lstpsche/openmeteo-sh
user-invocable: true
OpenMeteo Weather (openmeteo-sh)
Current weather and forecasts (up to 16 days) via openmeteo CLI. No API key required.
Quick reference
openmeteo weather --current --city=Berlin --llm
openmeteo weather --current --forecast-days=2 --city=London --llm
openmeteo weather --forecast-days=7 --forecast-since=5 --city=Rome --llm
openmeteo weather --current --lat=48.85 --lon=2.35 --llm
Location (pick one)
--city=NAMEโ city name (auto-geocoded)--city=NAME --country=CODEโ disambiguate (e.g. Portland --country=US)--lat=NUM --lon=NUMโ direct coordinates
Options
--currentโ current conditions--forecast-days=Nโ forecast length, 1โ16 (default 7)--forecast-since=Nโ start from day N (1=today, 2=tomorrow). Must be <= forecast-days.--hourly-params=LISTโ override hourly variables (comma-separated)--daily-params=LISTโ override daily variables (comma-separated)--current-params=LISTโ override current variables (comma-separated)--temperature-unit=UNITโ celsius (default) / fahrenheit--llmโ always pass this
Variables
Defaults are sensible for general weather. Override only when needed.
Current & hourly:
temperature_2mโ air temp, Capparent_temperatureโ feels-like, Cprecipitationโ rain+showers+snow, mmprecipitation_probability(hourly only) โ chance of precipitation, %weather_codeโ condition, auto-resolved to textwind_speed_10mโ wind, km/hwind_gusts_10mโ gusts, km/hcloud_coverโ cloud cover, %snowfallโ snowfall, cmuv_index(hourly only) โ UV index
Daily:
temperature_2m_max/temperature_2m_minโ max/min temp, Cprecipitation_sumโ total precipitation, mmprecipitation_probability_maxโ max precipitation chance, %weather_codeโ dominant conditionwind_speed_10m_maxโ max wind, km/hsunrise/sunsetโ timessnowfall_sumโ total snowfall, cm
Rules
Always pass
--llm.Quote all user-provided values in shell commands:
--city="New York",--city="St. Petersburg". Only known-safe tokens (numbers, single ASCII words) may be unquoted.Never use
helpsubcommand or--rawโ work only with what's described here.No location specified -> use the user's default city/country if known from session context.
Summarize results naturally โ never paste raw output.
Use
--forecast-days=1for today,=2for tomorrow โ minimize token waste.Use
--forecast-since=Nto skip to a specific future day.For targeted questions, override params to fetch only what's needed.
When the user switches cities ("and what about London?"), carry over all params used in prior weather queries this conversation โ including any added in follow-ups. The new city gets the union of all previously requested params.
Examples
"What's the weather like?" -> openmeteo weather --current --city=Berlin --llm
Summarize: "Clear, -12C (feels -17C), wind 9 km/h."
"When will the rain stop?" -> openmeteo weather --forecast-days=2 --city=Berlin --hourly-params=precipitation,precipitation_probability,weather_code --llm
Find when precipitation hits ~0. Answer: "Should stop around 14:00."
"Do I need an umbrella?" -> openmeteo weather --forecast-days=1 --city=Berlin --hourly-params=precipitation,precipitation_probability,weather_code --llm
"Yes โ 70% chance between 11:00-15:00, up to 2mm."
"Weather this weekend in Rome?" -> openmeteo weather --forecast-days=7 --forecast-since=5 --city=Rome --daily-params=temperature_2m_max,temperature_2m_min,weather_code,precipitation_sum --llm
Present only Sat/Sun: "Saturday: 14/8C, partly cloudy. Sunday: 16/9C, clear."
"Temperature outside?" -> openmeteo weather --current --city=Berlin --current-params=temperature_2m,apparent_temperature --llm
"-5C, feels like -9C."