Xbbg MCP logo

Xbbg MCP

Exposes xbbg’s Bloomberg data workflows to MCP clients, including reference, historical, and intraday market-data queries.

Install Xbbg MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "xbbg-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xbbg-sdk"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio xbbg-mcp -- npx -y xbbg-sdk

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y xbbg-sdk

npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/xbbg-sdk - Not found npm error 404 npm error 404 'xbbg-sdk@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-12-02T02_23_24_776Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

xbbg MCP connects MCP clients to xbbg, a Bloomberg client backed by a shared Rust engine. It supports workflows for reference data, historical data, intraday bars and ticks, analytics, and other Bloomberg request patterns. Reach for it when an agent needs authorized Bloomberg access through higher-level xbbg operations rather than manually constructed SDK requests. Bloomberg access, runtime libraries, credentials, and entitlements must be supplied separately.

Use cases

  • Query Bloomberg reference fields for securities
  • Retrieve historical prices and fundamentals
  • Request intraday bars or tick data
  • Run Bloomberg analytics through agent workflows

Key features

  • Reference and historical Bloomberg data requests
  • Intraday bars, ticks, and streaming subscriptions
  • BQL, BEQS, BSRCH, BQR, BTA, and YAS coverage
  • DAPI, SAPI/B-PIPE, and ZFP configuration
  • Rust-backed parsing and Arrow-shaped data movement
  • Pandas, Polars, PyArrow, and DuckDB output options

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/25 checks healthy over the last 88d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · xbbg-sdk (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars690Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.

How Xbbg MCP works

What xbbg MCP does

xbbg MCP exposes xbbg’s Bloomberg data workflows to an MCP-compatible client. The underlying xbbg project provides Python APIs, JavaScript and Node bindings, and a Rust request engine for executing Bloomberg requests, parsing responses, moving Arrow-shaped data, and reporting typed errors and diagnostics.

The available xbbg coverage includes reference-data requests such as BDP and BDS, historical requests through BDH, intraday bars and ticks, streaming subscriptions, BQL, BEQS, BSRCH, BQR, BTA, YAS, and related analytics. The MCP interface is suited to agent workflows that need to retrieve or work with Bloomberg data without embedding low-level request handling in each application.

How it works

xbbg uses Bloomberg’s supported runtime rather than providing Bloomberg access itself. It can work with a local Bloomberg Desktop API environment by default, or with managed environments such as SAPI/B-PIPE and ZFP. Configuration also covers TLS, failover hosts, SOCKS5, and SDK logging.

Requests run through the shared Rust engine. Python users can consume results through Narwhals, native xbbg carriers, PyArrow, pandas, Polars, DuckDB, and other optional Narwhals-backed libraries. The broader xbbg API also supports synchronous and asynchronous operation, worker pools, and isolated subscription sessions.

Setup and configuration

Install the Python package with pip install xbbg, or use the conda-forge package. Supported Python versions are 3.11 through 3.15. Optional dataframe targets are installed separately with extras such as xbbg[pyarrow], xbbg[pandas], xbbg[polars], or xbbg[duckdb].

A working Bloomberg environment is required: local Terminal/DAPI, SAPI/B-PIPE, or ZFP, depending on the deployment. xbbg requires Bloomberg’s shared runtime library, which may come from a Bloomberg Terminal or DAPI installation, a managed C++ SDK, or Bloomberg’s official blpapi wheel. The Python blpapi package is not itself required by xbbg, although installing the official wheel can provide the runtime library.

When managing the SDK directly, configure its location with BLPAPI_ROOT or xbbg.set_sdk_path(...). On Windows, xbbg probes common DAPI installation paths automatically. Bloomberg authorization, credentials, licenses, data entitlements, and applicable agreements remain the user’s responsibility.

Tools and capabilities

  • Retrieve reference fields for one or more securities.
  • Query historical Bloomberg data over a date range.
  • Request intraday bars and tick data.
  • Access Bloomberg request families including BQL, BEQS, BSRCH, BQR, BTA, and YAS.
  • Use streaming subscriptions and asynchronous request workflows.
  • Route results to pandas, Polars, PyArrow, DuckDB, or other supported dataframe consumers.

Limitations and notes

xbbg is an independent open-source project and is not affiliated with or endorsed by Bloomberg Finance L.P. It does not grant Bloomberg service access, software licenses, credentials, or entitlements. Users must obtain those separately.

The Rust-powered v1 line differs from the legacy pure-Python 0.x line. Native runtime availability and Bloomberg environment configuration determine whether requests can execute successfully. Building from source also requires staging the Bloomberg C++ SDK.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Xbbg MCP

xbbg MCP is an MCP server that connects agent workflows to Bloomberg through xbbg, with tools for reference-data, historical-data, and intraday market-data requests. It relies on an authorized Bloomberg environment such as DAPI, SAPI/B-PIPE, or ZFP, and does not provide Bloomberg credentials, licenses, or entitlements.

Install the underlying xbbg package with `pip install xbbg` or through conda-forge, then provide a usable Bloomberg runtime and authorized Bloomberg environment. xbbg supports Python 3.11 through 3.15; optional dataframe integrations are installed with package extras.

xbbg supports local Bloomberg Desktop API/DAPI, SAPI or B-PIPE deployments, and ZFP environments. It also includes configuration options for TLS, failover hosts, SOCKS5, and SDK logging.

No, xbbg MCP does not provide Bloomberg access, credentials, licenses, software, or data entitlements. Users must supply an authorized Bloomberg environment and obtain all required access under their own Bloomberg agreements and policies.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXbbg MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/xbbg-mcp?style=directory)](https://allmcps.com/mcp/xbbg-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/xbbg-mcp"><img src="https://allmcps.com/api/badge/xbbg-mcp?style=directory" alt="Xbbg MCP on AllMCPs" /></a>