IBKR MCP server

Updated: 2026-07-18 21:05 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 already running IB Gateway or Trader Workstation (TWS).

Canary adds a local daemon, command line, and risk views around that MCP connection. The available data depends on the trader's IBKR subscriptions and the current market session; unavailable or stale inputs stay visible instead of being presented as current.

Install the Claude Desktop MCP Bundle or the canary binary, run it beside the local IBKR session, and use the typed tools for account, positions, quotes, calendars, options, scanners, breadth, gamma, regime, stress, and sizing context. The bundled MCP surface has no 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 fully quit and relaunch Claude while IB Gateway or TWS is running locally.

Claude Code users can install the plugin, which carries the canary skill, hooks, and MCP server config, then install 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 and MCP resources reference.

For a scheduled stress-monitoring workflow that returns lifecycle stage, readiness, confidence, source health, fingerprints, row table, and warnings, use examples/canary_portfolio_stress_prompt.md. It is intentionally narrow: it gives the decision surface and leaves notifications or escalation policy to your host workflow.

Current execution boundary

The current bundled CLI and MCP server expose analysis and sizing tools. They do not expose tools for placing, modifying, or cancelling Interactive Brokers orders. If a host asks to buy or sell securities through this MCP server, the correct answer is that the current public server has no order-entry interface.