bic_to_lei
Pack: gleif · Endpoint: https://gateway.pipeworx.io/gleif/mcp
Resolve a SWIFT/BIC bank identifier code (8 or 11 characters, e.g. “DEUTDEFF” or “DEUTDEFFXXX”) to the bank’s legal entity: LEI, registered legal name, jurisdiction, and status, via the official GLEIF BIC-to-LEI mapping. Answers “which legal entity is behind this BIC” / “LEI for SWIFT code X” for cross-border bank identity (KYC, counterparty due diligence, payments). A branch BIC that has no mapping of its own falls back to the head office (the trailing “XXX” form) and says so.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bic | string | yes | SWIFT/BIC code, 8 or 11 characters, e.g. “DEUTDEFF”, “CHASUS33” or “DEUTDEFFXXX”. 8-character codes are treated as the head office (“XXX” branch). |
Example call
Arguments
{
"bic": "CHASUS33"
}
curl
curl -X POST https://gateway.pipeworx.io/gleif/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bic_to_lei","arguments":{"bic":"CHASUS33"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bic_to_lei', {
"bic": "CHASUS33"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"gleif": {
"url": "https://gateway.pipeworx.io/gleif/mcp"
}
}
}
See Getting Started for client-specific install steps.