Interactive Brokers MCP
Interactive Brokers MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Interactive Brokers MCP Server. It has 226 GitHub stars, is released under the MIT license and runs locally with npx -y interactive-brokers-mcp.
github.com/code-rabi/interactive-brokers-mcp (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
- Needs API key
- Other
- MIT
- Maintained
Install Interactive Brokers MCP
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"interactive-brokers-mcp": {
"command": "npx",
"args": [
"-y",
"interactive-brokers-mcp"
],
"env": {
"IB_PASSWORD_AUTH": "your-value",
"IB_FLEX_TOKEN": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env IB_PASSWORD_AUTH=your-value --env IB_FLEX_TOKEN=your-value --transport stdio interactive-brokers-mcp -- npx -y interactive-brokers-mcpCursor
{
"mcpServers": {
"interactive-brokers-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"interactive-brokers-mcp"
],
"env": {
"IB_PASSWORD_AUTH": "your-value",
"IB_FLEX_TOKEN": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "ib_password_auth",
"description": "IB_PASSWORD_AUTH",
"password": true
},
{
"type": "promptString",
"id": "ib_flex_token",
"description": "IB_FLEX_TOKEN",
"password": true
}
],
"servers": {
"interactive-brokers-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"interactive-brokers-mcp"
],
"env": {
"IB_PASSWORD_AUTH": "${input:ib_password_auth}",
"IB_FLEX_TOKEN": "${input:ib_flex_token}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
IB_HEADLESS_MODE | No | Shown in the README's example configuration. |
IB_USERNAME | No | Shown in the README's example configuration. |
IB_PASSWORD_AUTHsecret | No | Shown in the README's example configuration. |
IB_PAPER_TRADING | No | Shown in the README's example configuration. |
IB_FLEX_TOKENsecret | No | Shown in the README's example configuration. |
About Interactive Brokers MCP
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.
- ibkr
- ibkr-api
- interactive-brokers
- mcp
- mcp-server
Similar MCP servers
More other MCP servers
UI Beats
nikhils4/ui-beats
Animated React components you own. 55 components built with TypeScript, Tailwind CSS and Motion.
Maintained · last commit Aug 16, 2026
OtherTypeScriptPyMemoryEditor
JeanExtreme002/PyMemoryEditor
Read, write and scan process memory, Cheat Engine style, on Windows, Linux and macOS.
Active · last commit Oct 12, 2026
OtherPythonTinysearch
TinySuiteHQ/TinySearch
Self-hosted web research for MCP agents.
Active · last commit Oct 8, 2026
OfficialOtherPythonKiln
codeofaxel/Kiln
Kiln MCP server for agents: design, slice, print, monitor, and recover physical objects safely.
Active · last commit Oct 26, 2026
OtherPythonMCP Arr
aplaceforallmystuff/mcp-arr
MCP server for *arr media suite - Sonarr, Radarr, Lidarr, Readarr, Prowlarr.
Active · last commit Oct 15, 2026
OtherTypeScriptReversecore MCP
sjkim1127/Reversecore_MCP
Security-first MCP server for reverse engineering, malware analysis, forensics, and SAST.
Active · last commit Oct 17, 2026
OtherPython
How do I install the Interactive Brokers MCP MCP server?
Add the command npx -y interactive-brokers-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Interactive Brokers MCP free?
The server is open source under the MIT license, so running it is free. It needs credentials (IB_PASSWORD_AUTH and IB_FLEX_TOKEN) for the service it connects to, which may require a paid account.
Is Interactive Brokers MCP actively maintained?
The most recent commit was on Jul 21, 2026. The latest release is v1.24.1, published Jul 4, 2026. appsgit only lists MCP servers with a commit in the last six months.