Articles/Platform Integration

Carbon-Aware Scheduling After GridCarbon

Platform IntegrationPractitioner Take
By Vanya SmytheOctober 16, 20265 min readVerified Oct 16, 2026
neso-carbon-intensity(primary)gridcarbon-mcp
carbon-intensitynesogridcarbonmcpscope-2load-schedulingplatform-integration

Read what the package says now

I set out to build a carbon-aware scheduler on GridCarbon (github.com/gridcarbon/clients). GridCarbon was an MCP server, a set of tools an AI assistant can call. It promised live grid carbon intensity for 45 zones with no API key. Every version on npm now carries the same deprecation notice: "The gridcarbon API was shut down on 2026-09-13." That covers 0.1.0 and 0.1.1 of 26 August 2026 and 0.1.2 of 31 August.

The repository is archived with no stars. It was created on 26 August and last pushed on 13 September, so the project lived for about eighteen days. Its README called it "pre-alpha", which was accurate. The only named author is an address at gridcarbon.dev. The code is MIT and the data CC BY 4.0. A request to api.gridcarbon.dev for France returned HTTP 410 when I tried it on 17 October 2026. The project's site now points to a Zenodo snapshot of 1,460,467 rows up to 4 September (doi:10.5281/zenodo.22299989). Someone still downloaded the package 21 times in the week to 12 October.

Credit what it did

The claims were true while it ran. It covered 33 European bidding zones, 11 US balancing authorities and aggregates, and Great Britain. It did so through four tools: get_carbon_intensity, get_intensity_history, list_zones and compare_zones.

It said plainly what it reported: average, production-based intensity. It summed each fuel's megawatts times an emission factor and divided by total output. It did not model imports, and it gave no marginal figure and no day-ahead forecast. Its factors were IPCC AR5 lifecycle medians (gas 490, hard coal 820, nuclear 12, onshore wind 11, solar 48 gCO2eq/kWh), and it admitted that pricing lignite at 820 underestimated it. Its data ran two to four hours late for ENTSO-E zones, 11 to 28 hours for the EIA, and one to two hours for Great Britain.

Find where the key lived

The weak point was in the claim that it needed no key. The MCP server was a thin client of the operator's hosted API. That API held the ENTSO-E credentials on a Cloudflare Worker. The user needed no key because the operator had one. When the operator stopped paying for the Worker, every installed copy stopped with it, and nothing in the client could be repointed.

A hosted wrapper that needs no key depends on someone else's credentials and someone else's goodwill. A scheduler that writes to a site's chargers cannot rely on either.

Use a source with an owner

So I built the design on the Carbon Intensity API for Great Britain. Its documentation at carbon-intensity.github.io/api-definitions describes it as "developed by National Energy System Operator (NESO)". The project site names Environmental Defense Fund Europe, the University of Oxford Department of Computer Science and WWF as partners. It needs no key and its licence is CC BY 4.0. It publishes half-hourly forecasts by postcode or region. The documentation calls the output an "indicative trend", and the regional endpoints still carry a beta label.

Three differences from GridCarbon matter more than the owner. First, NESO counts direct CO2 from generation only. Its own factors list on 17 October gave combined-cycle gas 394, coal 937, and nuclear, wind and solar zero. GridCarbon's lifecycle figures cannot be mixed with these in one report. Second, NESO models imports, at 474 for Dutch and 53 for French. Third, the national series carries an estimated actual beside each forecast. The regional series carries a forecast only, even for half-hours already past.

Schedule by forecast, report with care

The solution reads the 48-hour regional forecast for a site's outward postcode. It takes the deadline a person has set for each flexible load. Then it writes the lowest-intensity window that meets the deadline to the charge controller or job scheduler.

The range in the forecast is the reason to move a load. For postcode SL1, which NESO places in South England, the forecast fetched at 21:39 UTC on 16 October ran from 80 to 255 gCO2/kWh across 97 half-hours. A three-hour fleet charge begun at 17:00 UTC on Saturday averaged 242. The same charge between 01:30 and 04:30 on Sunday averaged 140. A two-hour battery charge moved from that evening into midday Saturday fell from 133 to 84.

Those figures are forecast regional averages. Average intensity tells you how dirty the mix was, not what your extra kilowatt-hour caused. The stricter test is marginal intensity, which neither NESO nor GridCarbon published. So moving a load by average is a reasonable heuristic and not proof of avoided emissions. Anyone who reports the difference between 242 and 140 as tonnes saved has claimed more than either data set can show. The design's Scope 2 log keeps forecast and estimated actual in separate columns. It records that the regional half-hours have no actual, and it stamps every figure with its source, method and fetch time.

See the design, its diagram and the demo at the solution. Take an emissions figure from a source with an owner, and keep the method tag with the number. GridCarbon's API is gone, and its numbers survive only in the Zenodo deposit.

Subscribe to engineering insights

Get notified when we publish new technical articles.

Topics

Unsubscribe anytime. View our Privacy Policy.