Interactive Brokers MCP
I

Interactive Brokers MCP

An unofficial Interactive Brokers MCP server that provides integration capabilities with the IB trading platform, including account management, position tracking, market data, and order management. Supports local operation and automated trading.
2 points
7.0K

What is the Interactive Brokers MCP Server?

This is an unofficial Model Context Protocol (MCP) server that provides integration capabilities with the Interactive Brokers trading platform. Through this service, your AI assistant can directly interact with your IB account to perform operations such as querying market data, checking positions, and placing orders.

How to use the Interactive Brokers MCP Server?

Simply add the MCP server settings to your Cursor/Claude configuration. The system will automatically open your browser to complete the IB OAuth authentication process on the first use. After authentication, you can manage your trading account through the AI assistant.

Use Cases

Suitable for traders and investors who wish to automate trading decisions, monitor market data in real - time, and manage investment portfolios through AI assistants. Particularly suitable for the implementation and testing of quantitative trading strategies.

Main Features

Account Management
Get account information and balance data
Position Tracking
View current positions and profit/loss situations
Market Data
Get real - time market data for stocks and financial instruments
Order Management
Place market orders, limit orders, and stop orders
Order Monitoring
Check order status and execution details
Advantages
No additional installation required, includes pre - configured IB Gateway and Java environment
Supports multiple types of trading instructions
Provides real - time market data access
Supports headless mode operation
Limitations
Unofficial product, may be unstable
Requires an IB account to use
Some features may require additional permissions
There may be bugs in the Alpha stage

How to Use

Add MCP Server Configuration
Add the Interactive Brokers MCP server settings to your Cursor/Claude configuration
First - time Authentication
On the first use, the system will automatically open your browser to complete the IB OAuth authentication process
Start Using
After successful authentication, you can interact with your IB account through the AI assistant

Usage Examples

Monitor Investment Portfolio
Regularly check account positions and profit/loss situations
Quick Order Placement
Execute trades quickly based on market conditions
Market Data Query
Get real - time market data to assist decision - making

Frequently Asked Questions

Is this service an official product?
How to enable paper trading?
How does the headless mode work?
What to do if there are authentication problems?

Related Resources

Interactive Brokers Official Website
The official website of Interactive Brokers
GitHub Repository
Project source code and issue tracking

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "interactive-brokers": {
      "command": "npx",
      "args": ["-y", "interactive-brokers-mcp"]
    }
  }
}

{
  "mcpServers": {
    "interactive-brokers": {
      "command": "npx",
      "args": ["-y", "interactive-brokers-mcp"],
      "env": {
        "IB_HEADLESS_MODE": "true",
        "IB_USERNAME": "your_ib_username",
        "IB_PASSWORD_AUTH": "your_ib_password"
      }
    }
  }
}

{
  "mcpServers": {
    "interactive-brokers": {
      "command": "npx",
      "args": ["-y", "interactive-brokers-mcp"],
      "env": {
        "IB_HEADLESS_MODE": "true",
        "IB_USERNAME": "your_ib_username",
        "IB_PASSWORD_AUTH": "your_ib_password",
        "IB_PAPER_TRADING": "true"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
8.2K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
5.4K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
C
Contracts Wizard
OpenZeppelin Contracts Wizard is an interactive smart contract building tool that allows users to generate contract code based on OpenZeppelin components by selecting contract types, parameters, and functions. It supports multiple programming languages and provides API and embedding functions.
TypeScript
10.1K
4 points
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
16.1K
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
12.2K
5 points
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
17.3K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
45.0K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.7K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
19.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.5K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.3K
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase