A MCP server providing financial data from Bloomberg blpapi
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz
- Upload date:
- Size: 52.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e4807f4c4ba9a438d159a0e42224210a263c8d8a50cbada7cf227aaf29efd6
|
|
| MD5 |
ff71383e750fb6871e9b90971d9fa8db
|
|
| BLAKE2b-256 |
7c3b59c28435e7bacdfd46b2d1a2b3b273181613c2d9704941c2b7ceac28b794
|
File details
Details for the file iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bd2d2b9073fd46b9b0d065207f36b82bc550710789b2d7d8da9e669c9d8e0b9
|
|
| MD5 |
80c52a6b0a8609c4ccf542aed35a7799
|
|
| BLAKE2b-256 |
df13949ee0f8f7e2db7d0508a2a56afad62613ec871a7bbdb375521dda1eaa0f
|