npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mambalabsdev/mcp-sec-form4-insider-trades

v1.0.4

Published

MCP server for SEC Form 4 Insider Trades: insider buys, sells, and option trades from EDGAR.

Readme

SEC Form 4 Insider Trades MCP Server

Glama score MCP Registry npm version npm downloads license mcpservers.org

An MCP server for the Mamba Labs SEC Form 4 Insider Trades actor on Apify. Insider trades as rows.

What's Inside

What it does

Takes tickers, CIK numbers, company names, or insiders and returns every insider transaction their SEC Form 4 filings report, newest filing first, or reads the newest Form 4 filings across all companies. Filters by transaction code, minimum value, and filing date.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-sec-form4-insider-trades": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-sec-form4-insider-trades"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The get_insider_trades tool appears.

Prerequisites

Example prompts

  • "List open market insider purchases at NVDA filed since 2026-01-01."
  • "Show insider sales over $1,000,000 in the newest 200 Form 4 filings."

Tool

get_insider_trades. One tool. Example arguments:

{
  "companies": [
    "AAPL"
  ],
  "transaction_codes": [
    "S"
  ],
  "filed_after": "2026-01-01",
  "max_trades_per_source": 10
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

| Input | Type | Required | Description | |---|---|---|---| | companies | array | no | Tickers (AAPL), SEC CIK numbers (320193), or company names (Apple Inc.). Each company returns the insider trades filed on Form 4 for its shares, newest filing first. A name must match an EDGAR company name exactly, legal form words such as Inc ignored. In Clay, put the column inside a one item list. | | insiders | array | no | Insider CIK numbers (1780525), or names exactly as EDGAR files them, usually last name first (Newstead Jennifer). Each insider returns the trades they reported across every company. | | latest_filings | number | no | Optional. Number of the newest Form 4 filings to read across all companies, 1 to 1000, from EDGAR's latest filings feed. 0 or empty turns it off. | | transaction_codes | array | no | SEC transaction codes to keep, for example P (open market purchase) and S (sale). Others: A grant, M option exercise, F tax withholding, G gift, D disposition to issuer, C conversion, X exercise, J other. Empty keeps every code. | | include_derivative | boolean | no | true (default) also returns Table II trades in options, warrants, and other derivatives. false returns shares (Table I) only. | | min_value_usd | number | no | Optional. Keeps trades whose shares times price is at least this many US dollars. Trades with no price are dropped when this is set. | | filed_after | string | no | Optional date, YYYY-MM-DD. Keeps Form 4 filings filed on or after this date. | | filed_before | string | no | Optional date, YYYY-MM-DD. Keeps Form 4 filings filed on or before this date. | | include_amendments | boolean | no | true (default) also reads amended filings (4/A). false skips them. | | max_trades_per_source | number | no | Most trade rows for each company, each insider, and the latest filings, 1 to 5000. Default 100. | | max_filings_per_source | number | no | Most Form 4 filings read for each source, newest first, 1 to 2000. Default 100. Raise it to reach older trades or when filters keep few trades. | | dedupe | boolean | no | true (default) returns each trade once per run, even when a company and an insider both find it. Repeats are not charged. | | max_charge_usd | number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

| Event | Free plan | Bronze | Silver | Gold | |---|---|---|---|---| | trade-row, one insider transaction | $0.0015 | $0.001425 | $0.00135 | $0.001275 | | apify-actor-start, per run start | $0.005 | $0.005 | $0.005 | $0.005 |

Repeats, filtered trades, companies or insiders not found, summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/sec-form4-insider-trades

License

MIT. See LICENSE.