DB

djsamseng/blpapi-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

61 stars 11 forks 品質 47 トレンド 14

djsamseng/blpapi-mcp は [https://github.com/djsamseng/blpapi-mcp.] からインポートされた MCP サーバー候補です

概要

djsamseng/blpapi-mcp は [https://github.com/djsamseng/blpapi-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

Bloombergのblopapiから財務データを提供するMCPサーバー。

注:Bloombergターミナルは、データアクセスのために(BBCommはアクセス可能でなければなりません)実行する必要があります。

インストール

##UV の使用

MCP Server を実行

Cursor から blpapi-cmp を使用する

  • プロジェクトのみの場合: プロジェクトディレクトリに .cursor/mcp.json を作成します。
  • グローバルの場合: [~/.cursor/mcp.json を作成します。
  • 上記から実行されているMCPサーバーでホストとポートを置換

Claude Code から blpapi-mcp を使用する

  • 上記から実行するMCPサーバーでURLを置換する

  • Claudeデスクトップ用のリモートホストはまだ開発中

Aider から blpapi-mcp を使用する

  • プルペンディング

開発

要件

  1. 紫外線を取付けて下さい

  2. このリポジトリをクローンする

  3. venvをセットアップして下さい

  4. MCP サーバーを実行

5。 stdioモードで独自のサーバーを起動するテストクライアントを実行します。

  1. 既存の実行中の sse サーバーを使用するテスト クライアントを実行します。

商標ノート

このプロジェクトは、Bloomberg Finance L.P.と提携していません。 このパッケージが使用しているものに対して、Bloombergという名前の使用は記述のみです.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

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.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "server-name": { "url": "http://127.0.0.1:8000/sse", } } }