IBKR MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IBKR MCPget my current positions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IBKR MCP
MCP server for Interactive Brokers via IB Gateway on Windows. Runs in Docker and connects to IB Gateway on the host through host.docker.internal.
Features
Live account (port 4001): read positions, quotes, option chains, day-trade status
Paper account (port 4002): same reads plus place/cancel stock and option orders
Related MCP server: ib-async-mcp
Quick start
Configure IB Gateway API (see SETUP_GUIDE.md)
Install Python deps for local dev:
pip install -e ".[dev]"Install Cursor launchers:
.\scripts\Install-IbkrMcpLaunchers.ps1Add
ibkr-liveand/oribkr-paperto Claude Desktop MCP config (Store app path below)Restart Claude Desktop, start IB Gateway, then use the MCP tools in chat
Claude config (Microsoft Store): C:\Users\rodri\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json
Local run (no Docker)
set IBKR_HOST=127.0.0.1
set IBKR_PORT=4002
set IBKR_TRADING_ENABLED=true
python -m ibkr_mcp.serverDev container
Open the repo in a dev container (.devcontainer/devcontainer.json). The container uses host.docker.internal to reach IB Gateway on Windows.
Tools
Tool | Live | Paper |
| yes | yes |
| yes | yes |
| yes | yes |
| yes | yes |
| yes | yes |
| yes | yes |
| yes | yes |
| no | yes |
| no | yes |
| no | yes |
| yes | yes |
Stack
Tests
pytestMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityCmaintenanceAn MCP server that provides an interface for the Interactive Brokers API via the ib_async library. It enables users to manage accounts, access real-time and historical market data, and execute or monitor trades through TWS or IB Gateway.Last updated331
- AlicenseBqualityCmaintenanceMCP server for Interactive Brokers API, enabling account management, trading, market data, options, scanners, and news via natural language.Last updated333MIT
- Alicense-qualityDmaintenanceAn MCP server for Interactive Brokers, enabling account management, trading operations, and market data queries.Last updated8MIT
- Alicense-qualityDmaintenanceMCP server for Interactive Brokers that exposes portfolio data, market quotes, trading, and analysis to any MCP-compatible AI client, with support for EU investors and safety-gated trading.Last updated1MIT
Related MCP Connectors
Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Hosted MCP for stocks, options, Greeks, brokers, order previews, alerts, and workflows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rodrigta/ibkr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server