IBKR MCP server

Updated: 2026-10-05 22:11 CEST

canary mcp is a local MCP server for Interactive Brokers portfolio analysis and trading research. It connects Claude Desktop, Claude Code, Cursor, Zed, Continue and other stdio MCP hosts to the machine that already runs IB Gateway or Trader Workstation (TWS).

Around that connection, Canary adds a local daemon, a command line, the daily brief, a discipline rulebook, a risk policy you write yourself and the Action Queue. The data you see depends on your IBKR subscriptions and the current market session. Missing or stale inputs stay visible and are never presented as current.

Install the Claude Desktop MCP Bundle or the canary binary and run it beside your local IBKR session. Its read-only tools cover status, account, positions, option strategies, technical evidence, broker reporting, FX and lending reports, borrowing and short-interest research, the retrospective Edge review, the daily brief, rules, a policy check, proposals, opportunities, settings, readiness and order-lifecycle reads. The MCP server has no resources, order-preview tools, settings-write tools or order-entry tools.

Best fit

Install

Claude Desktop users should start with the MCP Bundle:

open https://github.com/osauer/canary/releases/latest/download/canary.mcpb

Open the .mcpb file with Claude Desktop. Then quit Claude completely and relaunch it while IB Gateway or TWS runs locally.

Claude Code users can install the plugin, which carries the canary skill, hooks and MCP server config, and then the local binary:

/plugin marketplace add osauer/canary
/plugin install canary@canary

Shell, Cursor, Continue, Zed and generic MCP users can install the binary:

curl -fsSL https://raw.githubusercontent.com/osauer/canary/main/install.sh | sh
canary setup claude-desktop

Generic MCP configuration:

{
  "mcpServers": {
    "canary": {
      "command": "/ABSOLUTE/PATH/TO/canary",
      "args": ["mcp"]
    }
  }
}

What the MCP server exposes

The full schema is in the MCP tools reference.

For a scheduled brief that keeps source health, freshness, warning codes and the Action Queue intact, use examples/canary_portfolio_stress_prompt.md.

Current execution boundary

The standard bundled CLI and MCP server offer read-only analysis. Neither has tools to preview, place, modify, cancel or exercise Interactive Brokers orders. Each release also publishes a separate, clearly marked canary-trading binary for constrained, opt-in order management in the CLI and app. The MCP server remains read-only.