What an SEC MCP server is
MCP, the Model Context Protocol, lets an AI assistant call tools that run on your machine or a server. An SEC MCP server wraps the public EDGAR endpoints as tools, so the assistant can call "get the latest 10-K" instead of guessing from memory. Both servers below send requests straight from your machine to SEC and need no API key.
The two servers we read
We read each project's README, its GitHub and npm records, and one source file of the first server on 2 December 2026. We did not install or run either one.
| cyanheads/secedgar-mcp-server | danishashko/edgar-mcp | |
|---|---|---|
| Tools | 16, plus one you can switch on | 6 |
| Covers | Company search, filing search back to 1993, filing text, financials, snapshots, 8-K events, insider trades, 13F holdings, 13F holder lookup, 13D and 13G owners, fund holdings, frames, company comparison, SQL over results | Company search, recent filings, latest filing of a type, headline financials, one concept over time, full-text search |
| Code licence | Apache-2.0 | MIT |
| Repository created | 24 March 2026 | 2 June 2026 |
| npm releases | 72, latest 0.20.0 on 18 November 2026 | 5, latest 1.1.0 on 8 September 2026 |
| Stated use | Not stated in the README | "Personal, educational, and research use" |
| Rate handling | Paces requests under SEC's 10 per second; after an HTTP 429 it refuses calls for a cool-down, 600 seconds by default | Retries on rate limits |
Both are open-source projects with public code. If you build on one, you take on the risk that it stops being maintained, and you should pin a version you have tested.
What the first server does with care
The cyanheads README is long and specific. Four choices stand out for agents.
- It reports what is missing. A concept the company does not report lands under
gapswith the tags it tried, in place of a zero. - It reports how deep it looked. Fields such as
history_scanned_through,older_filings_unexaminedandtotal_is_exacttell the agent what a scan left out. - It applies 13F amendments in order. It composes each quarter from the original 13F-HR and its amendments in acceptance order, and labels each one
restatement,new_holdings,supersededornot_applied. - It handles tag changes. A friendly name such as revenue tries several XBRL tags in a set order, and warns when only a retired tag matched.
Where a free server stops
It keeps the latest value for each period
The server's concept-series.ts file says that values for the same period "resolve to the latest filed date so a restatement replaces the original." That answers "what is the number now". It cannot answer "what did the market know in March 2018". Kraft Heinz shows the gap in SEC's own company facts:
| Period | First filed | Value then | Filed 7 June 2019 |
|---|---|---|---|
| FY2016 net income | 23 February 2017 | $3,632M | $3,596M |
| FY2017 net income | 16 February 2018 | $10,999M | $10,941M |
A series that keeps one row per period shows the right-hand column. A backtest built on it uses restated numbers before they existed. Look-ahead bias explains what that does to results.
No prices
Neither tool list includes daily prices, splits or dividends. The only prices in the cyanheads README are the per-share prices inside Form 4 insider trades. EDGAR does not publish market prices, so you need another source, with its own licence terms.
Identifiers go only as far as the filings
SEC's company records carry no CUSIP. The cyanheads server passes through the identifiers that sit inside filings: CUSIPs on 13F rows, and CUSIP, ISIN and LEI on fund holdings. Its 13F holder lookup takes a 9-character CUSIP as the exact match key. We found nothing in the README that maps a CUSIP to a ticker.
You run it
You install it, update it, set the User-Agent and watch for the cool-down. SEC allows 10 requests per second per user. If your agent serves many people from one IP address, they share that budget.
Read the terms before you ship
The edgar-mcp README limits use to personal, educational and research purposes. Read each project's licence and README before you put a tool inside a product.
A way to decide
| Your agent | Start with |
|---|---|
| Answers questions about filings, for you | A free SEC server |
| Reads 13F or Form 4 filings | A free SEC server, checking how it handles amendments |
| Needs prices, splits or dividends | A separate price source with a licence |
| Backtests on what was known on each date | A source that keeps first-filed values with their dates |
| Runs inside a product for customers | A source with a written licence and a support contact |
You can run both. Let the agent use a free server for filing text and another source for numbers, and have it label where each number came from. The guide to data your agent can trust covers that labelling.
Three tests before you choose
- Ask for Kraft Heinz's 2017 net income "as first reported". The right answer is $10,999M, filed on 16 February 2018.
- Ask for revenue under a ticker that no longer exists. The right answer is "no data", not a similar company.
- Ask whether a scan covered every filing. A good tool says how far back it looked.
Younesa is building US company data from SEC filings.