Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
C

code-rabi/interactive-brokers-mcp

Interactive Brokers MCP Server

Before you install: a copy-paste command is available · no license recorded · link reachable

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
  1. Copy the command above
  2. Paste it as one entry under mcpServers in claude_desktop_config.json — local servers take command + args (example: clients)
  3. Restart your client
Client config (built from the install command this repo gives)
{
  "mcpServers": {
    "code-rabi-interactive-brokers-mcp": {
      "command": "npx",
      "args": ["-y", "interactive-brokers-mcp"]
    }
  }
}

Parsed from the README we fetched on 2026-11-05; we have not executed it.

command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
  "servers": {
    "code-rabi-interactive-brokers-mcp": {
      "command": "npx",
      "args": ["-y", "interactive-brokers-mcp"]
    }
  }
}
Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio code-rabi-interactive-brokers-mcp -- npx -y interactive-brokers-mcp
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
Source
collected from the abordage/awesome-mcp list · type: MCP server
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
Score
score 1,003 · 10 sources · mcp
Install
npx -y interactive-brokers-mcp
FAQ (answers come from our records)
How do I install it?
The repository provides this install command: npx -y interactive-brokers-mcp. It comes from the repository itself; we cannot guarantee it runs as-is in your client.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# Interactive Brokers MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> DISCLAIMER: This is an unofficial, community-developed MCP server
> and is NOT affiliated with or endorsed by Interactive Brokers. This
> software is in Alpha state and may not work perfectly.
A Model Context Protocol (MCP) server that provides integration with Interactive
Brokers' trading platform. This server allows AI assistants to interact with
your IB account to retrieve market data, check positions, and place trades.
## 🔒 Security Notice
## Features
Interactive Brokers API Integration: Full trading capabilities including account management, position tracking, real-time market data, and order management (market, limit, and stop orders)
Flex Query Support: Execute Flex Queries to retrieve account statements, trade confirmations, and historical data. Queries are automatically remembered for easy reuse
Flexible Authentication: Choose between browser-based OAuth authentication or headless mode with credentials for automated environments, including fully automated TOTP 2FA override. See TOTP 2FA Strategy Document for detailed configuration and important risk warnings.
Simple Setup: Run directly with npx - no Docker or additional installations required. Includes pre-configured IB Gateway and Java runtime for all platforms
## Security Notice
IMPORTANT WARNINGS:
Financial Risk: Trading involves substantial risk of loss. Always test
with paper trading first.
Security: This software handles sensitive financial data. Only run
locally, never on public servers.
No Warranty: This unofficial software comes with no warranties. Use at
your own risk.
Not Financial Advice: This tool is for automation only, not financial
advice.
## Prerequisites
No additional installations required for mainstream platforms. This package includes:
Pre-configured IB Gateway for all platforms (Linux, macOS, Windows)
Java Runtime Environment (JRE) for macOS, Windows, and standard Linux builds
Automatic first-run musl JRE download for Alpine-based containers (e.g. node:lts-alpine, supergateway)
All necessary dependencies
You only need:
Interactive Brokers account (paper or live trading)
Node.js 18+ (for running the MCP server)
## Quick Start
Add this MCP server to your Cursor/Claude configuration:
json
"mcpServers": {
"interactive-brokers": {
"command": "npx",
"args": ["-y", "interactive-brokers-mcp"]
When you first use the server, a web browser window will automatically open for
the Interactive Brokers OAuth authentication flow. Log in with your IB
credentials to authorize the connection.
## Headless Mode Configuration
For automated environments or when you prefer not to use a browser for
authentication, you can enable headless mode by configuring it in your MCP
server configuration:
json
"mcpServers": {
"interactive-brokers": {
"command": "npx",
"args": ["-y", "interactive-brokers-mcp"],
"env": {
"IBHEADLESSMODE": "true",
"IBUSERNAME": "youribusername",
"IBPASSWORDAUTH": "youribpassword"
In headless mode, the server will automatically authenticate using your
credentials without opening a browser window. This is useful for:
Automated trading systems
Server environments without a display
CI/CD pipelines
Situations where browser interaction is not desired
Important: Even in headless mode, Interactive Brokers may still require
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/code-rabi-interactive-brokers-mcp/)
Source
awesome · https://github.com/code-rabi/interactive-brokers-mcp
Browse by field
MCP servers
Listed by
10 independent sources
added
today

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index