ibkr-risk-mcp

simoneb/ibkr-risk-mcp
★ 0 stars Python Memory/Knowledge Updated 2d ago
MCP server exposing Interactive Brokers portfolio risk: model greeks, IB's volatility surface, what-if margin, and a local stress engine that finds the P&L trough.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ibkr-risk-mcp": {
      "command": "uvx",
      "args": [
        "ibkr-risk-mcp"
      ]
    }
  }
}

Or install with pip: pip install ibkr-risk-mcp

README Excerpt

MCP server exposing **Interactive Brokers' portfolio risk**: IB's model greeks, IB's implied volatility surface, IB's what-if margin, and a local stress engine that rebuilds the P&L-versus-underlying curve and finds its trough. It deliberately does **not** duplicate the official IBKR connector. Positions, balances, orders, trades, performance, allocation, spot and historical prices, option chains, watchlists and alerts all come from there. This server exists to fill the one gap that connector le

Tools (19)

IBKR_ACCOUNTIBKR_CLIENT_IDIBKR_CONNECT_TIMEOUTIBKR_ENABLE_WHATIFIBKR_GREEKS_TIMEOUTIBKR_HOSTIBKR_MARKET_DATA_TYPEIBKR_MAX_MKT_DATA_LINESIBKR_PORTIBKR_RISK_FREE_RATEIBKR_WHATIF_TIMEOUTcheck_connectionequityget_margin_summaryget_position_greeksget_vol_surfacestress_portfoliostress_whatifwhatif_order

Topics

ibkrinteractive-brokersmcpmodel-context-protocoloptionsrisk-managementtws