Interactive Brokers MCP Server
Interactive Brokers MCP server enabling AI agents to interact with IBKR's TWS (Trader Workstation) API — fetching real-time and historical market data, retrieving portfolio positions and account information, placing and monitoring orders, and integrating Interactive Brokers' comprehensive brokerage data into agent-driven investment analysis and trading automation workflows.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
Local TWS manages auth. Community MCP. Use paper trading for testing. Keep TWS port private.
⚡ Reliability
Best When
An investor or quantitative researcher with an IBKR account needs AI-assisted market data access and portfolio management via the Interactive Brokers TWS API.
Avoid When
You don't have an IBKR account, need US-only simpler brokerages, or are doing HFT where MCP overhead matters.
Use Cases
- • Fetching real-time stock and options quotes from investment research agents
- • Retrieving portfolio positions and P&L from portfolio management agents
- • Analyzing historical price data for backtesting from quantitative agents
- • Monitoring account balances and margin from risk management agents
- • Placing orders via TWS from automated trading agents
- • Screening options chains from derivatives analysis agents
Not For
- • Users without Interactive Brokers account (TWS required)
- • High-frequency trading (MCP latency adds overhead vs direct TWS API)
- • Teams not comfortable with live trading risk (order placement affects real accounts)
Interface
Authentication
TWS (Trader Workstation) or IB Gateway must be running and authenticated with IBKR account credentials. MCP connects to local TWS/Gateway process — not direct API authentication.
Pricing
IBKR account required with potential account minimums ($0 for IBKR Lite, $10K for IBKR Pro). Market data may have subscription fees. Community MCP is free.
Agent Metadata
Known Gotchas
- ⚠ TWS or IB Gateway must be running and logged in — extra setup step beyond typical MCP
- ⚠ TWS API has strict pacing rules — historical data requests limited to 50/10 min
- ⚠ Order placement is LIVE — test with paper trading account first
- ⚠ TWS API version must match ib_insync library version — check compatibility
- ⚠ Connection drops require TWS restart — agents must handle reconnection
- ⚠ Market data subscriptions required for real-time data beyond basic quotes
- ⚠ Community MCP from individual contributor — limited ongoing maintenance
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Interactive Brokers MCP Server.
Scores are editorial opinions as of 2026-03-06.