MCP ExplorerExplorer

Bloomberg Mcp

@djsamsengon 9 months ago
7 MIT
FreeCommunity
AI Systems
A MCP server providing financial data from Bloomberg blpapi

Overview

What is Bloomberg Mcp

Bloomberg-MCP is a server that provides financial data through the Bloomberg blpapi, enabling users to access and utilize financial information efficiently.

Use cases

Use cases for Bloomberg-MCP include developing trading algorithms, financial analysis tools, and integrating financial data into applications for enhanced decision-making.

How to use

To use Bloomberg-MCP, first install the required dependencies and run the server using the command ‘uv run bloomberg-mcp --sse --host 127.0.0.1 --port 8000’. Configure your project or global settings to connect to the server by specifying the server’s URL in a JSON configuration file.

Key features

Key features of Bloomberg-MCP include real-time financial data access, compatibility with various clients like Cursor and Claude Code, and easy installation and setup through UV.

Where to use

Bloomberg-MCP can be used in finance, investment analysis, trading platforms, and any application requiring real-time financial data.

Content

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

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers