Sign In

openfigi-mcp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openfigi-mcp

MCP server for OpenFIGI API - Map financial identifiers to FIGIs via Model Context Protocol

latest
Source
npmnpm
Version
0.4.1
Version published
Weekly downloads
52
62.5%
Maintainers
1
Weekly downloads
 
Created
Source

openfigi-mcp

MCP (Model Context Protocol) server for the OpenFIGI API. Map financial identifiers to FIGIs directly from Claude and other MCP-compatible AI assistants.

Features

  • Search by identifier type: ISIN, CUSIP, SEDOL, Ticker, Bloomberg ID
  • Auto-detection: Automatically detect identifier types from text/CSV data
  • Ticker + Exchange: Parse formats like AAPL US, ABLI SS, VOD LN
  • Batch operations: Process up to 100 identifiers in a single request
  • Not Found reporting: Clear indicators when identifiers don't exist
  • Reference resources: Access identifier types, exchange codes, security types

Installation

Using npx (easiest)

No installation required - just configure Claude Desktop:

{
  "mcpServers": {
    "openfigi": {
      "command": "npx",
      "args": ["openfigi-mcp@latest"],
      "env": {
        "OPENFIGI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Global Installation

npm install -g openfigi-mcp
{
  "mcpServers": {
    "openfigi": {
      "command": "openfigi-mcp",
      "env": {
        "OPENFIGI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Available Tools

Search Tools

ToolDescriptionExample
search_by_isinSearch by ISINUS0378331005 (Apple)
search_by_cusipSearch by CUSIP037833100 (Apple)
search_by_sedolSearch by SEDOL2046251 (Apple)
search_by_tickerSearch by ticker (smart search)AAPL with exchCode US
search_by_bloomberg_idSearch by Bloomberg IDBBG000B9XRY4

The search_by_ticker tool automatically tries multiple security types when searching, so you don't need to know if a stock is common or preferred:

# These all work automatically:
AAPL US    → Common Stock (Apple)
VOW3 GY    → Preference shares (Volkswagen preferred)
P911 GY    → Preference shares (Porsche)
RR. LN     → Common Stock (Rolls-Royce)
BA. LN     → Common Stock (BAE Systems)

If you need to search for a specific security type, you can use the optional securityType2 parameter:

securityType2Description
Common StockRegular common shares
PreferencePreferred/preference shares
Depositary ReceiptADRs, GDRs
ETPETFs and other exchange-traded products

Auto-Detection Tools

ToolDescription
search_auto_detectAuto-detect identifier type and search a single identifier
parse_identifiersParse CSV/text and detect identifier types (no API call)
batch_search_auto_detectParse and search multiple identifiers in one request

Utility Tools

ToolDescription
batch_mappingMap up to 100 identifiers with explicit types
validate_identifierValidate identifier format without searching
get_rate_limit_statusCheck current API rate limit status

Auto-Detection Examples

Tickers with Exchange Codes

The tools recognize the Bloomberg Terminal format TICKER EXCHANGE:

Ticker
ABLI SS
ABSO SS
AAPL US
VOD LN
7203 JP

Common exchange codes:

CodeExchange
USUnited States
SSStockholm (Nasdaq Stockholm)
LNLondon
GYGermany (Xetra)
JPJapan
HKHong Kong
FPFrance (Euronext Paris)

Mixed Identifiers

The tools auto-detect different identifier types:

US0378331005      → ISIN [high confidence]
BBG000B9XRY4      → Bloomberg ID [high confidence]
AAPL US           → Ticker with exchange [high confidence]
037833100         → CUSIP [medium confidence]
2046251           → SEDOL [medium confidence]
AAPL              → Ticker [low confidence]

Not Found Handling

When identifiers don't exist in OpenFIGI, the output clearly indicates:

Single search:

Detected type: TICKER (Exchange: SS) [high confidence]

⚠️ NOT FOUND: "BLABLABLA" on exchange SS returned no results.

No results found

Batch search:

Detected 3 identifiers:
  - Ticker: 3

[1] TICKER: AAPL [US]
Result 1:
  FIGI: BBG000B9XRY4
  Name: APPLE INC
  ...

---

[2] TICKER: INVALID [SS] ⚠️ NOT FOUND
No results found

---

[3] TICKER: MSFT [US]
Result 1:
  FIGI: BBG000BPH459
  ...

---
Results: 2 found, 1 not found

⚠️ Not found:
  - INVALID [SS]

Available Resources

Access reference data via MCP resources:

Resource URIDescription
openfigi://identifier-typesList of supported identifier types (ID_ISIN, ID_CUSIP, etc.)
openfigi://exchange-codesCommon exchange codes (US, SS, LN, etc.)
openfigi://security-typesSecurity type values (Common Stock, ETF, etc.)
openfigi://market-sectorsMarket sector values (Equity, Corp, etc.)

Environment Variables

VariableDescriptionRequired
OPENFIGI_API_KEYYour OpenFIGI API keyNo (but recommended)

API Key

Get your free API key at openfigi.com/api.

Without API KeyWith API Key
Rate Limit25 req/min250 req/min

License

MIT

Keywords

openfigi

FAQs

Package last updated on 19 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts