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.
Metadata
Release files for iflow-mcp_djsamseng-blpapi-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz | 52.4 kB | Without provenance | Details for iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl |
Total release size: 56.8 kB
Release files / iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz
| Download URL | iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz |
|---|---|
| Size | 52.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9e4807f4c4ba9a438d159a0e42224210a263c8d8a50cbada7cf227aaf29efd6
|
|
BLAKE2b-256 checksum How to use checksums |
7c3b59c28435e7bacdfd46b2d1a2b3b273181613c2d9704941c2b7ceac28b794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bd2d2b9073fd46b9b0d065207f36b82bc550710789b2d7d8da9e669c9d8e0b9
|
|
BLAKE2b-256 checksum How to use checksums |
df13949ee0f8f7e2db7d0508a2a56afad62613ec871a7bbdb375521dda1eaa0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for iflow-mcp_djsamseng-blpapi-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.