Paid pack · 210 sats ≈ $0.16
Local Weather
Current weather for any location on Earth. One command, clean JSON, no API key. Supports city names, coordinates, and zip codes. Filter by conditions (temp, wind, humidity, precip, UV, etc.). Powered by Open-Meteo — free and open-source.
What you get
A single bash script that fetches current weather for any location on Earth and returns clean, structured JSON. No API key, no signup, no setup.
- Any location — city name, lat/lon coordinates, or US zip code
- Conditions filter — request only the fields you need: temp, wind, humidity, precip, UV, pressure, cloud cover, visibility
- Metric or imperial —
--units imperialfor Fahrenheit/mph, metric is default - No API key — powered by Open-Meteo (free, open-source weather API)
- Agent-ready — clean JSON output, one command, zero config
Example
bash scripts/weather.sh "New York" --units imperial --conditions temp,wind
{
"location": {"name": "New York", "latitude": 40.71, "longitude": -74.01, ...},
"current": {"temp": 58.2, "feels_like": 55.1, "wind_speed": 12.3, "wind_compass": "SW", ...},
"units": "imperial"
}
Setup
- Unzip:
unzip local-weather.zip - Run:
bash scripts/weather.sh "Your City" - That’s it. No env vars, no dependencies beyond bash, curl, and python3.