cd /news/developer-tools/we-spent-months-cleaning-sec-edgar-1… Β· home β€Ί topics β€Ί developer-tools β€Ί article
[ARTICLE Β· art-71574] src=dev.to β†— pub= topic=developer-tools verified=true sentiment=↑ positive

We Spent Months Cleaning SEC EDGAR 13F Data So You Don't Have To

AlphaSMO released a free public API, CLI, and MCP server that cleans and normalizes SEC EDGAR 13F and Form 4 insider-trading data, solving the problem of near-duplicate institution names. The tool provides signals such as smart money convergence, where both institutional investors and company insiders are buying the same stocks, and outputs data in JSON, CSV, or table format.

read2 min views1 publishedJul 24, 2026

SEC EDGAR is public, free, and a mess. Every quarter, 13,000+ institutional investment managers file Form 13F, disclosing their U.S. equity holdings. In theory that's a beautiful dataset β€” every hedge fund, every pension fund, every bank, all in one place. In practice, the raw filings actively fight you:

BlackRock, Inc.

and BlackRock Inc.

are two distinct CIK registrations for what most people would call "one" institution. Multiply that across 13,000+ filers and you get a long tail of near-duplicate names that break any naive GROUP BY institution_name

.None of this is exotic β€” it's the normal cost of working with real-world government filing data. But it's exactly the kind of unglamorous plumbing that eats a weekend project before you get to the interesting part: actually asking questions like "what is smart money buying right now?"

AlphaSMO is a free public API + CLI + MCP server sitting on top of all that cleaned-up 13F and Form 4 insider-trading data. No signup required to try it:

npx alphasmo stocks flows --limit 8

That returns stocks ranked by net institutional buy/sell flow for the quarter β€” piped or scripted, it comes back as JSON automatically:

[
  {
    "ticker": "BRK-A",
    "issuer_name": "BERKSHIRE HATHAWAY INC-CL A",
    "net_value_change_usd": 255068024828,
    "avg_weight_pct": 1.42,
    "institution_count": 1418
  }
]

The flagship signal is smart money convergence β€” tickers where 13F institutions and company insiders (Form 4 filers) are both buying at the same time:

npx alphasmo convergence --limit 5 --format table
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ ticker β”‚ issuer              β”‚ confidence β”‚ unique buyers β”‚ cluster alert β”‚ last buy   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ KKR    β”‚ KKR & CO INC        β”‚ 80.48      β”‚ 5             β”‚ yes           β”‚ 2026-03-04 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ ELV    β”‚ ELEVANCE HEALTH INC β”‚ 70         β”‚ 2             β”‚ no            β”‚ 2026-07-17 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ IP     β”‚ INTERNATIONAL PAPER β”‚ 62.59      β”‚ 3             β”‚ yes           β”‚ 2026-03-12 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Output format auto-detects context β€” a real table in your terminal, JSON when piped or spawned by a script or an AI agent. --csv

gets you a spreadsheet-ready export directly:

alphasmo insider trades AAPL --csv | column -s, -t

The same data ships as an MCP server, so Claude, ChatGPT, Cursor, or any MCP-compatible client can pull live 13F and insider data mid-conversation, without you writing a single integration line:

claude mcp add alphasmo -- npx -y alphasmo@latest mcp

Tools exposed: search_institutions

, get_institution_profile

, get_institution_holdings

, get_stock_overview

, get_stock_flows

, get_insider_activity

, get_smart_money_convergence

.

npm install -g alphasmo
alphasmo --help

Anonymous requests work out of the box at a lower rate limit; a free API key (alphasmo.com/developer) raises it. Full REST reference (curl-friendly, no CLI required) is at alphasmo.com/developer/docs, and the same underlying data β€” institution profiles, holdings, quarter-over-quarter changes β€” is browsable directly at alphasmo.com/13f.

The raw data is public. We just did the annoying part first.

── more in #developer-tools 4 stories Β· sorted by recency
── more on @alphasmo 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/we-spent-months-clea…] indexed:0 read:2min 2026-07-24 Β· β€”