How to connect Data Legion to Cursor
Add the Firecrawl MCP server to Cursor 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 Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for Data Legion data in plain language. The connection works in Cursor's agent and chat, and you set it up once.
Cursor 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.
Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect Data Legion to Cursor?
Install the Firecrawl MCP server
Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

Connect your Firecrawl account
Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

Ask Cursor's agent for the data
In the agent chat, ask in plain language and mention Data Legion or Firecrawl Alexandria. The agent finds the Data Legion capability that fits and runs it. For example:
Use Firecrawl to enrich firecrawl.dev with company size, industry, founding year and headquarters.
What can Cursor 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.
Cursor 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 Cursor?
Name Data Legion or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.
- 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 can't Cursor find Data Legion?
If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.
Firecrawl shows a red dot in Cursor. What should I do?
Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.
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 Cursor
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 MCP server brings those tools into Cursor, 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. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, 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 Cursor?
Cursor reaches Data Legion through Firecrawl's hosted MCP server, which serves Data Legion and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Data Legion.
What does connecting Data Legion to Cursor unlock?
Cursor 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, Cursor 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 Cursor?
No. Cursor 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 Cursor?
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 Cursor, and finding the right capability is free.
Can Cursor use other providers besides Data Legion?
Yes. The same Firecrawl MCP server 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, 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.