weather
Get current weather and forecasts with no API key using wttr.in and Open-Meteo.
Files1
View on GitHubSKILL.mdskills/integrations/weather/SKILL.md
GitHubweather
Two free weather services, no API keys required.
wttr.in (primary)
Quick one-liner:
curl -s "wttr.in/London?format=3"
Compact format:
curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
Full forecast:
curl -s "wttr.in/London?T"
Format codes:
%ccondition%ttemperature%hhumidity%wwind%llocation%mmoon
Tips:
- URL-encode spaces:
wttr.in/New+York - Airport codes work:
wttr.in/JFK - Units:
?mmetric,?uUSCS - Today only:
?1, current only:?0 - PNG output:
curl -s "wttr.in/Berlin.png" -o weather.png
Open-Meteo (fallback JSON)
Programmatic JSON endpoint:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12¤t_weather=true"
Use this when you need structured fields like temperature, windspeed, and weathercode. Docs: https://open-meteo.com/en/docs