MCP server for Bloomberg market data

MCP server for Bloomberg market data

bloomberg-mcp-server•byvrushilg

An MCP server that connects to Bloomberg's Hypermedia API to fetch historical and current rates in a normalized format for MCP-capable clients.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides a historical rates tool that retrieves normalized historical time series for securities over a date range.
  • •Provides a current rates tool that retrieves latest or snapshot quotes for securities.
  • •Authenticates with the Bloomberg Hypermedia API using JWT tokens generated from client ID and secret.
  • •Enforces per-tool access control by checking the logged-in user's status against a NocoDB endpoint.

BEST FOR

  • •Fetching historical price time series for currencies and other securities through an MCP client.
  • •Retrieving current bid, ask and last-price snapshots for securities such as equities.

ABOUT BLOOMBERG-MCP-SERVER

MCP server for Bloomberg market data is cataloged as an MCP server attributed to vrushilg. An MCP server that connects to Bloomberg's Hypermedia API to fetch historical and current rates in a normalized format for MCP-capable clients. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Bloomberg market data are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How is Bloomberg API authentication handled?

The server authenticates with the Bloomberg Hypermedia API using JWT-based authentication, generating a token from a client ID and secret.

What happens if a user is not authorized to use a tool?

The server checks the logged-in user's status via a NocoDB endpoint; the user must exist and have active status, otherwise the tool returns a structured ACCESS_DENIED error.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 031f713f4e60 · 采集于 2026-11-13 12:05:22 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Bloomberg MCP Server

Introduction

This project provides a Model Context Protocol (MCP) server that integrates with Bloomberg’s Hypermedia API.
It allows clients (e.g., Windsurf, Postman MCP, internal assistants that supports MCP integration) to fetch historical and current rates in a structured, normalized format.

The server is built in Python with:

  • FastMCPfor MCP tooling
  • httpx for async HTTP requests
  • Server-Sent Events (SSE) to handle Bloomberg’s asynchronous data distribution

Features

  • 🔑 JWT-based authentication with Bloomberg Hypermedia API
  • 📈 Historical rates tool – get normalized time series data over a date range
  • 📊 Current rates tool – get latest/snapshot quotes for securities
  • 🙋 Greeting/help tool – friendly entry point with usage examples
  • ✅ Access control via NocoDB API – restrict tool usage by user status
  • 🧩 Schema validation with msgspec
  • 📡 SSE dispatcher – handles async Bloomberg responses
  • 📝 Structured error responses for consistent handling
  • 📦 Dockerized with pyproject.toml + uv dependency management
  • 🖥️ Console-only logging with configurable log levels

Installation

Clone the repository and install dependencies with uv:

git clone https://github.com/AlterDomus/bloomberg-mcp-server.git
cd bloomberg-mcp-server

# install dependencies (pyproject.toml)
uv venv # Optional, if you want to create a virtual enviornment (recommended)
uv sync

Configuration

All configuration is via environment variables.

Bloomberg credentials:

BLOOMBERG_HOST_URL=https://api.bloomberg.com
BLOOMBERG_CLIENT_ID=<your client id>
BLOOMBERG_CLIENT_SECRET=<your client secret>

Bloomberg configurations:

BLOOMBERG_CATALOG_ID=<catalog id>
BLOOMBERG_API_VERSION=<version number>
BLOOMBERG_REQUEST_TIMEOUT=<request timeout>
BLOOMBERG_TERMINAL_USER_NUMBER=<users terminal number>
BLOOMBERG_SECURITY_LIMIT=<default security limit>

Access control (NocoDB):

NOCODB_API_URL=https://nocodb.example.com/api/v1/db/data/v1/mydb/user_access
NOCODB_TOKEN=<nocodb-api-token>

Logging:

LOG_LEVEL=INFO  # DEBUG, INFO, WARNING, ERROR

Running the Server

Local (stdio):

python -m main

Path (stdio):

C:\Projects\bloomberg-mcp\.venv\Scripts\python.exe C:\Projects\bloomberg-mcp\main.py # Path consist of env and the main file location

Local (streamable HTTP):

python -m main

URL (streamable HTTP):

http://127.0.0.1:8000/mcp

Headers (streamable HTTP):

{
  "Content-Type": "application/json",
  "x-librechat-user-email": "<logged-in user from MCP client>"
}

Available Tools

greeting

Purpose: Return a friendly introduction and examples.
Input: Optional payload.
Output:

{
  "message": "👋 Hi! I’m your Bloomberg AI Assistant..."
}

historical_rates

Purpose: Retrieve normalized historical time series for securities.
Input:

{
  "symbols": [{"id_type":"TICKER","id_value":"EURUSD Curncy"}],
  "fields": [{"name":"PX_LAST"},{"name":"PX_MID"}],
  "currency": "USD",
  "start_date": "2024-01-01",
  "end_date": "2024-01-05"
}

Output:

{
  "data": {
    "TICKER:EURUSD Curncy": [
      {"date":"2024-01-01","values":{"PX_LAST":1.23,"PX_MID":1.22}}
    ]
  }
}

current_rates

Purpose: Retrieve latest/snapshot quotes.
Input:

{
  "symbols": [{"id_type":"SEDOL","id_value":"2046251"}],
  "fields": [{"name":"BID"},{"name":"ASK"},{"name":"PX_LAST"}],
  "currency": "EUR"
}

Output:

{
  "data": {
    "SEDOL:2046251": {
      "fields": {"BID":189.7,"ASK":190.3,"PX_LAST":190.1}
    }
  }
}

Authentication and Access Management

Bloomberg API requires a JWT token, generated with client ID and secret.

Access control is enforced per tool:
The server queries a NocoDB endpoint with the logged-in user email (passed via HTTP header).

  • User must exist and have status active
  • Otherwise, the tool returns a structured ACCESS_DENIED error.

Development Notes

Project Layout:

scripts/
  sample_current.json
  sample_historical.json
  test_historical.py
src/
  config.py
  server.py
  schemas/
    base.py
    current.py
    error.py
    historical.py
  services/
    sse.py
    access.py
  tools/
    greeting.py
    historical.py
    current.py
    _guards.py
  utils/
    auth.py
    errors.py
    http.py
    logging_config.py
    parsing.py
main.py
.env
.env.example
<configuration files>
  • Logging: Unified console logging via src/utils/logging_config.py
  • Schemas: Request/response types defined with msgspec
  • Error Handling: All errors use a shared make_error_response helper
  • Tests: Include examples like test_historical.py
  • Docker: Lightweight python:3.12-slim with uv package manager

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Bloomberg market data from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/bloomberg-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics