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
Install BrokerBridge
pip install brokerbridgeConfigure Your Broker
For Interactive Brokers:
export BROKER=ibkr
export IBKR_PORT=7497
export IBKR_CLIENT_ID=1For NinjaTrader:
export BROKER=ninjatrader
export NT8_HOST=127.0.0.1
export NT8_PORT=49999Add 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"
}
}
}
}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 GuideGetting Started
Installation, configuration, and your first trade
API Reference
Complete reference for all 200+ MCP tools
Ready to Build?
Start building with BrokerBridge today. 14-day free trial, no credit card required.
Start Free Trial