# How to connect IEA to Claude

> Connect IEA to Claude with the Firecrawl connector. Use IEA as an MCP tool in Claude via Firecrawl Alexandria, with setup steps and example prompts.

To connect IEA to Claude, add the Firecrawl connector to Claude, sign in on a Firecrawl team with Alexandria enabled, and ask for IEA data in plain language. The connection works in Claude on the web, Claude Desktop and Cowork, and you set it up once.

Claude uses IEA as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for IEA.

Claude is Anthropic's AI assistant. Connectors give it tools from other services, and the Firecrawl connector adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect IEA to Claude?

### 1. Add the Firecrawl connector

Open the [Firecrawl connector in Claude's connector directory](https://claude.ai/directory/connectors/firecrawl) and select Connect to Claude. In Claude Desktop you can also go to Customize, then Connectors, and search for Firecrawl.

[Add to Claude](https://claude.ai/directory/connectors/firecrawl)

![The Firecrawl connector in Claude's directory with the Connect to Claude button](https://www.firecrawl.dev/images/alexandria/connect/claude/add-connector.webp)

### 2. Connect your Firecrawl account

Claude opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

![Firecrawl's consent screen listing what claude.ai can do, including running Alexandria data providers](https://www.firecrawl.dev/images/alexandria/connect/claude/authorize.webp)

### 3. Turn on Firecrawl in a chat

In a new conversation, open the + menu, go to Connectors and switch on Firecrawl.

![Claude's + menu open on Connectors with the Firecrawl switch turned on](https://www.firecrawl.dev/images/alexandria/connect/claude/turn-on.webp)

### 4. Ask Claude for the data

Ask in plain language and mention IEA or Firecrawl Alexandria. Claude finds the IEA capability that fits, checks its inputs and runs it. For example:

```text
Use Firecrawl to compare total final energy consumption in France and Germany in 2023, including the source units.
```

## What can Claude do with IEA?

Public energy highlights, country metadata and observations; paid and account-gated non-CC datasets are refused.

Claude can run any of IEA's 4 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Countries**: IEA country name to ISO3 crosswalk (from api.iea.org/countries) with aggregates flagged: World, OECD Total/Europe/Americas/Asia Oceania, IEA Total, EU27, Africa, Asia, China including Hong Kong, Eurasia. Each entry lists the stats code, the Monthly Electricity Statistics display name and the prices code it maps to, plus every alias `data` accepts. Costs 5 Firecrawl credits per call.
- **Data**: Observations from one free IEA dataset for the given countries (ISO3 or IEA names, required, up to 50), optionally filtered by products, flows (balance flows or price sectors), indicators (data-browser indicators such as TFCbySource, ElecGenByFuel, CO2BySector) and year range; paged with an opaque cursor over a deterministic ordering. Values are decimal strings with the source unit; null values stay null. Paid and non-CC dataset ids fail with license_restricted and the product/purchase page. Costs 5 Firecrawl credits per call.
- **Dataset**: One dataset's metadata with a live probe of api.iea.org: year_min/year_max actually served, last_updated (MES latest published month or prices updated_at), coverage count, license, endpoint and cadence. Refused datasets are described but flagged. Costs 5 Firecrawl credits per call.
- **Datasets**: Catalog of IEA datasets: every free CC BY 4.0 dataset served by api.iea.org (energy balances, electricity and heat, oil, gas, CO2 from fuel combustion, monthly electricity statistics, energy prices, monthly oil prices) plus the paid and account-gated products that `data` refuses, each with its license. No network call; `last_updated` is null here and probed live by `dataset`. Costs 5 Firecrawl credits per call.

## What should I ask Claude?

Name IEA or Firecrawl Alexandria in the prompt so Claude reaches for it.

- [Use Firecrawl to compare total final energy consumption in France and Germany in 2023, including the source units.](https://claude.ai/new?q=Use%20Firecrawl%20to%20compare%20total%20final%20energy%20consumption%20in%20France%20and%20Germany%20in%202023%2C%20including%20the%20source%20units.)
- [Use Firecrawl to show monthly electricity generation from wind, solar, nuclear and hydro in France during 2024 and 2025.](https://claude.ai/new?q=Use%20Firecrawl%20to%20show%20monthly%20electricity%20generation%20from%20wind%2C%20solar%2C%20nuclear%20and%20hydro%20in%20France%20during%202024%20and%202025.)
- [Use Firecrawl to show France and Germany's CO2 emissions from fuel combustion in 1990 through 1992, broken down by reported fuel and sector.](https://claude.ai/new?q=Use%20Firecrawl%20to%20show%20France%20and%20Germany's%20CO2%20emissions%20from%20fuel%20combustion%20in%201990%20through%201992%2C%20broken%20down%20by%20reported%20fuel%20and%20sector.)
- [Use Firecrawl to answer this: Which free CC BY IEA energy datasets cover electricity, and what are their frequencies, licenses and country coverage?](https://claude.ai/new?q=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20free%20CC%20BY%20IEA%20energy%20datasets%20cover%20electricity%2C%20and%20what%20are%20their%20frequencies%2C%20licenses%20and%20country%20coverage%3F)

### For agents

Start with the `iea-org` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why doesn't Claude use IEA?

The connector has to be on in each conversation. Open the + menu, go to Connectors and check that Firecrawl is switched on, then ask again and name IEA or Firecrawl Alexandria in the prompt.

### Claude says it can't reach the Firecrawl server. What should I do?

Open Customize, then Connectors, disconnect Firecrawl and connect it again. On a Team or Enterprise plan, an owner has to allow the connector before members can add it.

### Why does Claude say IEA isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reconnect Firecrawl and pick that team on the consent screen.

## Use IEA in other AI apps

- [IEA in ChatGPT](https://alexandria.firecrawl.dev/providers/iea-org/connect/chatgpt)
- [IEA in Cursor](https://alexandria.firecrawl.dev/providers/iea-org/connect/cursor)
- [IEA in Grok Bot](https://alexandria.firecrawl.dev/providers/iea-org/connect/grok-bot)
- [IEA in Muse](https://alexandria.firecrawl.dev/providers/iea-org/connect/muse)

### Other data providers you can connect to Claude

- [How to connect France public medicines database (BDPM) to Claude](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/claude)
- [How to connect ClinicalTrials.gov to Claude](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/claude)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Claude](https://alexandria.firecrawl.dev/providers/cms-gov/connect/claude)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Claude](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/claude)

Full setup guide: [Firecrawl in Claude](https://www.firecrawl.dev/integrations/claude)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl connector brings those tools into Claude, along with every data provider in Firecrawl Alexandria.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, IEA among them. Each provider returns structured data through documented capabilities. Claude finds the capability that fits your question and calls it through the Firecrawl connector, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

### Is there a IEA MCP server for Claude?

Claude reaches IEA through Firecrawl's hosted MCP server, which serves IEA and every other Alexandria provider as tools. Add the Firecrawl connector once and you don't install or host a separate MCP server for IEA.

### What does connecting IEA to Claude unlock?

Claude can run all 4 of IEA's capabilities, including Countries, Data and Dataset, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to compare total final energy consumption in France and Germany in 2023, including the source units." In the same conversation, Claude can combine IEA with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own IEA account or API key to use it in Claude?

No. Claude calls IEA through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate IEA account or API key.

### How much does it cost to use IEA in Claude?

Each IEA call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Claude, and finding the right capability is free.

### Can Claude use other providers besides IEA?

Yes. The same Firecrawl connector reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use IEA in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Cursor, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same IEA capabilities are available there. Keyless connections don't include Alexandria.
