Inspect portfolio state
Read net liquidation, cash, margin, buying power, positions, P&L, option legs, Greek coverage, and per-underlying exposure.
IBKR / Interactive Brokers MCP server
Connect IB Gateway or TWS to Claude Desktop, Claude Code, Cursor, Zed, and other MCP hosts. Review account authority, positions, broker-reporting status, retrospective Edge evidence, the daily brief, rulebook, Action Queue, and source quality through read-only tools.
{
"mcpServers": {
"canary": {
"command": "/ABSOLUTE/PATH/TO/canary",
"args": ["mcp"]
}
}
}
The MCP server is one adapter over a larger local desk. Canary's daemon evaluates account, statement, market, calendar, event, breadth, gamma, regime, stress, rulebook, proposal, and opportunity inputs. The reduced MCP surface exposes decision-relevant current and retrospective reads without publishing every sensor as a separate tool.
Everything flows through your own TWS or IB Gateway session. Coverage follows your IBKR subscriptions, market hours, and upstream source health; unavailable, stale, delayed, and held inputs remain explicit.
Read net liquidation, cash, margin, buying power, positions, P&L, option legs, Greek coverage, and per-underlying exposure.
Review market/session context, source health, the morning brief, and the converged Action Queue.
Inspect adequately sampled stock and ETF decisions with fixed market context, plus separate broker-reported realized and dated open option evidence.
Read the 14-rule desk verdict and preserve every unknown or degraded input.
Read protection and option-exercise candidates without receiving preview or execution authority.
Request daily trend, relative strength, ATR, and liquidity evidence for explicitly named stocks or ETFs.
Inspect open and historical local journal state without placing, changing, or cancelling an order.
The boundary is simple: the MCP server has read-only tools and no resources, settings writes, previews, or execution tools. Each release also publishes a separate, clearly marked canary-trading binary for constrained opt-in CLI and app order management; MCP remains read-only.
Use the MCPB for Claude Desktop. Use the shell install for Cursor, Continue, Zed, terminal workflows, or other local MCP hosts.
Download MCPB for Claude Desktop
Open the .mcpb file with Claude Desktop, drag it into Claude Desktop, or install it from Claude Desktop settings. Requires IB Gateway 10.37+ or TWS running locally and an IBKR Pro account with TWS API access.
# Shell, Cursor, Continue, Zed, generic MCP hosts
curl -fsSL https://raw.githubusercontent.com/osauer/canary/main/install.sh | sh
canary setup claude-desktop
For Cursor, Continue, Zed, or another local MCP host, use an absolute path to the binary. ~ is not expanded by exec.
{
"mcpServers": {
"canary": {
"command": "/Users/you/.local/bin/canary",
"args": ["mcp"]
}
}
}
These are the kinds of user requests the MCP descriptions are written to route correctly.
Start with Claude Desktop if that is where you plan to ask questions. The other pages cover TWS, Gateway, safety, and deeper portfolio-review context.
Exact setup notes for the short IBKR MCP query.
Use Trader Workstation as the local Interactive Brokers API process.
Use IB Gateway as the lighter local account and market-data bridge.
Install the MCPB and connect Claude Desktop to the local IBKR session.
Compare IBKR MCP servers by local execution, tool coverage, and Claude Code fit.
A prompt-driven review workflow for exposures, option risks, data freshness, and next checks.
The local MCP surface exposes account and market data, not trading authority.
Brokerage data is sensitive. canary keeps the broker connection on the machine already running IB Gateway or TWS and exposes a narrow local read-side interface to the AI host.
Yes. canary mcp runs locally as a stdio MCP server and reads account and market data from Interactive Brokers through IB Gateway or TWS.
Claude Desktop, Claude Code, Cursor, Zed, Continue, and other local stdio MCP hosts can launch it.
Not in the standard downloads: the MCP bundle and the plain canary tarballs are read-only builds with no place, modify, or cancel order tools compiled in. Each release also publishes a clearly marked canary-trading tarball for users who explicitly opt into order management. It ships with warnings and layered safeguards.