How to connect Data Legion to Grok Bot
Add the Firecrawl plugin to Grok Bot once and it can call the Data Legion API and every other provider in Firecrawl Alexandria, with no Data Legion integration code.
To connect Data Legion to Grok Bot, add the Firecrawl plugin to Grok Bot, sign in on a Firecrawl team with Alexandria enabled, and ask for Data Legion data in plain language. The connection works in every Bot in your Grok Bot account, and you set it up once.
Grok Bot 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.
Grok Bot is xAI's agent app. Plugins give your Bots outside tools, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect Data Legion to Grok Bot?
Add the Firecrawl plugin
In Grok Bot, open Connect apps from the sidebar, find Firecrawl and select Connect. You can also open Firecrawl's plugin listing and select Add to Grok Bot, which opens the desktop app to finish the install.

Connect your Firecrawl account
Grok Bot opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and select Authorize. The screen names Cursor, because the plugin is published on the Cursor Marketplace. No account yet? You can create one for free in the same flow.

Ask your Bot for the data
In a chat, ask in plain language and mention Data Legion or Firecrawl Alexandria. To make sure the Bot uses Firecrawl, type @ and choose Firecrawl first. For example:
Use Firecrawl to enrich firecrawl.dev with company size, industry, founding year and headquarters.
What can Grok Bot 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.
Grok Bot 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.
See all 19 capabilities and their inputs on the Data Legion API page.
What should I ask Grok Bot?
Name Data Legion or Firecrawl Alexandria in the prompt so Grok Bot reaches for it.
- Use Firecrawl to enrich firecrawl.dev with company size, industry, founding year and headquarters.
- Use Firecrawl to get the available monthly employee counts, hires and departures for stripe.com using premium company enrichment.
- Use Firecrawl to search the base person dataset for software engineers at Google and return one row.
- Use Firecrawl to help with this: Discover enterprise SaaS companies founded after 2015 and return one row.
Troubleshooting
Why doesn't my Bot use Data Legion?
Attach Firecrawl to the chat with @ before you ask, and name Data Legion or Firecrawl Alexandria in the prompt.
Add to Grok Bot doesn't open the app. What should I do?
Install the Grok Bot desktop app first, or open Connect apps in Grok Bot and search for Firecrawl.
Use Data Legion in other AI apps
The same Firecrawl account reaches Data Legion from other AI apps. Pick one for its setup steps:
Other data providers you can connect to Grok Bot
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 Grok Bot, 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. Grok Bot 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 Grok Bot?
Grok Bot 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 Grok Bot unlock?
Grok Bot 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, Grok Bot 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 Grok Bot?
No. Grok Bot 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 Grok Bot?
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 Grok Bot, and finding the right capability is free.
Can Grok Bot 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 ChatGPT, Claude, Cursor, 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.