
EdgarTools
io.github.dgunningPublished by GitHub account dgunningv5.62.1Updated Oct 24, 2026
Open-source SEC EDGAR toolkit — 13 tools, 7 prompts, every filing type. No API key required.
The publisher's own server: edgar.tools SEC Intelligence
Overview
Local MCP server exposing SEC EDGAR filings as structured data: full-text search, financial statements, insider trades, 13F and fund holdings.
- What you can do
- Search filing text and filter by form type, item or date range, and look up filings by accession number, CIK or ticker
- Pull standardized income statements, balance sheets and cash flow statements across years, quarters and trailing twelve months
- Read 10-K and 10-Q sections as text or whole filings as markdown for retrieval workflows
- Extract 13F institutional holdings, Form 4 insider transactions, N-PORT fund portfolios and 8-K items as typed objects and tables
- When to use it
- Useful when an assistant needs to answer questions about what public companies filed with the SEC, compare reported financials across companies, or trace insider trades and institutional holdings, without writing parsing code.
- Requirements
- Runs locally via uvx from the edgartools package with the ai extra (or pip install and python -m edgar.ai); needs Python 3.11+ and uv, or pip. The EDGAR_IDENTITY environment variable is required and must contain a name and contact email for SEC identification. Network access to SEC EDGAR is needed; no API key or signup.
Installation
In SourceWeft
- Open EdgarTools in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
EdgarTools — Python Library for SEC EDGAR Filings
[PyPI - Version] [Python versions] [Build status] [Monthly downloads]
EdgarTools is a Python library for SEC EDGAR filings as structured data: financial statements, insider trades, fund holdings, proxy statements and dozens of other filing types, through one consistent Python API. SEC publishes every filing since 1994 for free, and almost none of it is ready to use; EdgarTools turns a filing into a typed Python object. Free and open source, MIT-licensed.
Docs · Cheat sheet · Agents: Skill · MCP server · Hosted: edgar.tools
[EdgarTools SEC filing data extraction demo]
Quick Start
1. Install. The package is edgartools; the module you import is edgar. Python 3.11+.
2. Identify yourself to the SEC. EDGAR requires a contact email on every request. There is no key, signup or rate-limit tier.
3. Get data.
Why not just call SEC's APIs?
data.sec.gov gives you JSON facts and filing indexes. Everything past that is your code. EdgarTools does that part:
- Section text and markdown. Item 1A, Item 7 or any Item of a 10-K or 10-Q as text, and whole filings as markdown for RAG. Raw HTML is where hand-rolled parsers break.
- Parsed forms, not XML. 13F holdings, Form 4 transactions, N-PORT portfolios and 8-K items as typed objects and DataFrames.
- Statements that line up. Rows standardized across filers, so "Total Revenue" means the same thing for a bank and a chipmaker, plus discrete quarters (Q4 derived from the 10-K) and trailing twelve months.
- Search and plumbing. Full-text search over filing content, the live filing feed, rate limiting, caching and offline storage.
It runs in your own process, MIT-licensed, with no API key and no vendor quota; SEC's fair-access limit of 10 requests a second still applies, and EdgarTools keeps to it.
What you can do
Full-text search across SEC filings
Search the text of every filing since 2001, not just form types and dates.
Financial statements over several years
One metric across companies
Pick rows by their standardized label, never by position: the first row of an income statement is not always total revenue.
Quarterly figures and trailing twelve months
Sections and markdown for RAG
Find filings, by anything
[find() resolving a ticker, a CIK and an accession number]
[get_current_filings() showing the live SEC filing feed]
13F institutional holdings
Institutional Holdings guide →
[Berkshire Hathaway's latest 13F holdings]
Insider trades from Form 4
[Tesla's latest Form 4 parsed into a structured object]
Fund holdings from N-PORT
8-K events and earnings releases
Library or hosted?
EdgarTools is this library: free, MIT-licensed, running in your own Python process. edgar.tools is the hosted platform built on it: the same parsing, kept running and current, with every answer cited to its filing. You are not paying for the parsing; you are paying for it to be run and answerable. No feature is ever removed from the library to sell the platform.
Both have an MCP server: the library's runs locally (see AI Integration below), and edgar.tools' is hosted at app.edgar.tools/mcp. Attach one per client, not both: they overlap and split your assistant's routing.
AI integration
EdgarTools ships an agent skill and a local MCP server, both in the ai extra. For an assistant that cannot run Python, use the hosted connector from the section above instead.
The MCP server works with any MCP client. For Claude Desktop, add it to claude_desktop_config.json:
uvx needs uv; without it, pip install "edgartools[ai]" and run python -m edgar.ai. Setup for other clients: MCP server guide · Skill guide.
Support the project
The SEC changes filing formats and ships a new XBRL taxonomy every year. Sponsorship is what keeps the parsers current and pays for new ones as new disclosures appear.
- GitHub Sponsors: monthly or one-time. Companies can sponsor on their existing GitHub bill.
- Buy Me a Coffee: a one-time thank-you.
- Consulting: help from the library's author with SEC data pipelines and financial AI built on it.
[Sponsor on GitHub] [Buy Me A Coffee]
Docs, help and contributing
- Documentation · Cheat sheet · Notebooks · Blog
- Questions go to Discussions; bugs and feature requests to Issues.
- Contributions are welcome, including AI-assisted ones. Read the contributing guide and point your assistant at AGENTS.md.
EdgarTools is distributed under the MIT License.
Source: README.md at commit 018156a
Tools
0Version history
5- v5.62.1LatestOct 23, 2026
- v5.62.0Oct 11, 2026
- v5.61.1Oct 7, 2026
- v5.61.0Oct 6, 2026
- v5.21.1Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Edgar integrations
edgar.tools SEC Intelligence
tools.edgarOfficial publisher
Remote MCP server giving assistants 23 tools and 5 recipes for SEC filings, financials, insider trades, 13F holdings and funds.

SEC EDGAR Filings
Published by GitHub account SudiptoHaldar
Read-only SEC EDGAR filing metadata by stock ticker: latest filing, calendar-year filing history, and form-type codes, with official sec.gov links.

SEC EDGAR — Recent Company Filing Index by CIK
Published by GitHub account kriton-dev
SEC EDGAR — Recent Company Filing Index by CIK's hosted MCP server; credential required; Streamable HTTP.

Sec Edgar Mcp
Published by GitHub account mrfentmen
Local MCP server that gives an assistant access to SEC EDGAR filings and XBRL financial concepts, including company profiles by CIK and full-text search.

SEC EDGAR Insider Trades & Financials
Published by GitHub account monriah-studio
Remote MCP server for U.S. SEC EDGAR data, letting an assistant look up insider trades, filings, XBRL financials and full-text filing search.