lei_lookupLABSCO SUMMARY
The relationship tool is what you cannot get from a name search.
Anyone can look up a company; walking from a subsidiary to its ultimate parent, or from a sub-fund to its manager, is the question that actually matters in due diligence and it is exactly what GLEIF's Level 2 data answers. The batch lookup and the local cache make this usable on a list rather than one name at a time — which is the difference between a curiosity and something you run before signing a contract.
What it is
A Go MCP server over GLEIF, the authoritative source for Legal Entity Identifiers. An LEI is the 20-character code that identifies a legal entity in financial transactions, mandated by MiFID II, EMIR, Dodd-Frank and DORA; this makes that database answerable in conversation, across 2.8M+ entities in 200+ jurisdictions.
What you get
lei_lookupfor full entity details from a 20-character code,validate_leito check format, ISO 17442 check digits and registration status,batch_lei_lookupfor up to 100 at oncesearch_entityby company name with fuzzy matching and pagination, andautocompletefor name suggestions from a prefix of at least 2 characterssearch_by_bicto find a bank's LEI from its BIC or SWIFT code, andsearch_by_isinto find a security's issuersearch_by_countryto list entities in a jurisdiction by ISO 2-letter codeget_relationshipsfor the ownership graph — direct parent, ultimate parent, children, fund manager, umbrella fund, sub-fundsget_reporting_exceptionsfor Level 2 exceptions and the reasons given,list_lei_issuersandget_lei_issuerfor the Local Operating Units that issue codes- 12 tools in total, with results cached locally so repeat queries return instantly and built-in rate limiting that keeps you inside GLEIF's quotas
Requirements
No account and no API key — GLEIF's API is public. Download the binary for your platform from the releases page (macOS arm64 and amd64, Linux amd64 and arm64, Windows amd64), or go install github.com/olgasafonova/gleif-mcp-server@latest, or build from source with Go 1.25+. On macOS you need chmod +x and xattr -d com.apple.quarantine on the downloaded file before it will run. Then point your client's config at the binary path. Also published as ghcr.io/olgasafonova/gleif-mcp-server. MIT.
Setup effort
One command — go install github.com/olgasafonova/gleif-mcp-server@latest
USE CASES
Checking who you are about to sign with
Search the name, confirm the LEI validates and is still registered, and read the registered address.
Tracing who really owns a counterparty
Walk from the entity to its direct parent and then to the ultimate parent, or down to its children.
Connecting a security to its issuer
Go from an ISIN to the issuing entity's LEI, or from a BIC to the bank behind it.
Enriching a list of company names
Batch up to 100 codes in one request rather than a call per row.
Explaining a gap in the ownership data
Read the Level 2 reporting exceptions and the reason the entity gave for not reporting a parent.
12 tools
Listed in project docs. Your client may show a different list.
validate_leibatch_lei_lookupsearch_entitysearch_by_bicsearch_by_isinsearch_by_countryautocompleteget_relationshipsget_lei_issuerlist_lei_issuersget_reporting_exceptionsBEFORE YOU INSTALL
What to know first
Tools you get
12 tools named in the project's documentation.
Requires
go on PATH
INSTALLATION
Connect your client
Server setup
go install github.com/olgasafonova/gleif-mcp-server@latestMCP Clients
Claude Desktop
{
"mcpServers": {
"gleif": {
"command": "/Users/<YOUR_USERNAME>/Downloads/gleif-mcp-server-darwin-arm64"
}
}
}Claude Code
claude mcp add gleif <YOUR_PATH_TO_GLEIF_MCP_SERVER>Cursor, Windsurf, Antigravity
{
"mcpServers": {
"gleif": {
"command": "<YOUR_PATH_TO_GLEIF_MCP_SERVER>"
}
}
}Continue
{
"experimental": {
"modelContextProtocolServers": [
{
"name": "gleif",
"transport": {
"type": "stdio",
"command": "<YOUR_PATH_TO_GLEIF_MCP_SERVER>"
}
}
]
}
}Cline
{
"mcpServers": {
"gleif": {
"command": "<YOUR_PATH_TO_GLEIF_MCP_SERVER>",
"args": []
}
}
}