form4api-mcp
This MCP server provides production-grade SEC insider trading research by combining Form 4, Form 144, and institutional 13F-HR data — amendment-aware, 10b5-1 clean, with ready-made research prompts.
Core Insider Trading (Form 4)
Search transactions by ticker, insider, date range, transaction codes, 10b5-1 flag, and trade-size thresholds
Live filing feed (~60 seconds of SEC publication), single filing lookup, and bundled company research
Company profiles (name, CIK, sector, filing counts) and insider rosters
Insider profiles with name, titles, and director/officer/10%-owner flags
Insider Analytics (Pro+)
Career summaries: aggregate bought/sold, 10b5-1 split, and average post-trade returns
Buy scorecards: hit rate and avg/median return on discretionary open-market buys
Insider leaderboard ranked by hit rate or average return (Business+)
Signals & Sentiment (Business+)
Cluster signals: multiple insiders at the same company trading in the same direction (10b5-1 excluded), with explainability
Monthly MSPR-style sentiment scores (−100 to +100) per ticker, discretionary trades only
Form 144 & Institutional Data (Business+)
Form 144 early warnings: intent-to-sell notices ~2 days before Form 4 sales appear
13F-HR institutional holdings filterable by ticker, manager, quarter, and minimum value
Institutional manager index browsable by name or AUM
Utility & Account Management
Verify API key, check usage/limits, view usage history and per-request activity logs
Webhook management, insider name-to-CIK search, data quality metrics, and public corpus stats
Six Ready-Made Research Prompts
insider_monitor— recent insider activity for a tickercluster_buy_scan— market-wide cluster-buy scan ranked by convictionform144_early_warning— pending sale-intent notices cross-referenced with Form 4exec_conviction_check— career track record for a specific insiderinstitutional_insider_overlap— where institutional holders and insiders agree or divergepost_selloff_buys— screen historically successful dip-buying patterns
form4api-mcp
Production-grade SEC Form 4 insider trading data for any MCP-compatible AI assistant — amendment-aware, 10b5-1 clean, with Form 144 + institutional 13F-HR overlay, plus congressional STOCK Act trades and insider/Congress convergence — 34 tools + 6 ready-made research prompts
An MCP server that exposes the hosted Form4API REST API to Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, and any other MCP-compatible client. Configured once, your LLM can answer questions about insider trading, institutional positioning, and intent-to-sell filings directly during research sessions.
Four data-quality claims no scraping-based alternative can make:
🛡 Amendment-aware — Form 4/A amendments are reconciled automatically. No double-counting when an insider corrects a filing.
🎯 10b5-1 clean — every transaction flagged as pre-scheduled (10b5-1 plan) or discretionary. Cluster signals exclude planned trades by construction.
📜 Form 144 intent-to-sell — 23K+ Form 144 filings indexed. Catch insider sales ~2 days before they hit Form 4.
🏛 Institutional × insider join — every transaction carries the current 13F-HR ownership context (top-3 holders, AUM trend). No competitor at any price point joins both sides in one query.
Quick install
1. Get a free API key
Go to www.form4api.com → Sign in → Dashboard. Free plan includes 500 requests/day, no credit card required.
2. Add to your MCP client
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"form4api": {
"command": "npx",
"args": ["-y", "form4api-mcp"],
"env": {
"FORM4API_KEY": "YOUR_API_KEY"
}
}
}
}Restart the client. The tools appear automatically.
Claude Code (CLI):
claude mcp add form4api -- npx -y form4api-mcp…then set FORM4API_KEY in your shell or in ~/.claude/mcp.json.
Cursor — edit ~/.cursor/mcp.json (user-level) or .cursor/mcp.json (workspace-level):
{
"mcpServers": {
"form4api": {
"command": "npx",
"args": ["-y", "form4api-mcp"],
"env": {
"FORM4API_KEY": "YOUR_API_KEY"
}
}
}
}Restart Cursor. The tools appear automatically.
Windsurf — edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"form4api": {
"command": "npx",
"args": ["-y", "form4api-mcp"],
"env": {
"FORM4API_KEY": "YOUR_API_KEY"
}
}
}
}Restart Windsurf. The tools appear automatically.
VS Code — edit .vscode/mcp.json (workspace-level). Note: VS Code uses the servers key (not mcpServers):
{
"servers": {
"form4api": {
"command": "npx",
"args": ["-y", "form4api-mcp"],
"env": {
"FORM4API_KEY": "YOUR_API_KEY"
}
}
}
}Restart VS Code. The tools appear automatically.
Codex CLI — config is TOML at ~/.codex/config.toml:
[mcp_servers.form4api]
command = "npx"
args = ["-y", "form4api-mcp"]
env = { FORM4API_KEY = "YOUR_API_KEY" }Verify it works
Ask your LLM to run the verify_setup tool — it confirms your API key is valid and the MCP server is reachable, or returns the exact fix steps.
Example: "Run the verify_setup tool to confirm the MCP is configured correctly."
Try before you commit a key
get_public_stats is a keyless tool — it works with no FORM4API_KEY set. Try it first to preview live data coverage before signing up:
FORM4API_KEY="" npx form4api-mcpOnce you like what you see, sign up for a free key at www.form4api.com → set FORM4API_KEY → all tools unlock.
3. Or run directly
FORM4API_KEY=YOUR_API_KEY npx form4api-mcpRelated MCP server: alphai-news
Available tools (34)
Form 4 insider trading
Tool | Description | Plan |
| Bundled insider-research context for one ticker in a single call — company profile, recent transactions, cluster signals, sentiment, and a computed buy/sell direction summary. Replaces 4 separate calls and degrades gracefully when a section needs a higher plan | Free (signals/sentiment sections need Business) |
| Search insider transactions — filter by ticker, insider, date range, transaction codes or whole categories ( | Free |
| Most recent Form 4 filings, optionally filtered by ticker | Free |
| Single filing by accession number | Free |
| Insider profile — name, title, director/officer/10pct owner flags | Free |
| All transactions for a specific insider (by CIK) | Free |
| Company profile — name, CIK, SIC sector, state, website, filing counts | Free |
| All insiders who have filed Form 4s for a company | Free |
| List companies, sorted by name or filing count | Free |
| Aggregate career rollup: total bought/sold, top companies, 10b5-1 split, return averages | Pro |
| Buy track-record scorecard for an insider (CIK) — hit rate and avg/median return on discretionary open-market buys; null when fewer than 5 matured samples | Pro |
| Top insiders ranked by | Business |
Signals + sentiment
Tool | Description | Plan |
| Cluster buy/sell signals — multiple insiders at the same company in the same direction. Excludes 10b5-1 trades automatically | Business |
| MSPR-style monthly sentiment score per ticker (-100 to +100). 10b5-1 excluded so the score reflects real insider conviction | Business |
Form 144 + institutional
Tool | Description | Plan |
| Notice-of-proposed-sale filings — early signal ~2 days before Form 4 sale lands | Business |
| Institutional positions from Form 13F-HR (filter by ticker, CUSIP, manager, quarter, min value) | Business |
| Institutional manager index with latest AUM | Business |
| Explain why a signal fired — the insiders and trades counted, exclusions, and criteria | Business |
| Public data-quality, freshness and coverage metrics | Free |
Congress + convergence
Tool | Description | Plan |
| Congressional STOCK Act trades (periodic transaction reports) — filter by ticker, politician, party, chamber, state, transaction type, min amount, or date range. Every row carries | Free (30-day disclosure window; Starter 366 days; Pro+ unlimited history) |
| Ranked rollup of politicians by congressional trade activity — total/buy/sell counts, most recent disclosure | Pro |
| One politician's full profile by bioguide ID — totals, top traded tickers, most recent trades | Pro |
| Which politicians traded a given ticker, with net buy/sell counts | Pro |
| Tickers where an insider cluster-buy and a congressional purchase happened within a trailing window of each other. | Pro |
Utility
Tool | Description | Plan |
| Your API key usage stats and current plan | Free |
| Same data, OpenAPI-shape response | Free |
| Recent API requests for this key | Free |
| Daily request counts for the last N days | Free |
| Substring search on insider names | Free |
| List your webhook subscriptions | Free |
| Replay webhook delivery events since a timestamp | Free |
| Verify the MCP is configured correctly — confirms API key is valid and server is reachable | Free |
| Public corpus-wide totals (filings, transactions, companies, 13F-HR AUM, ingestion latency) — no API key required | Free (keyless) |
| Trailing 90-day daily uptime history for the public status page | Free (keyless) |
| Live ingestion-health check — Form 4 freshness, parse-queue backlog, price-feed staleness | Free (keyless) |
Prompts (6)
Beyond the 29 tools, this MCP ships 6 prompts — ready-made research recipes that a client can list (prompts/list) and load (prompts/get) so you don't have to hand-assemble the right tool sequence yourself. Each one tells the LLM exactly which SEC Form 4 / Form 144 / 13F-HR tools to call, in what order, and how to read plan-gated results.
Prompt | Args | What it does |
|
| Recent SEC Form 4 insider activity for a ticker — transactions (10b5-1 flagged), cluster signals, sentiment — summarized as buy/sell conviction with post-trade-return context |
|
| Market-wide scan of recent cluster-buy signals, 10b5-1 excluded, ranked by conviction (insider count + $ value), each with a sentiment score |
|
| Pending Form 144 notice-of-proposed-sale filings cross-referenced against recent Form 4 sells — flags discretionary (non-10b5-1) notices as the highest-signal early warnings, ~2 days ahead of the sale |
|
| An insider's career track record — total bought/sold, historical post-trade returns on discretionary buys, and whether their buying has historically beaten their scheduled 10b5-1 selling |
|
| Combines 13F-HR institutional holders with recent insider transactions to spot where smart money and insiders agree or diverge |
|
| Screens insider buys with post-trade-return filters to surface historically-successful dip-buying patterns |
These map to the recipe workflows scraping-based Form 4 MCPs don't offer — each one leans on data this MCP alone exposes (10b5-1 flags, Form 144, 13F-HR join, per-insider return scoring). Plan requirements are honored honestly: prompts that touch Business-plan tools (get_signals, get_sentiment, get_form144, get_holdings, get_managers) or Pro-plan tools (get_insider_career_summary, get_insider_scorecard) instruct the LLM to surface the structured upgrade_required response rather than silently failing.
In Claude Desktop, prompts surface as a / slash-command picker; in Claude Code or other MCP clients, ask the assistant to "use the insider_monitor prompt for NVDA" (or similar) and it will fetch and follow the recipe.
Example prompts
Configured? Ask your LLM:
Quality-led (these require our amendment-aware, 10b5-1 clean, joined dataset):
"Show me cluster buy signals from this week — discretionary only, no planned trades"
"Which companies have insiders buying while institutional ownership is increasing this quarter?"
"Are there any Form 144 filings at NVDA suggesting upcoming sales?"
"What's the monthly insider sentiment for TSLA over the last 6 months, with 10b5-1 plans excluded?"
"Berkshire Hathaway's top 13F-HR holdings — what did they add or trim this quarter?"
Standard insider research:
"What insider trades happened at NVDA in the last 30 days, excluding 10b5-1 plans?"
"What is Tim Cook's career insider-trading summary?"
"Show me all open-market purchases over $1M at Tesla in 2026"
"What has the CFO of Microsoft been doing with their shares this year?"
Why this MCP vs scraping-based alternatives
Some MCPs in this space scrape free public sites (e.g. openinsider.com) for Form 4 data. That's fine for a quick prototype but the data layer they give your LLM has structural gaps:
form4api-mcp | Scraping-based MCPs | |
Form 4/A amendment handling | ✅ reconciled automatically | ❌ double-counts |
10b5-1 plan flag | ✅ exposed on every transaction | ❌ planned + discretionary mixed |
Form 144 intent-to-sell | ✅ 23K+ filings | ❌ not exposed |
Institutional × insider join | ✅ top-3 holders + AUM trend per transaction | ❌ insider only |
Sentiment (10b5-1 excluded) | ✅ MSPR-style score | ❌ planned trades pollute score |
Source resilience | ✅ hosted API contract | ❌ breaks when source HTML changes |
Webhooks / production delivery | ✅ HMAC + retry + DLQ | ❌ MCP-only, no fallback |
SDKs | ✅ Python + JS | ❌ MCP-only |
Commercial support | ✅ | ❌ |
If your LLM session is the start of a real research workflow that eventually wants production delivery, picking the MCP that has a graduation path matters.
Beyond MCP — when you need more
The MCP is the easiest entry point. When your workflow grows past LLM-mediated research, the rest of the Form4API platform is right behind it:
Webhooks — HMAC-signed, exponential backoff, dead-letter queue, auto-disable on persistent failure. For production pipelines, not just LLM chats.
Python SDK —
pip install form4api(PyPI)JS / TypeScript SDK —
npm install form4api(npm)Dashboard — usage, billing self-serve, key rotation, webhook health, billing history.
The MCP wraps the same backend as all of the above — every fact your LLM cites can be re-fetched programmatically through any of these channels with the same key.
Plans
Tool | Free | Pro | Business |
| ✓ | ✓ | ✓ |
| ✓ | ✓ | ✓ |
| ✓ | ✓ | ✓ |
| — | ✓ | ✓ |
| — | — | ✓ |
| — | — | ✓ |
| ✓ (30-day disclosure window) | ✓ (unlimited history) | ✓ (unlimited history) |
| — | ✓ | ✓ |
Requests/day | 500 | 50,000 | 250,000 |
When a tool requires a higher plan, the MCP returns a structured upgrade_required payload (with required_plan and upgrade_url) so the LLM can surface the path to you directly. No mid-conversation 402 confusion.
Upgrade at form4api.com/dashboard/billing.
Data coverage
1M+ Form 4 transactions from SEC EDGAR
475K+ filings across all reporting companies
23K+ Form 144 notice-of-proposed-sale filings (Business+)
16M+ Form 13F-HR holdings across 44K+ filings, $72T+ AUM (Business+)
2.5+ years of history (since 2023-10)
10b5-1 plan flag on every transaction
Amendment-aware — Form 4/A reconciled
Congressional STOCK Act trades (Pro+) — House Clerk PTR + Senate eFD, digital filings, amounts always shown as disclosed ranges (
amountLow/amountHigh), never a fabricated midpoint, plusdisclosureLagDayson every trade (up to 45 days under the STOCK Act)Real-time ingestion — new filings within minutes of SEC publication
Install as a Claude Desktop Extension (DXT)
A manifest.json is included at the repo root for one-click install via the Desktop Extensions (DXT) format. Once Claude Desktop supports .dxt files natively, pack and install with:
npx @anthropic-ai/dxt pack
# Produces form4api-mcp.dxt — open it in Claude Desktop to installUntil then, use the standard claude_desktop_config.json method described in Quick install above.
How tools stay in sync with the backend
This MCP is split between two layers:
Hand-written tools in
src/tools/*.ts(transactions, signals, sentiment, form144, holdings, …) — these carry the LLM-discriminator descriptions (amendment-aware, 10b5-1 clean, etc.) that make this MCP pick correctly over alternatives.Auto-generated tools in
src/tools/_generated.ts— produced fromhttps://api.form4api.com/openapi/v1.jsonbynpm run codegen. Every new backend endpoint that lands in the OpenAPI spec flows in here automatically. CI runsnpm run codegen:checkon every PR and fails the build if the committed file drifts from what the live spec would produce, so the MCP is never silently behind the backend.
To add a new generated tool: ship the endpoint on the backend, regenerate (npm run codegen), commit src/tools/_generated.ts, publish. No tool-wrapper code needed.
The 6 recipe prompts live in src/prompts/recipes.ts — also hand-written, not generated. They add no new backend surface area; each one is a client-side template that tells the LLM which existing tools to call and in what order.
Links
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides actionable financial intelligence tools for AI agents including insider buying signals, earnings IV plays, market pulse, stock analysis, and options strategies via free public data sources.Last updated6MIT
- AlicenseAqualityBmaintenanceReal-time financial news for AI agents and trading bots — AI-enriched stories with per-ticker analysis, a 1–10 relevance score, SEC Form-4 insider transactions, plus trending and "actionable-now" feeds. Free tier, OAuth, no API key to paste.Last updated112MIT
- Alicense-qualityAmaintenanceProvides derived financial intelligence for AI agents, including insider activity analysis, earnings surprises, institutional moves, stock screening with a proprietary composite value score, and macro indicators.Last updatedMIT
- Flicense-qualityBmaintenanceEnables risk analysis of US public companies by analyzing 8-K filings and insider activity using live SEC EDGAR data.Last updated
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Always-on SEC EDGAR watcher: ~45s alerts when an insider files a Form 4 or a firm drops an 8-K.
Financial intelligence: insider trades, SEC filings, 13F holdings, and market signals.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/theodor90/form4api-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server