Skip to main content
Glama
UK carbon intensity grid MCP

UK carbon intensity grid MCP

README.md
# UK carbon intensity grid MCP

Live Great Britain electricity grid carbon intensity, 48-hour forecasts, regional DNO breakdowns, fuel generation mix, and postcode lookups from `api.carbonintensity.org.uk` over Model Context Protocol (MCP). Energy teams, ESG analysts, and carbon-aware workload schedulers can query real-time UK grid data with zero API keys and zero sign-up. It works right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://uk-carbon-intensity-grid-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_current_intensity` | Fetch current half-hour Great Britain grid carbon intensity in gCO2/kWh and intensity index |
| `get_intensity_forecast_48h` | Retrieve 48-hour forward carbon intensity forecasts with cleanest and peak windows |
| `get_regional_intensity` | Compare live carbon intensity and fuel mix across all Great Britain DNO regions |
| `get_generation_mix` | Inspect current UK electricity generation shares by fuel type and low-carbon total |
| `get_intensity_by_postcode` | Look up local carbon intensity and fuel mix for any UK outward postcode |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "uk-carbon-intensity-grid": {
      "url": "https://uk-carbon-intensity-grid-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream call to `api.carbonintensity.org.uk` uses a clear `User-Agent` header (`mcpstamp-ukcarbon/1.0 (hello@mcpstamp.com)`). Cloudflare edge caching applies strictly to HTTP 2xx answers, so transient upstream errors don't get stuck in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` cleanly to `2025-11-25`.

## More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.uk-carbon-intensity-grid-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

The tools mostly target clearly distinct actions: national current intensity, regional intensity, postcode lookup, 48-hour forecast, and generation mix. The only mild overlap is between postcode-based regional intensity and all-region intensity, but the descriptions make their scopes distinguishable.

Naming Consistency5/5

All tools use a consistent snake_case get_* pattern with clear noun phrases. Suffixes like by_postcode, forecast_48h, and current_intensity are predictable and readable.

Tool Count5/5

Five tools are well scoped for a focused carbon intensity API. Each tool covers a distinct query mode without feeling padded or thin.

Completeness4/5

The surface covers current national intensity, regional/postcode breakdowns, near-term forecasting, and fuel mix, which supports the main carbon-aware use cases. Minor gaps exist around historical intensity or date-specific forecasts, but core workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues