- Explore MCP Servers
- blpapi-mcp
Blpapi Mcp
What is Blpapi Mcp
blpapi-mcp is a MCP server that provides financial data sourced from Bloomberg’s blpapi. It requires a running Bloomberg Terminal for access.
Use cases
Use cases for blpapi-mcp include developing trading algorithms, financial analysis tools, and integrating Bloomberg data into custom applications.
How to use
To use blpapi-mcp, first install it using UV, then run the server with specified host and port. Configure your project to connect to the MCP server by setting up a JSON configuration file.
Key features
Key features of blpapi-mcp include real-time financial data access, compatibility with various clients like Cursor and Claude Code, and ease of setup through UV.
Where to use
blpapi-mcp is primarily used in financial services, trading platforms, and applications that require real-time financial data from Bloomberg.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Blpapi Mcp
blpapi-mcp is a MCP server that provides financial data sourced from Bloomberg’s blpapi. It requires a running Bloomberg Terminal for access.
Use cases
Use cases for blpapi-mcp include developing trading algorithms, financial analysis tools, and integrating Bloomberg data into custom applications.
How to use
To use blpapi-mcp, first install it using UV, then run the server with specified host and port. Configure your project to connect to the MCP server by setting up a JSON configuration file.
Key features
Key features of blpapi-mcp include real-time financial data access, compatibility with various clients like Cursor and Claude Code, and ease of setup through UV.
Where to use
blpapi-mcp is primarily used in financial services, trading platforms, and applications that require real-time financial data from Bloomberg.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
BLPAPI-MCP
A MCP server providing financial data from Bloomberg’s blpapi.
Note: A Bloomberg Terminal must be running (BBComm must be accessible) for data access.
Installation
Using UV
uv add git+https://github.com/djsamseng/blpapi-mcp
Run the MCP Server
uv run blpapi-mcp --sse --host 127.0.0.1 --port 8000
Using blpapi-cmp from Cursor
- For project only: create .cursor/mcp.json in your project directory
- For global: create
~/.cursor/mcp.json - Replace the host and port with the MCP server running from above
Using blpapi-mcp from Claude Code
- Replace the url with the MCP server running from above
claud mcp add --transport sse blpapi-mcp http://127.0.0.1:8000/sse
Using blpapi-mcp from Aider
Development
Requirements
curl -LsSf https://astral.sh/uv/install.sh | sh
- Clone this repository
git clone https://github.com/djsamseng/blpapi-mcp
- Setup the venv
uv venv
source .venv/bin/activate
- Run the MCP server
uv run blpapi-mcp --sse --host 127.0.0.1 --port 8000
- Run a test client that starts up it’s own server in stdio mode
uv run examples/clients/blp_stdio_client.py
- Run a test client that uses an existing running sse server
uv run examples/clients/blp_sse_client.py --host http://127.0.0.1 --port 8000
Trademark Note
This project not affiliated with Bloomberg Finance L.P. The use of the name Bloomberg is only descriptive as towards what this package is used with.
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










