# Electricity Maps [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/pipeworx-io/mcp-electricity-maps  
**GitHub Stars:** 0  
**npm Downloads (last month):** 974  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/electricity-maps

## Description
Electricity Maps MCP — real-time electricity-grid carbon intensity + power

## Tools
Capabilities this server exposes over MCP:

- **electricitymaps_carbon_intensity** — Carbon intensity (gCO2/kWh) for a grid zone now — the live climate cost of a kWh drawn from the local grid. Pass a zone code (e.g. "US-CAL-CISO", "DE", "FR", "GB") or lat+lon. Example: electricitymaps_carbon_intensity({ zone: "DE", _apiKey: "your-key" })
- **electricitymaps_power_breakdown** — Power generation mix for a zone — the latest breakdown of electricity by source (nuclear, wind, solar, hydro, coal, gas, ...) plus fossil-free and renewable percentages. Pass a zone code (e.g. "US-CAL-CISO", "DE", "FR", "GB") or lat+lon. Example: electricitymaps_power_breakdown({ zone: "FR", _apiKey: "your-key" })
- **electricitymaps_carbon_forecast** — Carbon-intensity forecast for a zone — upcoming hourly gCO2/kWh predictions, useful for scheduling loads when the grid is cleanest. Requires a paid Electricity Maps plan. Pass a zone code (e.g. "US-CAL-CISO", "DE", "FR", "GB"). Example: electricitymaps_carbon_forecast({ zone: "GB", _apiKey: "your-key" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "electricity-maps": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-electricity-maps"]
  }
}
```

## Documentation

## What Electricity Maps does

Electricity Maps exposes electricity-grid data as MCP tools through the Pipeworx gateway. Its data covers more than 200 zones worldwide and focuses on two kinds of information: the emissions associated with electricity being used now, and the sources currently producing that electricity.

The server offers three dedicated tools:

- `electricitymaps_carbon_intensity` returns current carbon intensity in grams of CO2 per kilowatt-hour for a grid zone.
- `electricitymaps_power_breakdown` reports the latest generation mix, including sources such as nuclear, wind, solar, hydro, coal, and gas, along with fossil-free and renewable percentages.
- `electricitymaps_carbon_forecast` returns upcoming hourly carbon-intensity predictions for a zone.

Zone identifiers can include values such as `DE`, `FR`, `GB`, or `US-CAL-CISO`. The carbon-intensity and power-breakdown tools can also accept latitude and longitude.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/electricity-maps/mcp`. Add that URL to an MCP client that supports remote connections. A separate full gateway endpoint, `https://gateway.pipeworx.io/mcp`, exposes all Pipeworx packs directly; either endpoint can also use the shared `ask_pipeworx` routing tool when enabled by the gateway.

The package `@pipeworx/mcp-electricity-maps` provides a local stdio bridge. An MCP client starts it with `npx`, and the bridge forwards requests to the same hosted endpoint, so it requires network access and has no offline mode. The hosted pack endpoint lists the Electricity Maps tools along with shared Pipeworx meta-tools. The local bridge lists the pack tools by default and can include those meta-tools with `PIPEWORX_META_TOOLS=1`.

## Setup and configuration

For a remote connection, configure the MCP client with the hosted URL:

```json
{
  "mcpServers": {
    "electricity-maps": {
      "url": "https://gateway.pipeworx.io/electricity-maps/mcp"
    }
  }
}
```

For local stdio use, configure `npx` with the package name:

```json
{
  "mcpServers": {
    "electricity-maps": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-electricity-maps"]
    }
  }
}
```

Tool calls take an Electricity Maps API key through the `_apiKey` argument. The local bridge can also authenticate to Pipeworx with `PIPEWORX_API_KEY`; without that gateway key, anonymous use is limited to 50 calls per day, while a free Pipeworx account raises the limit to 200 calls per day. Set `NODE_USE_ENV_PROXY=1` when the Node.js version in use supports it and the process must use an `HTTPS_PROXY` environment setting.

## Tools and capabilities

Call the carbon-intensity tool for a current emissions value, using either a zone code or coordinates. Use the power-breakdown tool when the composition of generation matters, such as distinguishing renewable, fossil-free, and fossil sources. Use the forecast tool to plan flexible workloads around predicted hourly grid emissions. Forecast access requires a paid Electricity Maps plan.

## Limitations and notes

This is an independent, unofficial integration and is not affiliated with, endorsed by, or published by Electricity Maps. The remote and local modes both depend on network access to the Pipeworx gateway. Pack-specific endpoints also expose shared Pipeworx tools, so the tool list may contain more entries than the three Electricity Maps tools. The gateway's `initialize` response defines the exact scope available for a connection.

_Full upstream README: https://allmcps.com/mcp/electricity-maps/readme_

