mcpField
I
insider-trading

insider-trading

github.com/staskhOther39460 installsUpdated 1d ago
Repository

About insider-trading

This skill retrieves recent insider transactions from Yahoo Finance using SEC Form 4 data, then summarizes buying and selling activity. It is for users reviewing one ticker or comparing insider activity across multiple stocks.

Key features

  1. 01Fetches recent insider transactions
  2. 02Summarizes net buying or selling sentiment
  3. 03Counts buy and sell trades and values
  4. 04Ranks multiple symbols by net buying value

Use cases

  1. 01Check recent insider buys for NVDA
  2. 02Compare insider activity across stocks
  3. 03Find stocks with the most recent insider selling

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/staskh/trading_skills --skill insider-trading

After installing, type/insider-tradingin Claude Code to confirm it loaded.

Bundled filesscripts/insider_trading.py

Details

From the project README

Insider Trading

Fetch recent insider transactions from Yahoo Finance (SEC Form 4 data).

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

uv run python scripts/insider_trading.py SYMBOLS [--days DAYS]

Arguments

  • SYMBOLS - Single ticker or comma-separated list (e.g., NVDA or NVDA,PLTR,GOOG)
  • --days - Trailing days to look back (default: 90)

Output

Returns JSON with:

  • transactions - List of insider trades with insider name, role, transaction type, shares, price, value, date, ownership type
  • summary - Net sentiment (net_buying, net_selling, neutral), buy/sell counts and values

For multiple symbols, results are ranked by net buying value (most buying first).

Use Cases

  • "Show me insider buys for NVDA in the last 90 days"
  • "Compare insider activity across NVDA, PLTR, GOOG"
  • "Which of these stocks has the most insider selling recently?"

Dependencies

  • yfinance

Timezone

All timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.

Comments

Markdown supported