Interactive Brokers Server
БесплатноНе проверенProvides tools for interacting with Interactive Brokers Gateway to access market data, account summaries, and portfolio positions. It enables users to perform c
Описание
Provides tools for interacting with Interactive Brokers Gateway to access market data, account summaries, and portfolio positions. It enables users to perform contract lookups, retrieve historical OHLCV bars, and view real-time quotes through natural language interfaces.
README
MCP server for Interactive Brokers Gateway — 6 tools for market data and account access via Claude.
Tools
| Tool | Description |
|---|---|
get_ibkr_market_data |
Historical OHLCV bars for any contract |
get_ibkr_positions |
Current portfolio positions and P&L |
get_ibkr_account |
Account summary (balances, margin, NAV) |
get_ibkr_contract |
Contract lookup and details |
get_ibkr_option_prices |
Option chain pricing |
get_ibkr_snapshot |
Real-time quote snapshot |
Install
pip install interactive-brokers-mcp
Prerequisites
- IB Gateway or TWS running
- API access enabled in Gateway/TWS settings
- Host/port/client ID matching your environment variables
Environment Variables
| Variable | Default | Description |
|---|---|---|
IBKR_GATEWAY_HOST |
127.0.0.1 |
Gateway hostname |
IBKR_GATEWAY_PORT |
7496 |
Gateway port |
IBKR_CLIENT_ID |
1 |
API client ID |
IBKR_TIMEOUT |
10 |
Connection timeout (seconds) |
IBKR_READONLY |
false |
Read-only mode |
IBKR_AUTHORIZED_ACCOUNTS |
Comma-separated account whitelist | |
IBKR_CACHE_DIR |
Optional cache directory override |
The package auto-loads .env from the package directory and parent.
Usage
Claude Code
claude mcp add ibkr-mcp -- ibkr-mcp
Or in ~/.claude.json:
{
"mcpServers": {
"ibkr-mcp": {
"type": "stdio",
"command": "ibkr-mcp"
}
}
}
Standalone
ibkr-mcp # via installed entry point
python -m ibkr.server # via module
License
MIT
Установить Interactive Brokers Server в Claude Desktop, Claude Code, Cursor
unyly install interactive-brokers-mcp-serverСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add interactive-brokers-mcp-server -- uvx interactive-brokers-mcpПошаговые гайды: как установить Interactive Brokers Server
FAQ
Interactive Brokers Server MCP бесплатный?
Да, Interactive Brokers Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Interactive Brokers Server?
Нет, Interactive Brokers Server работает без API-ключей и переменных окружения.
Interactive Brokers Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Interactive Brokers Server в Claude Desktop, Claude Code или Cursor?
Открой Interactive Brokers Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Interactive Brokers Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
