MCP server/ai-tools

EdgarTools MCP Server

The AI Native Python library for SEC EDGAR Data

sareegpt/edgartools-mcp ↗by sareegptupdated
1

Add it to Claude Code

claude mcp add -e "EDGAR_IDENTITY=${EDGAR_IDENTITY}" edgartools-mcp -- python -m edgar.mcp
Required:EDGAR_IDENTITY
2

Make your agent remember this setup

edgartools-mcp's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Download and parse SEC EDGAR filings including 10-K, 10-Q, and 8-K reports
  • Standardized XBRL financial statement extraction
  • Access to insider trading data via Form 4 filings
  • LLM-optimized text extraction for financial analysis
  • Pandas-ready data output for financial modeling

Tools 3

get_company_filingsRetrieve SEC filings for a specific company ticker.
get_financialsExtract financial statements like balance sheets and income statements.
get_insider_tradingAccess insider trading data from Form 4 filings.

Environment Variables

EDGAR_IDENTITYrequiredRequired by SEC regulations to identify your application (e.g., [email protected])

Try it

Get the latest 10-K filing for Apple (AAPL) and summarize the risk factors.
Compare the balance sheet of Microsoft (MSFT) with Google (GOOGL).
Show me the recent insider trading activity for NVIDIA (NVDA).
Extract the revenue growth trends from the last three 10-Q filings for Tesla (TSLA).
Original README from sareegpt/edgartools-mcp
<a href="https://github.com/dgunning/edgartools"> </a> <h1 align="center">EdgarTools - Python Library for SEC EDGAR Filings</h1> <h3 align="center">The AI Native Python library for SEC EDGAR Data</h3>

<b>The only SEC EDGAR library built from the ground up for AI agents and LLMs. Extract financial data in 3 lines of code instead of 100+. Production-ready MCP server included.</b>

<sub>Built with AI-assisted development • 3-10x faster velocity • Support this project</sub>

EdgarTools is a Python library for downloading and analyzing SEC EDGAR filings. Extract 10-K, 10-Q, 8-K reports, parse XBRL financial statements, and access insider trading data (Form 4) with a simple Python API. Free and open-source.

EdgarTools SEC filing data extraction demo

Why EdgarTools?

EdgarTools is the fastest, most powerful open-source library for SEC EDGAR data extraction. Built for financial analysts, data scientists, and AI developers who need reliable, production-ready access to SEC filings.

<table align="center"> <tr> <td align="center" width="33%">
<b>Lightning Fast</b>
10-30x faster than alternatives
Optimized with lxml & PyArrow
</td> <td align="center" width="33%">
<b>AI Native</b>
Built-in MCP server for Claude
LLM-optimized text extraction
</td> <td align="center" width="33%">
<b>Production Quality</b>
1000+ tests, type hints
Battle-tested by analysts
</td> </tr> <tr> <td align="center" width="33%">
<b>XBRL Native</b>
Full XBRL standardization
Cross-company comparisons
</td> <td align="center" width="33%">
<b>Rich Data Objects</b>
Smart parsing for every form
Pandas-ready DataFrames
</td> <td align="center" width="33%">
<b>Open Source</b>
MIT license, community-driven
Transparent & auditable
</td> </tr> </table>

How It Works

# Install the SEC EDGAR Python library
pip install edgartools

# Set your identity (required by SEC regulations)
from edgar import *
set_identity("[email protected]")

# Get SEC 10-K, 10-Q filings and XBRL financial statements
balance_sheet = Company("AAPL").get_financials().balance_sheet()

# Access any company's SEC filings
company = Company("MSFT")

# Parse Form 4 insider trading tra

Frequently Asked Questions

What are the key features of EdgarTools MCP?

Download and parse SEC EDGAR filings including 10-K, 10-Q, and 8-K reports. Standardized XBRL financial statement extraction. Access to insider trading data via Form 4 filings. LLM-optimized text extraction for financial analysis. Pandas-ready data output for financial modeling.

What can I use EdgarTools MCP for?

Automated financial statement analysis for investment research. Tracking corporate insider trading activity for market sentiment. Comparing financial performance across multiple public companies. Building AI-powered financial reporting agents.

How do I install EdgarTools MCP?

Install EdgarTools MCP by running: pip install edgartools

What MCP clients work with EdgarTools MCP?

EdgarTools MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep EdgarTools MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest