mcpField
O
openfigi

openfigi

Local
github.com/viktorlarssonFinance0Updated 41w ago

About openfigi

openfigi is an MCP server for querying FIGIs through the OpenFIGI API, aimed at AI assistants used in financial research and data workflows. It stands out with identifier auto-detection, batch mapping, and reference data resources.

Key features

  1. 01Search ISIN, CUSIP, SEDOL, and more
  2. 02Automatically detect identifier types
  3. 03Parse ticker and exchange formats
  4. 04Map up to 100 identifiers per request
  5. 05Provide identifier and exchange reference resources

Use cases

  1. 01Map ISINs to FIGIs
  2. 02Identify securities in mixed text
  3. 03Process lists of identifiers in batches

MCP support

The server exposes OpenFIGI search, auto-detection, and batch-mapping tools to MCP clients, along with reference data through MCP resources.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"viktorlarsson-openfigi": {
"command": "npx",
"args": [
"-y",
"openfigi-mcp"
],
"env": {
"OPENFIGI_API_KEY": "<OPENFIGI_API_KEY>"
}
}
}
}
Run commandnpx -y openfigi-mcp
Environment variables to set
OPENFIGI_API_KEYSecretOpenFIGI API key (optional but recommended for higher rate limits)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmopenfigi-mcp0.2.4

Tools

11

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
isinstringYesISIN to search for (e.g., "US0378331005" for Apple)
micCodestringNoMIC code filter (e.g., "XNAS", "XNYS")
currencystringNoCurrency filter (e.g., "USD", "EUR")
exchCodestringNoExchange code filter (e.g., "US", "NASDAQ")
marketSecDesstringNoMarket sector filter (e.g., "Equity", "Corp")
securityTypestringNoSecurity type filter (e.g., "Common Stock")
includeUnlistedEquitiesbooleanNoInclude unlisted equities

Details

From the project README

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
Smart Ticker Search

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.