blpapi-mcp
blpapi-mcp is an MCP server that provides financial data from Bloomberg's blpapi. It requires a running Bloomberg Terminal for data access and allows easy setup of the server to retrieve data. It also supports integration with Cursor and Claude Code, making it a useful tool for developers.
GitHub Stars
16
User Rating
Not Rated
Favorites
0
Views
49
Forks
3
Issues
0
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
{
"mcpServers": {
"server-name": {
"url": "http://127.0.0.1:8000/sse",
}
}
}
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.
9
Followers
78
Repositories
2
Gists
0
Total Contributions
🤩 Easy-to-use global IM bot platform designed for the LLM era / 简单易用的大模型即时通信机器人开发平台 ⚡️ Bots for QQ / QQ频道 / Discord / WeChat(微信)/ Telegram / 飞书 / 钉钉 / Slack 🧩 Integrated with ChatGPT(GPT)、DeepSeek、Dify、n8n、Claude、Google Gemini、xAI、PPIO、Ollama、阿里云百炼、SiliconFlow、Qwen、Moonshot(Kimi K2)、SillyTraven、MCP、WeClone etc. LLM & Agent & RAG