ibkr-mcp

ibkr-mcp is a skill for Claude Code, Codex from rkilchmn/tradingview-analytics-mcp. It costs 82 tokens per session (1,206 once invoked), scanned A, original, MIT.

A guide for using Interactive Brokers tools, a brokerage interface for account data, market quotes, options, and orders. It describes how to look up contracts, retrieve chains and prices, inspect positions, and manage orders.

In plain words
What is it for?
Checking an IBKR account, viewing positions and options chains, getting live quotes or greeks, and placing or canceling orders.
Why use it?
It provides a repeatable process for resolving the correct financial instrument before requesting data or placing an order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Checking an IBKR account, viewing positions and options chains, getting live quotes or greeks, and placing or canceling orders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rkilchmn/tradingview-analytics-mcp --skill ibkr-mcp
Clone the repo
git clone --depth 1 https://github.com/rkilchmn/tradingview-analytics-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ibkr-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp/github.svg)](https://agentmods.dev/skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp)
Your own site
<a href="https://agentmods.dev/skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp"><img src="https://agentmods.dev/badge/skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ibkr-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp"><img src="https://agentmods.dev/badge/skills/rkilchmn/tradingview-analytics-mcp/ibkr-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.01206
Opus 5 $0.00041 $0.00603
Sonnet 5 $0.00016 $0.00241
Haiku 4.5 $0.00008 $0.00121

Measured 10d ago against content hash d8302893406f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ibkr-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.kilo/skills/ibkr-mcp/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IBKR MCP

Tools: ibkr_get_connection_status, ibkr_get_account_summary, ibkr_get_account_values, ibkr_get_positions / ibkr_get_positions_detailed, ibkr_get_market_data, ibkr_get_contract_details, ibkr_get_options_chain, ibkr_get_filtered_options_chain, ibkr_get_historical_data, ibkr_place_order, ibkr_cancel_order, ibkr_get_open_orders, ibkr_reconnect, ibkr_get_ibkr_gateway_status / ibkr_get_ibkr_gateway_logs.

Underlying REST API (what the MCP wraps): localhost:8000, FastAPI. Current surface discoverable at GET /openapi.json — check it after any server rebuild, endpoints get renamed.

Canonical quote pattern (US stocks/ETFs, verified 2026-08-19)

Step 1 — resolve the underlying (exchange=SMART works for STK):

ibkr_get_contract_details(symbol="GDX", sec_type="STK", exchange="SMART", currency="USD")
  -> qualified_contract.con_id   (e.g. GDX = 229726316)

Step 2 — unfiltered chain for expiry/strike discovery (returns candidate_chains with all available expirations and strike ranges):

ibkr_get_options_chain(
  underlying_symbol="GDX", underlying_sec_type="STK", underlying_con_id=229726316,
  exchange="SMART")
  -> candidate_chains[0].expirations, candidate_chains[0].strikes

Step 3 — filtered chain (contract resolution; exchange=SMART):

ibkr_get_options_chain(
  underlying_symbol="GDX", underlying_sec_type="STK", underlying_con_id=229726316,
  exchange="SMART",
  filters='{"trading_class": ["GDX"], "expirations": ["20260918"], "rights": ["P"],
            "strikes": [84, 85, 86]}')
  -> con_id per contract (local_symbol, friendly_symbol, strike, right, expiry)

Filter keys: trading_class, expirations, rights, strikes (snake_case verified). The chain returns contract fields only — an older build joined market data (last_price, greeks, probability, costBase) into each entry; that join is gone, so get quotes in step 4.

Step 4 — batch quotes for the shortlist (MCP bridge now forwards arrays as repeated query params — one call for the whole ladder):

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 81 lines · 82 tokens per session scan A d8302893406f

Subscribe to this mod's changes

ibkr-mcp is a skill published in the GitHub repository rkilchmn/tradingview-analytics-mcp (1 stars, last pushed 19d ago), licensed MIT. It adds 82 tokens to every session and 1,206 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens