Connects to Interactive Brokers for programmatic trading through the Model Context Protocol. Wraps IB's API to expose account data, positions, real-time market quotes, and order placement (market, limit, stop orders). Also supports Flex Queries for pulling statements and historical data. Ships with IB Gateway and Java runtime bundled, so you can run it directly via npx without Docker. Supports both OAuth browser flow and headless credential authentication. This is an unofficial, alpha-stage tool with no affiliation to IB. Test with paper trading first since you're dealing with real money and real risk. Read-only mode available if you want to query data without enabling trade execution.
claude mcp add --transport stdio code-rabi-interactive-brokers-mcp uvx interactive-brokers-mcp