Skip to main content

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

  1. Install UV
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone this repository
git clone https://github.com/djsamseng/blpapi-mcp
  1. Setup the venv
uv venv
source .venv/bin/activate
  1. Run the MCP server
uv run blpapi-mcp --sse --host 127.0.0.1 --port 8000
  1. Run a test client that starts up it's own server in stdio mode
uv run examples/clients/blp_stdio_client.py
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Hashes for iflow_mcp_djsamseng_blpapi_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f9e4807f4c4ba9a438d159a0e42224210a263c8d8a50cbada7cf227aaf29efd6
MD5 ff71383e750fb6871e9b90971d9fa8db
BLAKE2b-256 7c3b59c28435e7bacdfd46b2d1a2b3b273181613c2d9704941c2b7ceac28b794

See more details on using hashes here.

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

Hashes for iflow_mcp_djsamseng_blpapi_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bd2d2b9073fd46b9b0d065207f36b82bc550710789b2d7d8da9e669c9d8e0b9
MD5 80c52a6b0a8609c4ccf542aed35a7799
BLAKE2b-256 df13949ee0f8f7e2db7d0508a2a56afad62613ec871a7bbdb375521dda1eaa0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page