OpenWeatherMap API
Build a daily weather briefing and alert system
Pull current weather, 5-day forecasts, and air pollution data. Build a morning briefing that texts you the weather, rain probability, and UV index.
Free. 1,000 calls/day. Current weather + 5-day forecast.
How it works with Loony
Describe it.
Deploy it.
Query it.
Managed database.
Your OpenWeatherMap data lives in its own Postgres instance. Zero config. Data accumulates over time.
Scheduled syncs.
Cron jobs run on Loony infra. Every minute on free. Your data stays fresh without you thinking about it.
REST + MCP endpoints.
Query from your agent, your dashboard, or connect BI tools directly. Full OpenAPI spec included.
$ "Pull daily weather and air quality for my location from OpenWeatherMap. Store historical data. Build a morning briefing view with rain probability and AQI." ✓ Schema validated ✓ Database provisioned ✓ Scripts deployed ✓ Schedules registered Done. # Your data is now at: REST /data/v1/openweathermap/query MCP /mcp/v1/openweathermap/mcp SQL psql $DATABASE_URL
What you get
OpenWeatherMap gives you right now. Loony stores every day's weather, building a local archive. After a year, you can query 'What's the weather usually like this week in March?' from your own data.
mv_daily_briefing date date -- today temp_c numeric -- current temperature feels_like_c numeric -- wind chill / heat index rain_prob numeric -- % chance of rain uv_index integer -- UV level aqi integer -- air quality index summary text -- clear | cloudy | rain | snow
Even better together
Pair with Open-Meteo for deeper historical data. Add Strava to get 'Should I run today?' recommendations based on weather and your recent training load.