Retrieve free weather data for renewables forecasting using the Open-Meteo API

domain: api.open-meteo.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. No API key is required for non-commercial use; make GET requests to https://api.open-meteo.com/v1/forecast with latitude, longitude, and desired hourly or daily variable names.
  2. For solar forecasting, request hourly variables including shortwave_radiation, direct_radiation, diffuse_radiation, direct_normal_irradiance, and cloud_cover; for wind power forecasting include windspeed_10m or windspeed_100m and winddirection_10m.
  3. Specify a forecast horizon using the forecast_days parameter (up to 16 days); for past data, use the past_days parameter or the historical weather API endpoint at https://archive-api.open-meteo.com/v1/archive.
  4. Parse the JSON response: the hourly object contains a 'time' array of ISO 8601 UTC timestamps and parallel arrays for each requested variable; align them by index.
  5. For production use requiring higher rate limits or commercial licensing, register for a paid plan at open-meteo.com; the free tier is suitable for prototyping but has usage limits.

Known gotchas

Related routes

Fetch solar irradiance and weather forecast data for a PV site using the Open-Meteo API.
open-meteo.com · 5 steps · unrated
Retrieve individual ensemble member forecasts for a location from Open-Meteo's Ensemble API
ensemble-api.open-meteo.com · 5 steps · unrated
Fetch current weather and forecasts from OpenWeatherMap API with correct units and caching
openweathermap · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans