Summary
Global Legal Entity Identifier (LEI) index from GLEIF, no API key: look up a company by LEI, name, BIC, ISIN or register number, read its legal address, legal form and registration status, follow reported parent and subsidiary relationships, list ISINs and decode register and legal form codes.
Guided setup
Connect GLEIF LEI to Cursor in 2 minutes
Start a free trial on AnythingMCP Cloud, connect GLEIF LEI in the guided setup, then add your MCP URL to Cursor. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for GLEIF LEI
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → GLEIF LEI, install it, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
GLEIF LEI + Cursor
Global Legal Entity Identifier (LEI) index from GLEIF, no API key: look up a company by LEI, name, BIC, ISIN or register number, read its legal address, legal form and registration status, follow reported parent and subsidiary relationships, list ISINs and decode register and legal form codes.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
None. This connector needs no account, API key or sign-in.
Step 1 — Get credentials
Setup: nothing to configure. Try gleif_get_lei_record with 529900W18LQJJN6SJ336.
Where to start
- From a name to an LEI:
gleif_fuzzy_complete(tolerates typos) orgleif_autocomplete(prefix), thengleif_get_lei_record. For filtered lists usegleif_search_lei_records(by name, country, legal form, register number, BIC, ISIN, status). - From an identifier:
gleif_search_lei_recordswithbic,isin,registered_asor a comma-separatedleilist. - Group structure:
gleif_get_direct_parent,gleif_get_ultimate_parent,gleif_list_direct_children,gleif_list_ultimate_children. Details of a link (periods, status):gleif_get_parent_relationship,gleif_list_child_relationships. No parent reported:gleif_get_parent_reporting_exceptiongives the reason. Funds:gleif_get_fund_manager. - Securities:
gleif_list_isins. History:gleif_list_field_modifications. - Decoding codes:
gleif_get_registration_authorityandgleif_list_registration_authorities(registeredAt),gleif_get_legal_form(legalForm.id),gleif_get_lei_issuer,gleif_get_lei_issuer_of_recordandgleif_list_lei_issuers(managingLou).
Reading a record
- The API is JSON:API: the record is in
data.attributes, links to related records indata.relationships, list paging inmeta.pagination.meta.goldenCopy.publishDateis the date of the data set. entity.status(ACTIVE or INACTIVE) is about the company;registration.statusis about the LEI: ISSUED means valid and renewed, LAPSED means the yearly renewal was missed (the entity usually still exists), RETIRED or MERGED mean the entity ceased or was absorbed (seesuccessorEntities).registration.nextRenewalDateis when the LEI lapses.registration.corroborationLevelsays how far the data was checked against the register (FULLY_CORROBORATED is best).entity.registeredAsis the number in the business register named byentity.registeredAt.id.entity.legalForm.idis an ELF code; 8888 means a legal form that is not in the list (seelegalForm.other), 9999 means none.
Relationships are accounting consolidation, not shareholdings: a parent is the entity that fully consolidates the child in its financial statements. Minority stakes are not in the data, and many entities report an exception instead of a parent (natural persons as owners, no consolidation, parent without LEI). A 404 on a parent tool therefore does not mean the entity is independent.
Paging and limits: lists return 10 records by default; page_size goes up to 200 and page_number starts at 1. GLEIF allows 60 requests per minute per client; a 429 answer means wait a minute. For bulk analysis GLEIF offers the Golden Copy files for download instead.
Search tips: name filters match whole words in any order, without wildcards. Filters with several comma-separated values mean OR; different filters mean AND. An unknown filter or sort field is refused with HTTP 400. A BIC must be written with 11 characters.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Cursor
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Cursor reads MCP servers from ~/.cursor/mcp.json. Add this entry:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart Cursor.
- Open Cursor → Settings → MCP and check that
anythingmcpis listed and connected. - Start chatting — the agent can now call the
GLEIF LEItools.
Available tools
| Tool | What it does |
|---|---|
gleif_search_lei_records | Search the global LEI index (about 3 million legal entities) by name, identifier or attributes. Each record has attributes.lei… |
gleif_get_lei_record | Get one LEI record by its LEI: attributes.lei, attributes.entity (legalName, otherNames, legalAddress, headquartersAddress, registeredAt… |
gleif_get_direct_parent | Get the LEI record of the direct accounting consolidating parent of an entity (the next entity up that consolidates it in its financial… |
gleif_get_ultimate_parent | Get the LEI record of the ultimate accounting consolidating parent of an entity (the top of its group). Answers 404 when none is reported… |
gleif_list_direct_children | List the LEI records of the entities that an entity directly consolidates (its direct subsidiaries with an LEI). The answer is JSON:API… |
gleif_list_ultimate_children | List the LEI records of every entity whose ultimate consolidating parent is this entity (the whole group below it, as far as LEIs are… |
gleif_get_parent_relationship | Get the relationship record between an entity and its direct or ultimate parent: start and end node LEIs, relationship type… |
gleif_get_parent_reporting_exception | Get the reason an entity gave for not reporting a direct or ultimate parent: category and reason (NO_KNOWN_PERSON, NATURAL_PERSONS… |
gleif_list_child_relationships | List the relationship records between an entity and its direct or ultimate children: child LEI (startNode), relationship type, status… |
gleif_get_fund_manager | For a fund: get the LEI record of the entity that manages it (fund management relationship). Answers 404 for entities that are not funds or… |
gleif_list_isins | List the ISINs of securities issued by an entity, from the daily ISIN-to-LEI mapping of the national numbering agencies. Each row has lei… |
gleif_list_field_modifications | List the change history of an LEI record: one row per changed field with modificationType, field (an XPath into the LEI record), date… |
gleif_get_lei_issuer_of_record | Get the LEI issuer (Local Operating Unit) that manages an LEI record: its lei, name, marketingName, website and accreditationDate. This is… |
gleif_fuzzy_complete | Typo-tolerant name lookup: returns up to 10 entity names close to the text, each with the LEI of its record in… |
gleif_autocomplete | Prefix completion as used by search boxes: returns up to 10 entity names that continue the typed text, with the match in highlighting (HTML… |
gleif_list_registration_authorities | List the business registers known to GLEIF (about 1,100): code (RA000304), internationalName and localName of the register, the… |
gleif_get_registration_authority | Get one registration authority by its code: register name (international and local), the organisation running it, website and the countries… |
gleif_get_legal_form | Decode an entity legal form code (ISO 20275 ELF): country, status and the legal form names in the local language with transliteration, e.g.… |
gleif_list_lei_issuers | List the accredited LEI issuers (Local Operating Units, about 40): lei, name, marketingName, website and accreditationDate. The answer is… |
gleif_get_lei_issuer | Get one LEI issuer by its own LEI (the managingLou of a record): name, marketingName, website and accreditationDate |
Example prompts
- "Look up the LEI of Siemens AG and show its legal address and registration status."
- "Who is the ultimate parent of LEI 529900W18LQJJN6SJ336?"
- "List the direct subsidiaries of Deutsche Telekom AG that have an LEI."
- "Which LEIs in Austria lapsed, and when was their renewal due?"
- "Which ISINs are mapped to the LEI of Allianz SE?"
FAQ
Do I need an account or API key? No. The GLEIF API is public, read-only and published under CC0. GLEIF allows 60 requests per minute per client; for bulk analysis GLEIF offers the Golden Copy files for download.
What does it cover? The daily updated LEI index with about 3 million legal entities: legal name, addresses, legal form, register number, entity and registration status, renewal dates, reported direct and ultimate parents and children, reporting exceptions, fund managers, ISIN mappings, the change history of records, and the code lists for registers, legal forms and LEI issuers.
Are parents and subsidiaries the same as shareholders? No. A parent in GLEIF data is the entity that fully consolidates the child in its financial statements; minority stakes are not included, and many entities report an exception instead of a parent. No parent therefore does not mean the entity is independent. Nothing installs switched off: every tool reads.
Does Cursor support custom MCP servers on the free tier? Yes — MCP is available on Hobby, Pro and Business plans.
Next steps
Was this guide helpful?