# How to connect GLEIF to ChatGPT

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

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

ChatGPT 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.

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 GLEIF 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 GLEIF or Firecrawl Alexandria. ChatGPT 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 ChatGPT 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.

ChatGPT 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 ChatGPT?

Name GLEIF or Firecrawl Alexandria in the prompt so ChatGPT 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://chatgpt.com/?q=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://chatgpt.com/?q=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://chatgpt.com/?q=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://chatgpt.com/?q=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 doesn't ChatGPT use GLEIF?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name GLEIF 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 GLEIF isn't available?

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

## Use GLEIF in other AI apps

- [GLEIF in Claude](https://alexandria.firecrawl.dev/providers/gleif-org/connect/claude)
- [GLEIF in Cursor](https://alexandria.firecrawl.dev/providers/gleif-org/connect/cursor)
- [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 ChatGPT

- [How to connect France public medicines database (BDPM) to ChatGPT](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/chatgpt)
- [How to connect ClinicalTrials.gov to ChatGPT](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/chatgpt)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to ChatGPT](https://alexandria.firecrawl.dev/providers/cms-gov/connect/chatgpt)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to ChatGPT](https://alexandria.firecrawl.dev/providers/data-cdc-gov/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, GLEIF 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 GLEIF MCP server for ChatGPT?

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

### What does connecting GLEIF to ChatGPT unlock?

ChatGPT 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, ChatGPT 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 ChatGPT?

No. ChatGPT 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 ChatGPT?

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

### Can ChatGPT use other providers besides GLEIF?

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