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 Energy Figures live grid: total output of large solar farms and net battery charging at the latest 5-minute reading in AEST (NEM time), 185 of 185 units reporting, over a 24-hour chart of solar output and battery charging and discharging

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

  1. AEMO SCADA file, every 5 minutes
  2. Worker on a cron
  3. Raw file to R2
  4. Guards
  5. Durable Object, 48 hours in SQLite
  6. 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.
Live output on the Wellington North Solar Farm page: output in MW at the latest 5-minute reading, energy over the last 24 hours estimated from the readings, the 24-hour peak, 288 of 288 readings received, and a 24-hour chart
The 124 solar farms that report to AEMO each show their own readings.
The eight largest solar farms by output and the eight largest batteries by charging or discharging at one 5-minute reading, each with its region and MW
The largest stations at one reading, by output.

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.

An Energy Figures land check near Hopeland, Queensland: grade A, 2.1 km to a 275 kV substation, as close as the nearer half of operating farms, above a map of the Western Downs and Banana Bridge 275 kV substations, transmission lines and nearby solar farms
A point in the Western Downs, graded against the farms around it.

Checking a point

  1. A point on the map
  2. Nearest substation and line in PostGIS
  3. Slope and sun from rasters on R2
  4. 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.

The Energy Figures prices page: the lowest advertised price per usable kWh, $275 for a Fox ESS CQ7, with 239 advertised offers from 21 sellers across 44 battery series that week
Advertised battery prices, collected weekly and checked before they publish.

Collecting the data

  1. Cron schedule
  2. Queue, one message per source
  3. Worker reads one source
  4. Raw output to R2
  5. Guards
  6. Postgres
  7. 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.

See it in the Claude plugin directory

Answering in Claude

  1. A question in Claude
  2. MCP server on a Worker
  3. Seven read-only tools
  4. Shared data package
  5. A card, plus the full answer as text
A card in Claude reading “Up to $3,640 federal rebate for Tesla Powerwall 3 AC with Backup Gateway 2, 13.5 kWh”, with 284 NSW certificates and the drop to $3,040 from 1 January 2027
A rebate question, answered from the approved list.
A card in Claude for a $12,500 quote after rebates in postcode 2250, showing $926 per kWh and the federal rebate
A quote, set against the rebate and the price per kWh.

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.