# How to connect Data Legion to ChatGPT

> Connect Data Legion to ChatGPT with the Firecrawl plugin. Use Data Legion as an MCP tool in ChatGPT via Firecrawl Alexandria.

To connect Data Legion to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for Data Legion data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

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

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Data Legion to ChatGPT?

### 1. Install the Firecrawl plugin

Open the [Firecrawl listing in ChatGPT's plugin directory](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl) and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

[Add to ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl)

![The Firecrawl plugin page in ChatGPT with the Install plugin button](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/install.webp)

### 2. Connect your Firecrawl account

ChatGPT 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 asking to connect chatgpt.com to Firecrawl](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/authorize.webp)

### 3. Attach Firecrawl to a chat

Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

![ChatGPT's + menu with the Firecrawl plugin listed](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/attach.webp)

### 4. Ask ChatGPT for the data

Ask in plain language and mention Data Legion or Firecrawl Alexandria. ChatGPT finds the Data Legion capability that fits and runs it. For example:

```text
Use Firecrawl to enrich firecrawl.dev with company size, industry, founding year and headquarters.
```

## What can ChatGPT do with Data Legion?

Person and company enrichment, current mobile phones for a known person, search by field filters, SQL or an Elasticsearch-style query, and plain-English discovery with person lookalikes. Each product key selects its dataset and field set.

ChatGPT can run any of Data Legion's 19 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Person enrichment (base-no-contact)**: Matches contain a nested person record. Optional fields depend on entitlement and field selection. Data Legion may omit the outer total; when present it reports matches found. Costs 5 Firecrawl credits per successful enrichment call.
- **Person enrichment (base-with-contact)**: Matches contain a nested person record. Optional fields depend on entitlement and field selection. Data Legion may omit the outer total; when present it reports matches found. Costs 50 Firecrawl credits per successful enrichment call.
- **Person enrichment (premium-no-contact)**: Matches contain a nested person record. Optional fields depend on entitlement and field selection. Data Legion may omit the outer total; when present it reports matches found. Costs 40 Firecrawl credits per successful enrichment call.
- **Person enrichment (premium-with-contact)**: Matches contain a nested person record. Optional fields depend on entitlement and field selection. Data Legion may omit the outer total; when present it reports matches found. Costs 80 Firecrawl credits per successful enrichment call.
- **Person mobile phones**: One match with a nested person record. mobile_phone is the most likely current mobile in E.164; phones lists every current mobile, most likely first, each with confidence high, moderate or low. match_metadata.match_confidence says how sure the person match is, not the phone. Costs 50 Firecrawl credits per successful mobile lookup.
- **Person search (base-no-contact)**: One page of person records. next_cursor, when not null, is the cursor option for the next page. A filters search also returns generated_query, the query object the filters compiled to. total is not the number billed. Data Legion may send Total-Count-Status to say whether total is exact, an estimate, or this page. Exchange does not return that header, so treat total as possibly approximate. The warnings field, when present, holds Data Legion's note on how the search was read: a filter no stored value can match (the page is then empty and free), or an abbreviation or short pattern it searched differently. Costs 5 Firecrawl credits per returned search record.
- **Person search (base-with-contact)**: One page of person records. next_cursor, when not null, is the cursor option for the next page. A filters search also returns generated_query, the query object the filters compiled to. total is not the number billed. Data Legion may send Total-Count-Status to say whether total is exact, an estimate, or this page. Exchange does not return that header, so treat total as possibly approximate. The warnings field, when present, holds Data Legion's note on how the search was read: a filter no stored value can match (the page is then empty and free), or an abbreviation or short pattern it searched differently. Costs 50 Firecrawl credits per returned search record.
- **Person search (premium-no-contact)**: One page of person records. next_cursor, when not null, is the cursor option for the next page. A filters search also returns generated_query, the query object the filters compiled to. total is not the number billed. Data Legion may send Total-Count-Status to say whether total is exact, an estimate, or this page. Exchange does not return that header, so treat total as possibly approximate. The warnings field, when present, holds Data Legion's note on how the search was read: a filter no stored value can match (the page is then empty and free), or an abbreviation or short pattern it searched differently. Costs 40 Firecrawl credits per returned search record.
- **Person search (premium-with-contact)**: One page of person records. next_cursor, when not null, is the cursor option for the next page. A filters search also returns generated_query, the query object the filters compiled to. total is not the number billed. Data Legion may send Total-Count-Status to say whether total is exact, an estimate, or this page. Exchange does not return that header, so treat total as possibly approximate. The warnings field, when present, holds Data Legion's note on how the search was read: a filter no stored value can match (the page is then empty and free), or an abbreviation or short pattern it searched differently. Costs 80 Firecrawl credits per returned search record.
- **Person discovery (base-no-contact)**: One page of person records, plus generated_query, the SQL Data Legion wrote for the description, and next_cursor for the next page (null on the last page). total counts every match and is not the number billed. It can be a lower bound on a broad query. The warnings field, when present, holds Data Legion's note on the search it ran, for example that a lookalike generated_query holds placeholders where the seed person's details go. Costs 5 Firecrawl credits per returned discovery record.
- **Person discovery (base-with-contact)**: One page of person records, plus generated_query, the SQL Data Legion wrote for the description, and next_cursor for the next page (null on the last page). total counts every match and is not the number billed. It can be a lower bound on a broad query. The warnings field, when present, holds Data Legion's note on the search it ran, for example that a lookalike generated_query holds placeholders where the seed person's details go. Costs 50 Firecrawl credits per returned discovery record.
- **Person discovery (premium-no-contact)**: One page of person records, plus generated_query, the SQL Data Legion wrote for the description, and next_cursor for the next page (null on the last page). total counts every match and is not the number billed. It can be a lower bound on a broad query. The warnings field, when present, holds Data Legion's note on the search it ran, for example that a lookalike generated_query holds placeholders where the seed person's details go. Costs 40 Firecrawl credits per returned discovery record.
- **Person discovery (premium-with-contact)**: One page of person records, plus generated_query, the SQL Data Legion wrote for the description, and next_cursor for the next page (null on the last page). total counts every match and is not the number billed. It can be a lower bound on a broad query. The warnings field, when present, holds Data Legion's note on the search it ran, for example that a lookalike generated_query holds placeholders where the seed person's details go. Costs 80 Firecrawl credits per returned discovery record.
- **Company enrichment (base)**: Matches contain a nested company record. Optional fields depend on entitlement and field selection. Data Legion may omit the outer total; when present it reports matches found. Costs 10 Firecrawl credits per successful enrichment call.
- **Company enrichment (premium)**: Matches contain a nested company record. Optional fields depend on entitlement and field selection. Data Legion may omit the outer total; when present it reports matches found. Costs 40 Firecrawl credits per successful enrichment call.
- **Company search (base)**: One page of company records. next_cursor, when not null, is the cursor option for the next page. A filters search also returns generated_query, the query object the filters compiled to. total is not the number billed. Data Legion may send Total-Count-Status to say whether total is exact, an estimate, or this page. Exchange does not return that header, so treat total as possibly approximate. The warnings field, when present, holds Data Legion's note on how the search was read: a filter no stored value can match (the page is then empty and free), or an abbreviation or short pattern it searched differently. Costs 10 Firecrawl credits per returned search record.
- **Company search (premium)**: One page of company records. next_cursor, when not null, is the cursor option for the next page. A filters search also returns generated_query, the query object the filters compiled to. total is not the number billed. Data Legion may send Total-Count-Status to say whether total is exact, an estimate, or this page. Exchange does not return that header, so treat total as possibly approximate. The warnings field, when present, holds Data Legion's note on how the search was read: a filter no stored value can match (the page is then empty and free), or an abbreviation or short pattern it searched differently. Costs 40 Firecrawl credits per returned search record.
- **Company discovery (base)**: One page of company records, plus generated_query, the SQL Data Legion wrote for the description, and next_cursor for the next page (null on the last page). total counts every match and is not the number billed. It can be a lower bound on a broad query. The warnings field, when present, holds Data Legion's note on the search it ran. Costs 10 Firecrawl credits per returned discovery record.
- **Company discovery (premium)**: One page of company records, plus generated_query, the SQL Data Legion wrote for the description, and next_cursor for the next page (null on the last page). total counts every match and is not the number billed. It can be a lower bound on a broad query. The warnings field, when present, holds Data Legion's note on the search it ran. Costs 40 Firecrawl credits per returned discovery record.

## What should I ask ChatGPT?

Name Data Legion or Firecrawl Alexandria in the prompt so ChatGPT reaches for it.

- [Use Firecrawl to enrich firecrawl.dev with company size, industry, founding year and headquarters.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20enrich%20firecrawl.dev%20with%20company%20size%2C%20industry%2C%20founding%20year%20and%20headquarters.)
- [Use Firecrawl to get the available monthly employee counts, hires and departures for stripe.com using premium company enrichment.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20get%20the%20available%20monthly%20employee%20counts%2C%20hires%20and%20departures%20for%20stripe.com%20using%20premium%20company%20enrichment.)
- [Use Firecrawl to search the base person dataset for software engineers at Google and return one row.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20search%20the%20base%20person%20dataset%20for%20software%20engineers%20at%20Google%20and%20return%20one%20row.)
- [Use Firecrawl to help with this: Discover enterprise SaaS companies founded after 2015 and return one row.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20help%20with%20this%3A%20Discover%20enterprise%20SaaS%20companies%20founded%20after%202015%20and%20return%20one%20row.)

### For agents

Start with the `datalegion` 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 ChatGPT use Data Legion?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name Data Legion or Firecrawl Alexandria in the prompt.

### How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

### Why does ChatGPT say Data Legion isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

## Use Data Legion in other AI apps

- [Data Legion in Claude](https://alexandria.firecrawl.dev/providers/datalegion/connect/claude)
- [Data Legion in Cursor](https://alexandria.firecrawl.dev/providers/datalegion/connect/cursor)
- [Data Legion in Grok Bot](https://alexandria.firecrawl.dev/providers/datalegion/connect/grok-bot)
- [Data Legion in Muse](https://alexandria.firecrawl.dev/providers/datalegion/connect/muse)

### Other data providers you can connect to ChatGPT

- [How to connect Particle to ChatGPT](https://alexandria.firecrawl.dev/providers/particle/connect/chatgpt)
- [How to connect Apollo to ChatGPT](https://alexandria.firecrawl.dev/providers/apollo/connect/chatgpt)
- [How to connect FullEnrich to ChatGPT](https://alexandria.firecrawl.dev/providers/fullenrich/connect/chatgpt)
- [How to connect People Data Labs to ChatGPT](https://alexandria.firecrawl.dev/providers/people-data-labs/connect/chatgpt)

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

## 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 plugin brings those tools into ChatGPT, 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, Data Legion among them. Each provider returns structured data through documented capabilities. ChatGPT finds the capability that fits your question and calls it through the Firecrawl plugin, 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 Data Legion MCP server for ChatGPT?

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

### What does connecting Data Legion to ChatGPT unlock?

ChatGPT can run all 19 of Data Legion's capabilities, including Person enrichment (base-no-contact), Person enrichment (base-with-contact) and Person enrichment (premium-no-contact), from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to enrich firecrawl.dev with company size, industry, founding year and headquarters." In the same conversation, ChatGPT can combine Data Legion with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Data Legion account or API key to use it in ChatGPT?

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

### How much does it cost to use Data Legion in ChatGPT?

Data Legion calls cost from 5 to 80 Firecrawl credits per billed unit, depending on the capability and how much data it returns. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to ChatGPT, and finding the right capability is free.

### Can ChatGPT use other providers besides Data Legion?

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

### Can I use Data Legion in other AI apps?

Yes. Connect Firecrawl to Claude, 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 Data Legion capabilities are available there. Keyless connections don't include Alexandria.
