Open-source SEC EDGAR toolkit — 11 tools, 7 prompts, every filing type. No API key required.
EdgarTools is an open-source SEC EDGAR toolkit with 11 tools and 7 prompts covering every filing type. No API key required. It aggregates EDGAR data and provides utilities for parsing and analyzing filings.
🛠️ Key Features
11 tools for SEC EDGAR data and filings
7 prompts tailored for common EDGAR queries
Supports all filing types and XBRL data
Open-source, no API key required
Topics include 10-K, 10-Q, 8-K, Form-4, 13-F, and more
Features for balance sheets, income statements, cash flow statements
🚀 Use Cases
Retrieve and analyze SEC filings for companies
Extract financial statements and key metrics
Investigate insider trading and corporate actions
Build compliance or investor research workflows
⚡ Developer Benefits
Python-based tooling suitable for integration into data pipelines
Lightweight, no API key needed for access
Clear readme excerpt and project headers for quick onboarding
Active repository structure with multiple tools and prompts
⚠️ Limitations
Data scope limited to publicly available SEC filings
Requires local execution environment; no hosted API
Tool coverage depends on repository maintenance and updates
EdgarTools is a Python library for accessing SEC EDGAR filings as structured data. Parse financial statements, insider trades, fund holdings, proxy statements, and 20+ other filing types with a consistent Python API — in a few lines of code. Free and open source.
EdgarTools SEC filing data extraction demo
Why EdgarTools?
SEC EDGAR has every filing back to 1994, free — and almost none of it is ready to use. EdgarTools turns any filing into a typed Python object, so a 10-K's revenue is one line instead of an afternoon of XBRL parsing.
python
# Apple's latest income statement — rendered, standardized, donefrom edgar import Company
Company("AAPL").get_financials().income_statement()
Financial Statements
Income, balance sheet, cash flow in one call
XBRL-standardized for cross-company comparison
Every Filing Type
13F holdings, Form 4 insiders, 8-K events, funds, proxies
Typed objects + pandas DataFrames for 20+ forms
Built for Pipelines & AI
Rate-limit aware, smart caching, enterprise mirrors
Built-in MCP server + LLM-ready text for RAG
How It Works
Everything starts with a Company or a Filing. Call .obj() and you get a typed object built for that form — its data ready as pandas DataFrames and clean text.
The same typed output that reads cleanly in a notebook drops straight into a pipeline: DataFrames for your warehouse, LLM-ready text and an MCP server for your AI stack, rate-limit and enterprise-mirror aware for scale.
Quick Start
1. Install
bash
pip install edgartools
2. Identify yourself to the SEC — EDGAR requires an email with every request. No key, no signup, no rate-limit tier; set it once:
python
from edgar import *
set_identity("your.name@example.com")
3. Get data — every filing is now a few lines away:
python
# Standardized financial statements, straight from XBRL
Company("AAPL").get_financials().income_statement()
# The latest insider Form 4 as a structured object
Company("AAPL").get_filings(form="4").latest().obj()
Apple SEC Form 4 insider transactions parsed into a structured Python object
EdgarTools supports all SEC form types including 10-K annual reports, 10-Q quarterly filings, 8-K current reports, 13F institutional holdings, Form 4 insider transactions, proxy statements (DEF 14A), S-1 registration statements, N-CSR fund reports, N-MFP money market data, N-PORT fund portfolios, Schedule 13D/G ownership, Form D offerings, Form C crowdfunding, and Form 144 restricted stock. Parse XBRL financial data, extract text sections, and convert filings to pandas DataFrames.
Comparison with Alternatives
EdgarTools is a Python library that talks directly to SEC EDGAR. sec-api is the best-known hosted API that returns JSON. Both parse filings — the difference is how you work with the data, and what it costs you.
EdgarTools
sec-api
Cost
Free, MIT
$49+/mo
Data format
Typed Python objects → DataFrames
JSON you parse yourself
Where it runs
In your process — no key, no quotas, no vendor lock-in
Hosted API — key + rate tiers
Filing coverage
20+ typed forms (10-K, 8-K, 13F, N-PORT, proxy…)
15+ structured endpoints
AI / MCP
Built in
Open source
Inspect, fork, self-host
Proprietary
Bottom line: in Python, EdgarTools gives you typed objects, AI-native output, and the full SEC corpus — free, open, and inspectable, with no keys or bills. pip install edgartools and you're querying filings in two lines.
Library or hosted?
EdgarTools is the open-source library — SEC-filing primitives you compose in your own code, free and self-run.
edgar.tools is the hosted platform built on that same open engine: the full SEC corpus as a managed service, so your team gets the data without running the pipeline — and without the black box of a closed API.
Reach for the library when you want control in your own stack; reach for edgar.tools when you'd rather not operate it yourself.
AI Integration
Use EdgarTools with Claude Code & Claude Desktop
EdgarTools includes an MCP server and AI skills for Claude Desktop and Claude Code. Ask questions in natural language and get answers backed by real SEC data.
"Compare Apple and Microsoft's revenue growth rates over the past 3 years"
"Which Tesla executives sold more than $1 million in stock in the past 6 months?"
Setup Instructions
Option 1: AI Skills (Recommended)
Install the EdgarTools skill for Claude Code or Claude Desktop:
This adds SEC analysis capabilities to Claude, including 3,450+ lines of API documentation, code examples, and form type reference.
Option 2: MCP Server
Run EdgarTools as an MCP server for any AI client -- Claude Desktop, Cline, or your own containerized deployment.
Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
json
{"mcpServers":{"edgartools":{"command":"uvx","args":["--from","edgartools[ai]","edgartools-mcp"],"env":{"EDGAR_IDENTITY":"Your Name your.email@example.com"}}}}
Requires uv. Alternatively, pip install "edgartools[ai]" and use python -m edgar.ai.
EdgarTools runs in production at hedge funds, fintechs, and research desks — MIT-licensed, no keys, no subscriptions, and maintained by one person.
The SEC amends filing formats every quarter and ships a new XBRL taxonomy every year. Sponsorship is what keeps 20+ parsers current and funds new extractors as fresh disclosure types appear.
Recurring sponsorship + corporate tiers via GitHub · One-time thanks via Buy Me a Coffee
For teams running EdgarTools in production
If EdgarTools is in your data pipeline, GitHub Sponsors offers corporate tiers from $250 to $1,500/mo with:
Response SLAs (24h–48h first response on critical issues)
Quarterly strategy calls and roadmap input
Logo placement in this README
7-day early access for internal regression testing
Annual invoicing through GitHub — procurement-friendly