Get BrokerBridge FREE at launch!Join

Documentation

Everything you need to get started with BrokerBridge

Setup Guide

Get up and running in 15 minutes - no separate app to download

Before You Start

  • Claude Desktop installed (download here)
  • Python 3.10+ installed
  • Broker software running: TWS/Gateway for IBKR, or NinjaTrader 8 with data connected
1

Install BrokerBridge

pip install brokerbridge
2

Configure Your Broker

For Interactive Brokers:

export BROKER=ibkr
export IBKR_PORT=7497
export IBKR_CLIENT_ID=1

For NinjaTrader:

export BROKER=ninjatrader
export NT8_HOST=127.0.0.1
export NT8_PORT=49999
3

Add to Claude Desktop

Edit your Claude Desktop config file and add BrokerBridge as an MCP server:

Config location: macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "brokerbridge": {
      "command": "python",
      "args": ["-m", "brokerbridge"],
      "env": {
        "BROKER": "ibkr"
      }
    }
  }
}
4

Restart Claude & Start Trading

Quit Claude Desktop completely and restart it. You should see "BrokerBridge" in your connected servers. Try asking:

"What positions do I have open?"

"Show me my account summary"

"Add stop losses to all positions at 2% below current price"

Need More Detail?

Our complete onboarding guide covers broker-specific setup, troubleshooting, security hardening, and advanced features.

Full Setup Guide

Getting Started

Installation, configuration, and your first trade

API Reference

Complete reference for all 200+ MCP tools

Feature Guides

In-depth guides for major features

Plugin Development

Create custom plugins and extensions

Broker Setup

Setup guides for each broker

Security

Security best practices and policies

Ready to Build?

Start building with BrokerBridge today. 14-day free trial, no credit card required.

Start Free Trial