← cookbook · howto
How to get SEC Form 4 insider trading data into Claude Code
Use FalsifyLab Alpha MCP to pull SEC Form 4 cluster buys (3+ insiders, same ticker, 24h window). insider_buy_clusters is a Pro feature ($19/mo). Free tier exposes 3 other tools (yield farms / HL vaults / macro tape).
install (60 seconds)
pip install falsifylab-alpha-mcp
then in your agent's MCP config:
{
"mcpServers": {
"falsifylab-alpha": {
"command": "python",
"args": ["-m", "falsifylab_alpha_mcp"]
}
}
}
the prompt that works
paste this into your agent:
use insider_buy_clusters with min_insiders=3 and window_hours=24. List the top 5 tickers where insiders are buying meaningfully. For each, summarize total purchase amount and what 'meaningful' means here.
why this works
Form 4 cluster buys (3+ insiders, same ticker, short window) outperform single-insider buys by ~6% annually per Cohen/Malloy/Pomorski 2012. EDGAR full-text search is noisy and slow. This tool wraps Form 4 XML, filters for transaction code P (open-market purchase), groups by ticker.
the tool
insider_buy_clusters is one of 13 tools in FalsifyLab Alpha MCP (3 free, 10 Pro-only). Full schema at /.well-known/mcp/server-card.json. Tool descriptions at /install.
pricing
- Free tier: 3 tools, 5 results/query, no signup. Pro $19/mo: all 13 + real-time.
- Pro $19/mo: real-time, 100 results, 90d history. 7-day trial.
- Pro Plus $49/mo: 1min refresh, email + Slack alerts, webhooks.