Gleif Mcp Server

by olgasafonova

238 downloads
Not rated
GitHub

Description

# GLEIF MCP Server A Model Context Protocol (MCP) server for accessing the Global Legal Entity Identifier (LEI) database via GLEIF's public API. [![CI](https://github.com/olgasafonova/gleif-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/olgasafonova/gleif-mcp-…

About

# GLEIF MCP Server A Model Context Protocol (MCP) server for accessing the Global Legal Entity Identifier (LEI) database via GLEIF's public API. [![CI](https://github.com/olgasafonova/gleif-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/olgasafonova/gleif-mcp-server/actions/workflows/ci.yml) [![Go…

Details

Author
olgasafonova
Downloads
238
Categories
Database, Other, API

- LEI lookup, batch lookup (up to 100), and entity name search
- LEI validation (format, check digits, registration status)
- BIC/SWIFT and ISIN lookup for financial identifiers
- Corporate ownership and fund relationship queries
- Local caching with 15‑minute TTL and automatic rate limiting

Download the pre-built binary for your platform from the releases page, make it executable, then configure your MCP client (e.g., Claude Desktop, Cursor) to point to the binary path in the appropriate JSON config file. No API key is required; the server works out of the box with GLEIF's public API.

GLEIF MCP Server

A Model Context Protocol (MCP) server for accessing the Global Legal Entity Identifier (LEI) database via GLEIF's public API.

CI
Go Report Card
License: MIT

What this does: Gives your AI assistant the ability to look up company identities, verify legal entities, and explore corporate ownership structures using the official GLEIF database. Works with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and other MCP-compatible tools. Ask questions in plain English; get structured answers instantly.

Use Cases

- KYC & Onboarding: Verify counterparty identities before signing contracts
- Compliance Checks: Validate LEIs for MiFID II, EMIR, or DORA reporting
- Due Diligence: Research corporate ownership chains and ultimate parents
- Financial Analysis: Cross-reference securities (ISIN) and banks (BIC/SWIFT) with their legal entities
- Data Enrichment: Batch-process company lists to add LEI data

What is LEI?

The Legal Entity Identifier (LEI) is a 20-character alphanumeric code that uniquely identifies legal entities participating in financial transactions worldwide. It's mandated by 200+ regulations including MiFID II, EMIR, Dodd-Frank, and DORA.

LEI Format (ISO 17442):
- Characters 1-4: LOU (Local Operating Unit) prefix
- Characters 5-18: Entity-specific identifier
- Characters 19-20: Check digits (mod 97 validation)

Example: HWUPKR0MPOU8FGXBT394 (Apple Inc.)

Features

Core Capabilities

- LEI Lookup: Get full entity details by LEI code - Batch Lookup: Look up multiple LEIs in a single request (up to 100) - Entity Search: Find companies by name with fuzzy matching and pagination - LEI Validation: Verify format, check digits (ISO 17442), and registration status

Financial Identifiers

- BIC/SWIFT Lookup: Find bank LEIs from BIC codes - ISIN Lookup: Find security issuer LEIs from ISIN codes - Country Browse: List entities by jurisdiction

Relationships & Compliance

- Corporate Ownership: Parent companies, subsidiaries, ultimate parents - Fund Relationships: Fund managers, umbrella funds, sub-funds - Reporting Exceptions: Level 2 data exceptions with reasons - LEI Issuers: List and details of all Local Operating Units (LOUs)

Performance & Reliability

- Fast Responses: Results are cached locally, so repeat queries return instantly - No API Key Needed: Works out of the box with GLEIF's public API - Handles Errors Gracefully: Automatic retries on timeouts or temporary failures - Stays Within Limits: Built-in rate limiting prevents hitting GLEIF's quotas

Installation

Download Binary

Pre-built binaries for all platforms on the releases page:

| Platform | Binary |
|----------|--------|
| macOS (Apple Silicon) | gleif-mcp-server-darwin-arm64 |
| macOS (Intel) | gleif-mcp-server-darwin-amd64 |
| Linux (x64) | gleif-mcp-server-linux-amd64 |
| Linux (ARM64) | gleif-mcp-server-linux-arm64 |
| Windows (x64) | gleif-mcp-server-windows-amd64.exe |

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.