BLPAPI-MCP

by djsamseng

54 stars
659 downloads
Not rated
GitHub

About

A MCP server providing financial data from Bloomberg blpapi

Details

Author
djsamseng
GitHub stars
54
Downloads
659
Categories
Other

- Provides financial data from Bloomberg via blpapi
- Runs as an SSE-based MCP server
- Requires a running Bloomberg Terminal (BBComm accessible)
- Supports integration with Cursor and Claude Code
- Test clients included for stdio and SSE modes
- Open-source, not affiliated with Bloomberg L.P.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name BLPAPI-MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via UV with uv add git+https://github.com/djsamseng/blpapi-mcp, then run the server using uv run blpapi-mcp --sse --host 127.0.0.1 --port 8000. The server uses SSE transport and can be configured in tools like Cursor, Claude Code, or Aider (pending).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "blpapi-mcp": {
            "blpapi-mcp": {
                "command": "uv",
                "args": [
                    "run",
                    "blpapi-mcp",
                    "--sse",
                    "--host",
                    "127.0.0.1",
                    "--port",
                    "8000"
                ]
            }
        }
    }
}

McpServers

{
    "blpapi-mcp": {
        "command": "uv",
        "args": [
            "run",
            "blpapi-mcp",
            "--sse",
            "--host",
            "127.0.0.1",
            "--port",
            "8000"
        ]
    }
}

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
- Remote hosts for Claude Desktop is still in development

Using blpapi-mcp from Aider

- Pull request pending

Development

Requirements

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

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.