gridcarbon-mcp
Officialgridcarbon clients
Official client libraries for the gridcarbon API — hourly electricity grid carbon intensity in gCO2eq/kWh for 45 zones across Europe, the United States and Great Britain.
No API key. No signup. Open CORS.
curl -s "https://api.gridcarbon.dev/v1/intensity/latest?zone=FR"{"unit":"gCO2eq/kWh","data":[{"zone":"FR","ts":"2026-08-26T01:00:00Z","gco2eq_kwh":49,"method":"computed:v1"}]}Package | Registry | Install |
PyPI |
| |
npm |
| |
npm |
|
Both SDKs have zero runtime dependencies — the Python one uses urllib, the
TypeScript one uses global fetch. The MCP server depends on the official
MCP SDK; that cost is documented in its README.
Two things to know before you use the numbers
Great Britain is measured on a different basis. GB figures come from NESO and use
operational (combustion-only) emission factors — wind, solar, nuclear and hydro count
as zero. Every other zone uses IPCC AR5 lifecycle factors, where those sources are not
zero. GB is therefore structurally lower than a lifecycle number for the same physical
grid. Do not rank GB against the other 44 zones. Both SDKs expose this as
is_lifecycle / isLifecycle on every reading, and the MCP server excludes GB from
rankings with an explanation rather than silently mixing bases.
"Latest" means newest published, not now. European zones typically run 2–4 hours behind and US zones 11–28 hours behind, because that is when the upstream operators publish. Every reading carries its interval start; use it rather than assuming the value is current.
The full method, the complete emission factor table, and a candid list of known biases are at gridcarbon.dev/methodology.
Related MCP server: mcp-carbon-intensity
Status
Pre-alpha. The archive starts 2026-08-21 and grows hourly. No rate limits are enforced
yet — please do not poll faster than every five minutes, which is the edge-cache TTL on
/v1/intensity/latest. Breaking changes are possible before 1.0; they will be noted in
each package's changelog.
Attribution
The data these clients retrieve is derived from:
ENTSO-E Transparency Platform — European generation by production type
U.S. Energy Information Administration (EIA) — EIA-930 hourly generation by fuel type
NESO Carbon Intensity API — Great Britain
gridcarbon is not endorsed by, sponsored by, or affiliated with any of these organisations. If you redistribute or display these values, carry the same attribution.
Licence
Client code in this repository: MIT. The derived intensity values served by the API: CC BY 4.0.
The data terms, the required attribution notice, the upstream sources and their non-endorsement statements are all in DATA-LICENSE.md.
Contributing
Corrections to the method are genuinely welcome — especially from people who work with grid data professionally. The emission factors and their known biases are documented openly precisely so they can be argued with.
Issues and pull requests are the best channel. This repository holds the client libraries; the API backend is not open source.
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides real-time US power grid intelligence and carbon intensity data to enable carbon-aware AI compute scheduling across major grid regions. It allows users to monitor energy generation and optimize workloads based on renewable energy availability and grid load forecasts.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to query the UK National Grid's carbon intensity data, providing real-time and forecasted carbon emissions for electricity generation.10MIT
- AlicenseAqualityDmaintenanceProvides real-time electricity grid data including CO2 intensity, power mix, and wholesale prices, plus optimal green time windows for energy-intensive AI tasks. Supports UK, Germany, and global regions with optional API keys.9MIT
- AlicenseBqualityAmaintenanceProvides real-time European and GB electricity grid data via MCP, including generation, prices, carbon intensity, and grid infrastructure.44486MIT
Related MCP Connectors
Live and historical electricity prices and demand for 25 grids; carbon intensity for GB.
European day-ahead electricity prices (43 zones), accuracy-published forecasts, carbon, optimize.
Real-time electricity prices for AI agents. 40+ countries, 100+ zones. No auth required.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gridcarbon/clients'
If you have feedback or need assistance with the MCP directory API, please join our Discord server