lookup_lei
Look up a Legal Entity Identifier (LEI) via GLEIF — the global standard for entity identification. Returns legal name, registered address, status, parent + ultimate parent relationships, and child entities (subsidiaries). Also supports reverse lookup from a national company number to LEI across 15 countries (DK, NO, SE, FI, IE, UK, FR, DE, CZ, PL, LV, EE, NL, BE, LU). Tier note (reverse mode only): NL and DE use paid upstream registries — free-tier API keys receive HTTP 402 'upgrade_required'; do NOT retry on 402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "lookup_lei"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | National company ID. Required when mode='reverse'. | |
| lei | No | 20-character ISO 17442 Legal Entity Identifier. Required when mode='lei'. | |
| mode | Yes | 'lei' = look up by LEI directly. 'reverse' = look up LEI from national company number. | |
| country | No | ISO 3166-1 alpha-2 country code, lowercase. Required when mode='reverse'. | |
| include_relationships | No | If true, also fetch parent and child entities. Only applies when mode='lei'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | No | 20-character ISO 17442 identifier (mode='lei'). | |
| count | No | mode='reverse': number of LEI records found. | |
| found | No | mode='reverse': whether any LEI exists for the national ID. | |
| source | No | ||
| status | No | Entity status, e.g. ACTIVE / INACTIVE. | |
| records | No | mode='reverse': matching LEI records (same shape as a mode='lei' result). | |
| fetchedAt | No | ||
| legalForm | No | ISO 20275 entity legal form code. | |
| legalName | No | Registered legal name (mode='lei'). | |
| jurisdiction | No | ||
| legalAddress | No | ||
| registeredAs | No | National registry identifier. | |
| registration | No | GLEIF registration metadata (initial, lastUpdate, status ISSUED/LAPSED/..., nextRenewal). | |
| relationships | No | Only present when include_relationships=true. |