pull a multi-year historical hourly weather archive for a site using the Open-Meteo Historical Weather API to compute heating/cooling degree days
domain: open-meteo.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
No API key is required for non-commercial use; identify the site's latitude/longitude
Call the archive API with latitude, longitude, start_date, and end_date parameters
Request hourly temperature_2m (and optionally shortwave_radiation) in the hourly parameter list
Convert returned hourly temperatures to daily mean values, then compute heating degree days (HDD) and cooling degree days (CDD) against a base temperature
Set timezone=auto or an explicit timezone to align degree-day calculations with local calendar days rather than UTC
Cache results locally since archive data for past dates does not change
Known gotchas
The archive API has a data latency of a few days before the most recent dates are available
Degree-day results are sensitive to the chosen base temperature and to whether daily aggregation uses local time or UTC; mismatched timezones skew HDD/CDD totals
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?