Back to list
patrickpxp

ibkr-portfolio

by patrickpxp

yet another Interactive Brokers MCP server (for TWS API) . skill included

0🍴 0📅 Jan 19, 2026

SKILL.md


name: ibkr-portfolio description: Retrieve IBKR portfolio positions and P&L via the MCP tool and present a clear summary. metadata: short-description: IBKR portfolio via MCP

Use this skill when the user wants their current IBKR portfolio or P&L.

Instructions:

  • Always call the MCP tool ibkr_get_portfolio to retrieve portfolio data; do not fabricate or estimate positions.
  • Use input parameters only when explicitly requested:
    • account to override the default account.
    • include_pnl to omit or include P&L.
    • as_of to echo the caller-provided timestamp.
  • Present results in this order:
    1. A table of positions with columns: symbol, secType, exchange, currency, position, avgCost, marketPrice, marketValue, unrealizedPnl, realizedPnl.
    2. Totals summary: unrealizedPnl, realizedPnl, netLiquidation.
    3. Notes list (bullet points).
  • If the tool returns an error object:
    • Explain the error clearly.
    • Provide troubleshooting steps:
      • Confirm TWS/IB Gateway is running.
      • Verify API access is enabled in TWS.
      • Check IBKR_HOST/IBKR_PORT values.
      • On Linux, ensure Docker uses extra_hosts: host.docker.internal:host-gateway.
      • Check firewall or local permissions.
  • Safety: read-only. Do not place orders or perform any trading action.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon