# How to connect Electricity Maps to Claude

```json
{
  "title": "How to connect Electricity Maps to Claude",
  "toolkit": "Electricity Maps",
  "toolkit_slug": "electricity_maps",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/electricity_maps/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/electricity_maps/framework/claude-cowork.md",
  "updated_at": "2026-11-17T05:36:03.996Z"
}
```

## Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.
This guide walks you through the easiest and most secure way to connect your Electricity Maps account to Claude via Composio Connect, enabling it to check current carbon intensity in California, compare renewable energy across European zones, forecast tomorrow's grid emissions in Texas, and more such actions on your behalf without compromising your account security.
Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/electricity_maps).

## Also integrate Electricity Maps with

- [ChatGPT](https://composio.dev/toolkits/electricity_maps/framework/chatgpt)
- [Hermes](https://composio.dev/toolkits/electricity_maps/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/electricity_maps/framework/atomic-agent)

## Connect Electricity Maps to Claude Cowork

### Connecting Electricity Maps to Claude Web, Desktop, and Cowork
Two ways to add the Composio connector. Pick whichever you prefer.
### 1. Add with one click
Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.
[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Electricity Maps MCP server, and what's possible with it?

The Electricity Maps MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Electricity Maps account. It provides structured and secure access to grid carbon intensity, electricity mix, power flows, load, energy shares, forecasts, and day-ahead prices, so your agent can monitor grid conditions, compare historical energy data, review future forecasts, and analyze electricity costs on your behalf.
- Carbon intensity monitoring: Have your agent check the latest, historical, or past carbon intensity for a zone, including grid-average and fossil-only values.
- Energy mix and renewable analysis: Let the agent review current, historical, and forecasted electricity generation by source, along with carbon-free and renewable energy shares.
- Grid flow and load tracking: Direct your agent to examine electricity flows and net, total, or total-reported load for a zone across current, historical, past, and forecast periods.
- Grid condition forecasting: Instruct your agent to assess forecasted carbon intensity, carbon-free percentages, renewable percentages, electricity mix, flows, source generation, energy shares, and load.
- Day-ahead price research: Have your agent retrieve current, historical, past, or actual day-ahead prices for a zone or locational marginal prices for a pricing node over a selected time range.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ELECTRICITY_MAPS_GET_CARBON_INTENSITY_FORECAST` | Get Carbon Intensity Forecast | Get a grid-average or fossil-only carbon intensity forecast for a zone. |
| `ELECTRICITY_MAPS_GET_CARBON_INTENSITY_HISTORY` | Get Carbon Intensity History | Get the last 24 hours of grid-average or fossil-only carbon intensity for a zone. |
| `ELECTRICITY_MAPS_GET_CARBON_INTENSITY_LATEST` | Get Carbon Intensity Latest | Get the latest grid-average or fossil-only carbon intensity for a zone. |
| `ELECTRICITY_MAPS_GET_CARBON_INTENSITY_PAST` | Get Carbon Intensity Past | Get grid-average or fossil-only carbon intensity for a zone at a given datetime. |
| `ELECTRICITY_MAPS_GET_CARBON_INTENSITY_PAST_RANGE` | Get Carbon Intensity Past Range | Get grid-average or fossil-only carbon intensity for a zone over a datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_FLOWS_FORECAST` | Get Electricity Flows Forecast | Get the electricity flows forecast for a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_FLOWS_HISTORY` | Get Electricity Flows History | Get the last 24 hours of electricity flows for a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_FLOWS_LATEST` | Get Electricity Flows Latest | Get the latest electricity flows for a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_FLOWS_PAST` | Get Electricity Flows Past | Get the electricity flows for a zone at a given datetime. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_FLOWS_PAST_RANGE` | Get Electricity Flows Past Range | Get the electricity flows for a zone and a given datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_MIX_FORECAST` | Get Electricity Mix Forecast | Get the electricity mix forecast for a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_MIX_HISTORY` | Get Electricity Mix History | Get the last 24 hours of electricity mix for a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_MIX_LATEST` | Get Electricity Mix Latest | Get the latest electricity mix for a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_MIX_PAST` | Get Electricity Mix Past | Get the electricity mix for a zone at a given datetime. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_MIX_PAST_RANGE` | Get Electricity Mix Past Range | Get the electricity mix for a zone and a given datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_SOURCE_FORECAST` | Get Electricity Source Forecast | Get forecasted electricity generation values for the selected source_type in a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_SOURCE_HISTORY` | Get Electricity Source History | Get the last 24 hours of electricity generation values for the selected source_type in a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_SOURCE_LATEST` | Get Electricity Source Latest | Get the latest electricity generation values for the selected source_type in a zone. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_SOURCE_PAST` | Get Electricity Source Past | Get electricity generation values for the selected source_type in a zone at a given datetime. |
| `ELECTRICITY_MAPS_GET_ELECTRICITY_SOURCE_PAST_RANGE` | Get Electricity Source Past Range | Get electricity generation values for the selected source_type in a zone over a given datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_ENERGY_SHARE_FORECAST` | Get Energy Share Forecast | Get the carbon-free or renewable electricity share forecast for a zone. |
| `ELECTRICITY_MAPS_GET_ENERGY_SHARE_HISTORY` | Get Energy Share History | Get the last 24 hours of carbon-free or renewable electricity share for a zone. |
| `ELECTRICITY_MAPS_GET_ENERGY_SHARE_LATEST` | Get Energy Share Latest | Get the latest carbon-free or renewable electricity share for a zone. |
| `ELECTRICITY_MAPS_GET_ENERGY_SHARE_PAST` | Get Energy Share Past | Get the carbon-free or renewable electricity share at a given datetime. |
| `ELECTRICITY_MAPS_GET_ENERGY_SHARE_PAST_RANGE` | Get Energy Share Past Range | Get carbon-free or renewable electricity share values over a datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_GRID_LEVEL_FORECAST` | Get Grid Level Forecast | Get forecasted carbon-intensity, carbon-free-percentage, or renewable-percentage grid levels. Levels are classified on hourly data. |
| `ELECTRICITY_MAPS_GET_GRID_LEVEL_LATEST` | Get Grid Level Latest | Get the latest carbon-intensity, carbon-free-percentage, or renewable-percentage grid level. Levels are classified on hourly data. |
| `ELECTRICITY_MAPS_GET_GRID_LEVEL_PAST` | Get Grid Level Past | Get a carbon-intensity, carbon-free-percentage, or renewable-percentage grid level for an exact past hourly bucket. |
| `ELECTRICITY_MAPS_GET_GRID_LEVEL_PAST_RANGE` | Get Grid Level Past Range | Get carbon-intensity, carbon-free-percentage, or renewable-percentage grid levels over an hourly range of at most 10 days. |
| `ELECTRICITY_MAPS_GET_LOAD_FORECAST` | Get Load Forecast | Get a net, total, or total-reported electricity load forecast. |
| `ELECTRICITY_MAPS_GET_LOAD_HISTORY` | Get Load History | Get the last 24 hours of net, total, or total-reported load. |
| `ELECTRICITY_MAPS_GET_LOAD_LATEST` | Get Load Latest | Get the latest net, total, or total-reported electricity load value. |
| `ELECTRICITY_MAPS_GET_LOAD_PAST` | Get Load Past | Get net, total, or total-reported load at a given datetime. |
| `ELECTRICITY_MAPS_GET_LOAD_PAST_RANGE` | Get Load Past Range | Get net, total, or total-reported load over a datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_LOCATIONAL_MARGINAL_PRICE_DAY_AHEAD_ACTUAL` | Get Day-Ahead Locational Marginal Price Actual | Get actual day-ahead locational marginal prices for a pricing node and datetime range. Addressed by node, not zone. |
| `ELECTRICITY_MAPS_GET_LOCATIONAL_MARGINAL_PRICE_DAY_AHEAD_HISTORY` | Get Day-Ahead Locational Marginal Price History | Get the last 24 hours of day-ahead locational marginal prices for a pricing node. Addressed by node, not zone. |
| `ELECTRICITY_MAPS_GET_LOCATIONAL_MARGINAL_PRICE_DAY_AHEAD_LATEST` | Get Day-Ahead Locational Marginal Price Latest | Get the latest day-ahead locational marginal price for a pricing node. Addressed by node, not zone. |
| `ELECTRICITY_MAPS_GET_LOCATIONAL_MARGINAL_PRICE_DAY_AHEAD_PAST` | Get Day-Ahead Locational Marginal Price Past | Get the day-ahead locational marginal price for a pricing node at a given datetime. Addressed by node, not zone. |
| `ELECTRICITY_MAPS_GET_LOCATIONAL_MARGINAL_PRICE_DAY_AHEAD_PAST_RANGE` | Get Day-Ahead Locational Marginal Price Past Range | Get day-ahead locational marginal prices for a pricing node and past datetime range of at most 10 days. Addressed by node, not zone. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_ACTUAL` | Get Day-Ahead Price Actual | Get settled and published day-ahead prices for a zone and datetime range. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_COMBINED` | Get Day-Ahead Price Combined | Get both actual and forecasted day-ahead prices for a zone in a single response. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_FORECAST` | Get Day-Ahead Price Forecast | Get the day-ahead price forecast for a zone. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_HISTORY` | Get Day-Ahead Price History | Get the last 24 hours of day-ahead price for a zone. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_LATEST` | Get Day-Ahead Price Latest | Get the latest day-ahead price for a zone. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_PAST` | Get Day-Ahead Price Past | Get the day-ahead price for a zone at a given datetime. |
| `ELECTRICITY_MAPS_GET_PRICE_DAY_AHEAD_PAST_RANGE` | Get Day-Ahead Price Past Range | Get the day-ahead price for a zone and a given datetime range. Maximum range: 3 days for 5_minutes, 4 days for 15_minutes, 10 days for hourly, 365 days for daily, and 30 years for monthly, quarterly, or yearly. |
| `ELECTRICITY_MAPS_GET_ZONE` | Get Zone | Get metadata for a single Electricity Maps zone. |
| `ELECTRICITY_MAPS_LIST_UPDATES_SINCE` | List Updates Since | List data points for a zone that have been updated since a given datetime. |
| `ELECTRICITY_MAPS_LIST_ZONES` | List Zones | List all commercially available Electricity Maps zones. Each top-level key is a zone key; with an API key, its value can include the endpoints available to that key. |

## Supported Triggers

None listed.

## Troubleshooting

### 1. Why does Claude not use the Composio connector for Electricity Maps?

The connector can show as connected, but Claude must use it in each Electricity Maps conversation.
- Click + at the lower left of the chat, or type /.
- Hover Connectors.
- Turn on Composio.
- Ask Claude to connect to Electricity Maps again.

### 2. Why does Claude show an MCP server error before Electricity Maps connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Electricity Maps.
- Check that the connector URL is https://connect.composio.dev/mcp.
- Connectors run from Anthropic's cloud, so your device network is usually not the problem.
- Add the connector again from Customize > Connectors, then ask Claude to connect Electricity Maps.
- If it fails again, send the error and the ofid_ reference id to support@composio.dev.

### 3. Why does the Electricity Maps authorization link not work?

The Composio connector is one server. Your Electricity Maps account connects separately when Claude asks for it.
- If the browser does not open, or the link expires, ask Claude to retry the Electricity Maps connection.
- Composio creates a fresh Electricity Maps authorization link.
- Open that link in your browser and finish the Electricity Maps sign-in.

### 4. Why do Electricity Maps actions fail after they worked before?

The Electricity Maps connection can expire or lose permission.
- Ask Claude to inspect the Electricity Maps connection.
- If the connection is unhealthy, disconnect it when Claude prompts you.
- Reconnect the Electricity Maps account and retry the action.
- If Claude shows a permission prompt, approve it before Claude changes data in Electricity Maps.
- If the action still fails with a permission error, check that the connected account has that permission in Electricity Maps itself.

### 5. How do I switch to a different Electricity Maps account?

Claude can manage the Electricity Maps connection for you.
- Ask Claude to disconnect or delete the current Electricity Maps account.
- Ask Claude to connect Electricity Maps again.
- Open the new Composio authorization link for Electricity Maps.
- Sign in with the other Electricity Maps account in the browser.
- After the account connects, ask Claude to retry the Electricity Maps task.

### 6. Why is my Electricity Maps connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Electricity Maps connection works in Claude Web, Desktop, and Cowork.
- In Claude Desktop, open Customize > Connectors.
- Next to Composio, click ⋮ and click Clear cache.
- If Electricity Maps tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
- On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Electricity Maps.

## Creating MCP Server - Stand-alone vs Composio SDK

The Electricity Maps MCP server connects Claude Web, Desktop, and Cowork to your Electricity Maps account through Composio. Once connected, Claude can use the available Electricity Maps tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build Electricity Maps MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/electricity_maps/framework/chatgpt)
- [Hermes](https://composio.dev/toolkits/electricity_maps/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/electricity_maps/framework/atomic-agent)

## Related Toolkits

- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Excel](https://composio.dev/toolkits/excel) - Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [21risk](https://composio.dev/toolkits/_21risk) - 21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
- [0xArchive](https://composio.dev/toolkits/0xarchive) - 0xArchive is a crypto data service for historical and current market data, quality signals, feedback, and webhooks. It helps teams access reliable crypto data and manage REST integrations from one API.
- [Abstract](https://composio.dev/toolkits/abstract) - Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
- [AccuWeather](https://composio.dev/toolkits/accu_weather) - AccuWeather is a global weather service providing current conditions, forecasts, MinuteCast precipitation, alerts, and lightning data. Use it for fast, localized forecasts and real-time weather alerts.
- [Adafruit IO](https://composio.dev/toolkits/adafruit_io) - Adafruit IO is Adafruit's cloud platform for connected device and IoT project data. It helps you store, visualize, and act on sensor feeds without running your own backend.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Agentql](https://composio.dev/toolkits/agentql) - Agentql is a toolkit that connects AI agents to the web using a specialized query language. It enables structured web interaction and data extraction for smarter automations.
- [Agenty](https://composio.dev/toolkits/agenty) - Agenty is a web scraping and automation platform for extracting data and automating browser tasks—no coding needed. It streamlines data collection, monitoring, and repetitive online actions.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.
- [Akta](https://composio.dev/toolkits/akta) - Akta is a company intelligence platform providing enrichment, news, and alternative business signals. It helps teams build targeted company lists and enrich data-driven workflows.
- [Ambee](https://composio.dev/toolkits/ambee) - Ambee is an environmental data platform providing real-time, hyperlocal APIs for air quality, weather, and pollen. Get precise environmental insights to power smarter decisions in your apps and workflows.
- [Ambient weather](https://composio.dev/toolkits/ambient_weather) - Ambient Weather is a platform for personal weather stations with a robust API for accessing local, real-time, and historical weather data. Get detailed environmental insights directly from your own sensors for smarter apps and automations.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Electricity Maps MCP?

With a standalone Electricity Maps MCP server, the agents and LLMs can only access a fixed set of Electricity Maps tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Electricity Maps and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Electricity Maps tools.

### Can I manage the permissions and scopes for Electricity Maps while using Tool Router?

Yes, absolutely. You can configure which Electricity Maps scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Electricity Maps data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
