Skip to main content
Glama
SEC EDGAR MCP

SEC EDGAR MCP

by quantisnow
README.md
# Quantisnow SEC EDGAR MCP server and CLI

<!-- mcp-name: io.github.quantisnow/sec-edgar-mcp -->

[![npm](https://img.shields.io/npm/v/quantisnow)](https://www.npmjs.com/package/quantisnow) [![quantisnow/sec-edgar-mcp MCP server](https://glama.ai/mcp/servers/quantisnow/sec-edgar-mcp/badges/score.svg)](https://glama.ai/mcp/servers/quantisnow/sec-edgar-mcp)

A hosted MCP server and API for live SEC EDGAR full-text search. Claude, ChatGPT, Cursor, VS Code and other MCP clients can search the words of every SEC filing and exhibit as soon as the SEC accepts it, get back the passage that matched with the ticker and a link to the filing, and look up Form 4 insider trades, 13F holdings, 13D/13G stakes, 8-K events by item, XBRL financial statements and House members' stock trades. The same data works from your terminal with `npx quantisnow`. A new key comes with 100 free calls, no card.

There is nothing to run or host: the server lives at

```
https://www.quantisnow.com/api/v1/mcp
```

and signs you in through your MCP client's own browser flow (OAuth), or takes an API key.

## Add it to your AI tool

Claude Code:

```bash
claude mcp add --transport http quantisnow https://www.quantisnow.com/api/v1/mcp
```

Claude.ai and Claude Desktop: Settings, Connectors, Add custom connector, and paste the URL above.

Any client that takes a JSON config (Cursor, VS Code, Windsurf):

```json
{
  "mcpServers": {
    "quantisnow": {
      "url": "https://www.quantisnow.com/api/v1/mcp"
    }
  }
}
```

Or let the CLI write the config for you. It keeps whatever else is in the file and saves the old one next to it as `.bak`:

```bash
npx quantisnow mcp install claude-code
npx quantisnow mcp install claude-desktop
npx quantisnow mcp install cursor
npx quantisnow mcp install vscode
npx quantisnow mcp install windsurf
npx quantisnow mcp install codex
npx quantisnow mcp install gemini
```

Add `--print` to see the change without writing it. For clients that only start local commands, `npx quantisnow mcp` runs a stdio server that forwards to the hosted one.

Signing up is free and needs no card.

This repo is also a Cursor plugin: `.cursor-plugin/plugin.json` is the manifest and `mcp.json` points Cursor at the hosted server above.

## Tools

| Tool | What it does |
| --- | --- |
| `search` | Query a dataset with Lucene-style syntax: `ticker:NVDA AND formType:4`, ranges like `filedAt:[2026-01-01 TO 2026-03-31]`, comparisons like `field:>1000000`. |
| `full_text_search` | Words and "quoted phrases" inside filing text and exhibits, with the same field filters. |
| `describe_dataset` | The fields, types and example queries for one dataset. |
| `list_data_feeds` | Every data feed: river levels, power prices, prediction market books, fund flows and more. |
| `data_feed_latest` | The newest record for each key in a feed. |
| `data_feed_series` | One key over the last 1 to 30 days. |
| `data_feed_history` | Links to one day's full history as gzip NDJSON. |
| `data_feed_signals` | Signals derived from the feeds, like a power price spike or a cluster of insider sale plans: ticker, direction, strength 0 to 100 and a one-line headline. |

Datasets: SEC filings (all form types), Form 3/4/5 and 144 insider trades, 8-K events by item, 13D/13G beneficial ownership, 13F holdings, XBRL financial statements, and House members' periodic transaction reports. Every result links to its Quantisnow page and the filing on sec.gov.

Things people ask it:

- Which insiders bought more than $1M of their own stock this week?
- Find 10-Ks from the last year that raise substantial doubt about going concern, and list the tickers.
- Which companies changed auditors (8-K Item 4.01) in the last 90 days?
- What did Berkshire Hathaway add and sell in its latest 13F?
- Show Apple's quarterly revenue and free cash flow for the last eight quarters.

## Command line

```bash
npx quantisnow login
npx quantisnow search '"substantial doubt" "going concern"' --forms 10-K,10-Q
```

`login` opens your browser to sign in.

```bash
# Words and phrases inside filings and their exhibits
npx quantisnow search '"material weakness" ticker:SMCI'
npx quantisnow search '"reverse stock split"' --forms 8-K --newest

# Ask in plain English; it writes the query and shows it
npx quantisnow ask "which directors bought more than $500K of their own stock this month"

# Insider trades
npx quantisnow insiders --min 1m            # open-market buys over $1M, last 30 days
npx quantisnow insiders NVDA --sells --days 90

# 8-K events by item
npx quantisnow events officers              # Item 5.02: officer and director changes
npx quantisnow events auditor --days 365    # Item 4.01: auditor changes
npx quantisnow events 1.03                  # bankruptcy

# 13F, financials, congress
npx quantisnow holders AAPL --change new    # funds that opened a position last quarter
npx quantisnow financials MSFT --annual
npx quantisnow congress NVDA

# Anything else, in the query syntax
npx quantisnow query 13f/holdings "manager.cik:0001067983 AND period:2026-09-30" --sort valueUsd:desc

# Cut any search by company size or sector
npx quantisnow query insider-trades "transactionCodes:P AND filedAt:[2026-10-25 TO 2026-11-24] AND issuer.marketCap:<300000000" --sort purchased.valueUsd:desc
npx quantisnow query 8-k/events 'items.item:"4.01" AND sector:"Health Care"'
```

Data feeds ([quantisnow.com/data-feeds](https://www.quantisnow.com/data-feeds)) come with Premium and Business plans:

```bash
npx quantisnow feeds                                # every feed
npx quantisnow feeds river-levels KAUB,MAXAU        # newest reading per gauge
npx quantisnow feeds river-levels KAUB --days 7     # one key over a week
npx quantisnow feeds river-levels --date 2026-11-28 # links to the full day, gzip NDJSON
npx quantisnow feeds funding-liquidations --follow  # live, each record as it arrives
```

Add `--json` to any command to get the raw response for `jq`, `-n 50` for more rows, and `--show-query` on the shortcut commands to see the query they send.

## Terminal

`npx quantisnow terminal` opens a live market screen in your terminal: news wires, a story reader with the AI write-up, quote, chart, watchlist, movers, trading halts, sectors, crypto and data signals, tiled side by side.

```bash
npx quantisnow terminal
```

Type a ticker and press enter to load it into every linked pane, or follow it with a pane code to jump there (`NVDA GP` opens NVIDIA's chart). Pane codes: `N` news, `CN` story, `Q` quote, `GP` chart, `W` watchlist, `MOV` movers, `HALT` halts, `SECT` sectors, `CRY` crypto, `SIG` signals. Tab or the arrow keys move between panes, `j` and `k` move inside one, enter opens a story, `|` and `_` split a pane, `<` `>` `+` `-` resize it, `?` lists every key, `q` quits. The mouse works too. Three tabs to start (`1` Main, `2` Stock, `3` Wires); your layout is saved to `~/.config/quantisnow/terminal.json`.

It runs on your Quantisnow account, so it signs in through your browser the first time (an API key won't open it), and it follows your plan the same way the website does. On the free plan news comes with the free delay, the live feed pauses after a few minutes and comes back after a cooldown (the pane shows the countdown), and a lot is blurred: volume, VWAP, shares, EPS and P/E, the live 1D chart, the AI write-up after its first sentence, one-line AI summaries, movers past the top 5 and data signals past the newest 2. Plus and Premium are live with nothing blurred. Terminal use doesn't count against your API calls or credits.

`npx quantisnow terminal --dump --cols 160 --rows 45` prints one frame as text, for a script or a quick look.

## Keys and limits

`npx quantisnow usage` shows what you have left; it doesn't count as a call. When you need more, [plans](https://www.quantisnow.com/sec-api#plans) are monthly and never charge for overage: the API answers `429` instead.

Prefer an API key over the browser sign-in (for CI, servers, scripts)? Make one at [quantisnow.com/sec-api/keys](https://www.quantisnow.com/sec-api/keys), then either:

```bash
npx quantisnow login --key qs_...
export QUANTISNOW_API_KEY=qs_...
```

MCP clients that send headers can pass it as `Authorization: Bearer qs_...`.

The sign-in or key is saved to `~/.config/quantisnow/config.json` with permissions 600. `npx quantisnow logout` removes it.

## REST API and docs

The same datasets are a REST API at `https://www.quantisnow.com/api/v1`. API reference, query syntax, one page per SEC form and guides: [quantisnow.com/sec-api](https://www.quantisnow.com/sec-api). MCP setup for each client: [quantisnow.com/sec-api/mcp](https://www.quantisnow.com/sec-api/mcp). Every docs page also has a Markdown version at the same URL plus `.md`.

Quantisnow is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR is the SEC's filing system; the filings themselves are public records.

## Notebooks

Python notebooks on the same data, from insider buying clusters to restatements and new 13F positions, are in [quantisnow/sec-edgar-notebooks](https://github.com/quantisnow/sec-edgar-notebooks). Each one opens in Jupyter or Google Colab.

## Releases

Every push to `main` publishes a new version to npm and the MCP registry from GitHub Actions. `package.json` and `server.json` carry the major and minor version; the patch number is the workflow run number.

MIT license.