Key optional
OpenFIGI Mapping Skill
Help an agent resolve tickers, ISINs and exchange context into normalized security identifiers.
- Source
- Bloomberg OpenFIGI
- Access
- Key optional
What this adds to your agent
Map ticker and exchange to FIGI
Reduce ambiguous company matches
Normalize identifiers across tools
Map ticker and exchange to FIGI
A ticker alone is often ambiguous; ask for exchange or market context before mapping.
Bloomberg OpenFIGI · identity
Build the tool server
from mcp.server.fastmcp import FastMCP
import os, requests
mcp = FastMCP("OpenFIGI")
@mcp.tool()
def map_ticker(ticker: str, exchange: str = "US") -> list:
"""Map a ticker and exchange code to FIGI identifiers."""
headers = {"Content-Type": "application/json"}
if os.getenv("OPENFIGI_API_KEY"):
headers["X-OPENFIGI-APIKEY"] = os.environ["OPENFIGI_API_KEY"]
body = [{"idType": "TICKER", "idValue": ticker, "exchCode": exchange}]
return requests.post("https://api.openfigi.com/v3/mapping",
json=body, headers=headers, timeout=20).json()
if __name__ == "__main__": mcp.run()Examples and expected outcomes
Fetch prices and statements in agent chat
- Sourced evidence
- Repeatable steps
- Explicit uncertainty
Create a read-only research brief
- Sourced evidence
- Repeatable steps
- Explicit uncertainty
Compare tickers with source timestamps
- Sourced evidence
- Repeatable steps
- Explicit uncertainty
Access requirements
OPENFIGI_API_KEY
Review source and upstream data licenses
Use caching, backoff and bounded concurrency
Connect to your Agent
{
"mcpServers": {
"openfigi-agent": {
"command": "python",
"args": [
"server.py"
],
"env": {
"OPENFIGI_API_KEY": "YOUR_KEY"
}
}
}
}“Use OpenFIGI Mapping Skill to research AAPL. List sources and timestamps first, then separate facts, calculations, risks and missing data. Do not give personalized trading advice.”
When not to use it
- A ticker alone is often ambiguous; ask for exchange or market context before mapping.
Connect it to your agent
{
"mcpServers": {
"openfigi-agent": {
"command": "python",
"args": [
"server.py"
],
"env": {
"OPENFIGI_API_KEY": "YOUR_KEY"
}
}
}
}“Use the connected tool to research AAPL. State the source and timestamp for every factual claim, separate facts from interpretation, and do not give personalized financial advice.”
Production checklist
- Keep secrets outside prompts and source code
- Allowlist read-only tools first
- Log tool inputs, outputs and source timestamps
- Require citations and handle missing data explicitly
When not to use it
A ticker alone is often ambiguous; ask for exchange or market context before mapping.
Open official documentationProject-specific questions
What can OpenFIGI Mapping Skill do in a real workflow?
Map ticker and exchange to FIGI Reduce ambiguous company matches Normalize identifiers across tools
What access and compatibility does OpenFIGI Mapping Skill require?
Key optional. Bloomberg OpenFIGI.
What is the main implementation risk with OpenFIGI Mapping Skill?
A ticker alone is often ambiguous; ask for exchange or market context before mapping.