energyfigures.com · 2026
A live view of the NEM, on a data platform that refuses bad data
Energy Figures publishes Australian energy data. Its newest layer reads every large solar farm and grid battery on the NEM each 5 minutes and pushes the reading to every open page. Under it, the same platform grades land for solar farms against the grid, tracks home battery prices behind guards that refuse bad data, and answers battery questions in Claude through a plugin in the official Anthropic Claude plugin directory.
- 185 solar and battery units on the NEM, every 5 minutes
- Land graded against 124 operating solar farms
- 3,377 approved battery configurations
- Bad data refused before it publishes
- In the official Anthropic Claude plugin directory

The grid, every 5 minutes
AEMO publishes a SCADA file every dispatch interval: one MW reading per unit, about 149,000 a day across the 517 units in the file. A Worker fetches each new file, refuses one missing more than half its units, and keeps readings far outside a unit’s capacity out of the totals. One Durable Object holds the last 48 hours in SQLite and sends each new reading to every open page.
Each 5-minute reading
- AEMO SCADA file, every 5 minutes
- Worker on a cron
- Raw file to R2
- Guards
- Durable Object, 48 hours in SQLite
- WebSocket push to open pages
- Reading time, not interval end
- AEMO takes each SCADA value at the start of the 5-minute dispatch interval but stamps the row with the interval’s end. The page shows when the reading was taken, in NEM time (AEST all year), and how long it took to reach the site.
- Signs and units kept straight
- A battery unit reads negative while charging, so it’s shown as charging, never as negative output. Solar totals add positive readings only, and units missing from AEMO’s registration list are left out of every total.
- Sockets that don’t keep it awake
- Open sockets are held through the WebSocket Hibernation API and pings are answered without waking the Durable Object, so it runs only when a reading arrives. A page that loses its socket reconnects with backoff, then polls every minute and says so.
- Nothing lost, nothing overclaimed
- A missed run catches up on the next one, and every raw file stays in R2 so the live store can be rebuilt. A solar farm near zero at midday is flagged, never called a fault: the readings can’t tell curtailment from an outage.


Grading land against the grid
Solar developers approach farmers about leasing their land, and what makes a site work is mostly the grid: how far it is to a substation or line, and at what voltage. That sits in national datasets few landholders would ever open.
Pick any point in Australia and the check finds the nearest substation and line with their voltage, the slope, the sun and the farms nearby. Then it grades the point A to D against where 124 operating solar farms actually sit.

Checking a point
- A point on the map
- Nearest substation and line in PostGIS
- Slope and sun from rasters on R2
- Graded against operating farms
- Graded like a developer screens land
- A grid connection of the right voltage comes first, then enough land, land that can be approved, then slope and sun. Large sites are compared with large farms, so a 300 ha block isn’t judged against a 5 MW farm.
- The weakest part sets the grade
- One fatal flaw sinks a real site, so an average was the wrong shape. A point 23 km from a 66 kV substation gets a D however flat and sunny it is.
- Thresholds come from real farms
- No Australian guideline publishes distance or slope limits. Each grade says how a point compares with where operating farms actually sit, never what’s required.
- Some land isn’t graded at all
- Sydney’s CBD is half a kilometre from a 132 kV substation and used to score well. Built-up land, protected areas and points too far from the grid now say so instead.
Battery prices, checked before they publish
Australia’s federal battery rebate started in July 2025. The figures a buyer needs are spread across a regulator’s monthly files, a list of 3,377 approved battery configurations, and shop and installer websites that each lay out a price differently. Collection runs on Cloudflare on a schedule. The public site and the Claude plugin only read what it publishes.

Collecting the data
- Cron schedule
- Queue, one message per source
- Worker reads one source
- Raw output to R2
- Guards
- Postgres
- Reviewed snapshot
- One source per message
- The cron queues one message per source and returns. Each source gets its own run, time budget and retry, so one slow site can’t hold up the rest. A source that fails twice goes to a dead-letter queue for a person to look at.
- Raw output is kept first
- Every run’s raw output lands in R2 before anything is published, whether or not it passes. It works as a write-ahead log: the price history can be rebuilt from the archive with today’s code.
- Nothing is deleted
- An offer or battery that disappears gets a removed date instead. The history stays there to query.
- One package owns every number
- Rebates, price summaries and quote checks are computed once, in a tested package. The site and the Claude tools call the same code, so they can’t disagree.
Bad data is refused, not published
Sources go down, change their layout, or send a number that can’t be right. Each case has a rule in code, and every run records which rule fired.
- A run that collapses is refused
- If a source returns fewer than half the offers it had live, the run is refused and the last good data stays up. The same goes for the approved battery list shrinking by more than a fifth.
- Values out of range are held back
- A price under $200 or over $3,000 per usable kWh is a misread, usually a rebate or a saving. It’s stored with the reason and never shown.
- Every offer maps to a known battery
- An offer only publishes when it matches one configuration on the approved list. Anything ambiguous is kept unpublished, with the reason.
- Every attempt leaves a record
- Each run is recorded as ok, refused, failed or blocked, with skipped items grouped by reason. One endpoint answers whether last night’s runs went well.
In Claude
The plugin is a stateless MCP server on a Cloudflare Worker, listed in the official Anthropic Claude plugin directory. Every tool is read-only and it stores nothing a person asks.
Answering in Claude
- A question in Claude
- MCP server on a Worker
- Seven read-only tools
- Shared data package
- A card, plus the full answer as text


Tested before it changes
A change to how offers are read runs against a hand-labelled set. A change to a tool runs a real-model eval in Claude.
- 13 of 124
- operating farms graded D at their own sites, down from 37
- 21 of 23
- test prompts answered right in Claude, up from 11
- 95%
- minimum on a hand-labelled set of offers
- 7
- read-only tools, no login
- Stack
- TypeScript, Cloudflare Workers, Durable Objects, WebSockets, Queues and R2, Hono, Postgres and PostGIS on Neon, Drizzle, MapLibre, GSAP, Next.js on Vercel, MCP
- Data
- Geoscience Australia, AEMO, Clean Energy Regulator, ABARES, Global Solar Atlas, CSIRO, shop and installer websites
- Timeframe
- 2026
Want the details?
I’m happy to walk through the live grid, the land check, the battery pipeline and the Claude plugin.