GLEIF
live FinanceIdentityGlobal Legal Entity Identifier Foundation — canonical 20-character LEI lookup and corporate hierarchy for ~2.5M financial-market entities. No auth.
3 tools
0ms auth
free tier 50 calls/day
Tools
search_lei
required: query Search legal entities by name. Returns matched entities with 20-char LEI, jurisdiction, status, BIC/ISIN cross-references.
Parameters
Name Type Description
query req string Legal entity name country opt string ISO 3166-1 alpha-2 country code status opt string ACTIVE | LAPSED | INACTIVE | PENDING | NULL page_size opt number 1-200 (default 25) Try it
Response
get_lei
required: lei Full Level 1 LEI record: legal name, addresses, entity category, legal form, registration authority, parent LEI.
Parameters
Name Type Description
lei req string 20-character LEI Try it
Response
get_lei_relationships
required: lei Level 2 corporate hierarchy: direct parent, ultimate parent, direct children.
Parameters
Name Type Description
lei req string 20-character LEI Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/gleif/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/gleif/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_lei","arguments":{"query": "hello"}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_lei", {"query":"example"}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("global legal entity identifier foundation — canonical 20-character lei lookup and corporate hierarchy for ~2");