# How to connect GLEIF to Cursor

> Connect GLEIF to Cursor with the Firecrawl MCP server. Use GLEIF as an MCP tool in Cursor via Firecrawl Alexandria, with setup steps and example prompts.

To connect GLEIF to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for GLEIF data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

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

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 GLEIF to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. 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.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention GLEIF or Firecrawl Alexandria. The agent finds the GLEIF capability that fits and runs it. For example:

```text
Use Firecrawl to find up to 10 GLEIF legal entities named Apple with legal addresses in the United States, and show their LEIs and legal names.
```

## What can Cursor do with GLEIF?

Global LEI search by name or national business-register number, identity and reported direct/ultimate accounting-consolidation parents and children, plus the GLEIF Golden Copy collection contract: publication status, Level 1/Level 2/reporting-exception delta files, the paginated Level 2 (rr) full copy pinned to one publication, and one LEI mapped onto CDF field names.

Cursor can run any of GLEIF's 11 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **By registration**: Find GLEIF LEI records by a company's national business-register number as GLEIF records it (entity.registeredAs), such as a Dutch KvK number, an Italian codice fiscale, a French SIREN or a UK Companies House number. Optional legal-address country and GLEIF Registration Authority code narrow a number that repeats across registers. Returns the same records as search: legal name, legal and headquarters address, entity and registration status, registration authority id, LEI and relationship links. A number no LEI record carries fails as not_found. Costs 5 Firecrawl credits per call.
- **Direct children**: Page through reported direct accounting-consolidated children for an LEI. This excludes unreported ownership relationships. Costs 5 Firecrawl credits per call.
- **Direct parent**: Retrieve the reported direct accounting-consolidating parent, or its reporting-exception record and reason. This is not a complete beneficial-ownership graph. Costs 5 Firecrawl credits per call.
- **Entity**: Resolve an exact 20-character LEI to source identity, registration, mapped identifiers and relationship links. Unknown LEIs fail as upstream not-found, not an empty success. Costs 5 Firecrawl credits per call.
- **Records changes**: Rows of one Golden Copy delta file (IntraDay, LastDay, LastWeek or LastMonth) for lei2, rr or repex, streamed from the CSV zip by byte range and paginated with an opaque cursor pinned to one publication and file. Each record carries source_record_id, source_url, publication_id, retrieved_at, deleted_at (rr/repex DeletedAt) and every non-empty CDF column under fields. Files above the 32 MiB fetch cap (lei2 LastMonth) fail with exceeds_fetch_cap: download the URL from source_status. Costs 5 Firecrawl credits per call.
- **Records get**: One LEI from api.gleif.org mapped onto Golden Copy CDF field names (LEI, Entity.LegalName, Entity.LegalJurisdiction, Entity.LegalForm.EntityLegalFormCode, Entity.EntityStatus, Registration.RegistrationStatus, Entity.LegalAddress, Entity.HeadquartersAddress, RegistrationAuthority, SuccessorEntity, LegalEntityEvents) plus its Level 2 parent side: the direct and ultimate parent relationship records (StartNode = this LEI) or the reporting exception that replaces them. publication_id is api.gleif.org's goldenCopy.publishDate, which can lag the files by one publication. Unknown LEIs fail not_found. Costs 5 Firecrawl credits per call.
- **Records list**: The full current Level 2 (rr, 'who owns whom') relationship list from the Golden Copy rr CSV zip, paginated with a cursor pinned to one publication. Every page re-reads publishes/rr/latest and fails with publication_changed when the source moved on (unless publication_id was pinned explicitly: old publications stay downloadable). Each page streams the zip from byte 0 up to the requested rows, so later pages cost more. lei2 (482 MB) and repex (59 MB) full copies are hand-offs from source_status. Costs 5 Firecrawl credits per call.
- **Search**: Search global registered entities by name: current legal name, previous legal and other names, and ASCII-transliterated names, with optional legal-address country. Commas in the name are folded into spaces (GLEIF reads them as OR separators). Page through matching LEIs; name matches are candidates, not guaranteed identity equivalence. Costs 5 Firecrawl credits per call.
- **Source status**: Cheap version check of the GLEIF Golden Copy: the latest publication (publication_id, published_at), and for lei2 (Level 1), rr (Level 2) and repex (reporting exceptions) the full and delta (IntraDay, LastDay, LastWeek, LastMonth) zip URLs, sizes and record counts. The publisher posts no checksum (content_hash is null). lei2 and repex full copies are hand-offs (URL, size, record count) because they exceed the fetch cap; rr is served by records_list. Costs 5 Firecrawl credits per call.
- **Ultimate children**: Page through reported ultimate accounting-consolidated children for an LEI. This excludes unreported ownership relationships. Costs 5 Firecrawl credits per call.
- **Ultimate parent**: Retrieve the reported ultimate accounting-consolidating parent, or its reporting-exception record and reason. Preserve exceptions rather than claiming there is no parent. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name GLEIF or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to find up to 10 GLEIF legal entities named Apple with legal addresses in the United States, and show their LEIs and legal names.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20find%20up%20to%2010%20GLEIF%20legal%20entities%20named%20Apple%20with%20legal%20addresses%20in%20the%20United%20States%2C%20and%20show%20their%20LEIs%20and%20legal%20names.)
- [Use Firecrawl to look up Apple Inc.'s LEI HWUPKR0MPOU8FGXBT394 and show its legal name, address and LEI registration status.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20look%20up%20Apple%20Inc.'s%20LEI%20HWUPKR0MPOU8FGXBT394%20and%20show%20its%20legal%20name%2C%20address%20and%20LEI%20registration%20status.)
- [Use Firecrawl to show the reported direct and ultimate accounting-consolidating parents of LEI 2549008YU9EOMHFUA249, including any reporting exceptions.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20show%20the%20reported%20direct%20and%20ultimate%20accounting-consolidating%20parents%20of%20LEI%202549008YU9EOMHFUA249%2C%20including%20any%20reporting%20exceptions.)
- [Use Firecrawl to list up to 10 reported direct accounting-consolidated children of Apple Inc., LEI HWUPKR0MPOU8FGXBT394.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20list%20up%20to%2010%20reported%20direct%20accounting-consolidated%20children%20of%20Apple%20Inc.%2C%20LEI%20HWUPKR0MPOU8FGXBT394.)

### For agents

Start with the `gleif-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 can't Cursor find GLEIF?

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 GLEIF in other AI apps

- [GLEIF in ChatGPT](https://alexandria.firecrawl.dev/providers/gleif-org/connect/chatgpt)
- [GLEIF in Claude](https://alexandria.firecrawl.dev/providers/gleif-org/connect/claude)
- [GLEIF in Grok Bot](https://alexandria.firecrawl.dev/providers/gleif-org/connect/grok-bot)
- [GLEIF in Muse](https://alexandria.firecrawl.dev/providers/gleif-org/connect/muse)

### Other data providers you can connect to Cursor

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

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/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, GLEIF 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 GLEIF MCP server for Cursor?

Cursor reaches GLEIF through Firecrawl's hosted MCP server, which serves GLEIF 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 GLEIF.

### What does connecting GLEIF to Cursor unlock?

Cursor can run all 11 of GLEIF's capabilities, including By registration, Direct children and Direct parent, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to find up to 10 GLEIF legal entities named Apple with legal addresses in the United States, and show their LEIs and legal names." In the same conversation, Cursor can combine GLEIF with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own GLEIF account or API key to use it in Cursor?

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

### How much does it cost to use GLEIF in Cursor?

Each GLEIF 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 Cursor, and finding the right capability is free.

### Can Cursor use other providers besides GLEIF?

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 GLEIF 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 GLEIF capabilities are available there. Keyless connections don't include Alexandria.
