Sec Edgar Mcp

io.github.stefanoamorelliPublished by GitHub account stefanoamorelliv1.0.5Updated Oct 24, 2026

SEC EDGAR MCP server that provides access to the US public filings through the US SEC EDGAR API

The publisher's own server: edgar.tools SEC Intelligence

VerifiedSTDIODesktop onlyFinanceData & Analytics

Overview

AI-generated overview

Local MCP server that gives an assistant access to US SEC EDGAR public filings, company facts, XBRL financial statements and insider trading forms.

What you can do
Look up companies by CIK and retrieve company info and company facts from EDGAR data sets and APIs (D1, R14). Retrieve 10-K, 10-Q and 8-K filings and extract sections (R15). Read balance sheet, income statement and cash flow figures parsed from XBRL (R16). List Form 3, 4 and 5 insider trading transactions (R17). Responses include SEC filing URLs for verification (R18).
When to use it
Useful when an assistant needs to research US public companies, read annual or quarterly reports, pull standardized financial figures, or check insider transactions, with source links for checking results.
Requirements
Runs as a local process (stdio) via the PyPI package sec-edgar-mcp, Docker, pip or uv; the README notes the -i flag is required for Docker. Requires the environment variable SEC_EDGAR_USER_AGENT (V1.1) and network access to the SEC EDGAR API. An optional streamable HTTP mode is available for platforms such as Dify.
Before you install
The SEC_EDGAR_USER_AGENT value is sent to the SEC and should identify you as the SEC requires. The HTTP transport has no authentication and the README says to use it only on private networks (R21, R22). The project is not affiliated with or endorsed by the SEC (R7, R8).

Installation

In SourceWeft

  1. Open Sec Edgar Mcp in the dashboard and add it to a workspace.
  2. 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

SEC EDGAR MCP

[PyPI] [Python: 3.11+] [License: AGPL-3.0] [DOI] [Evals]

MCP server for accessing SEC EDGAR filings. Connects AI assistants to company filings, financial statements, and insider trading data with exact numeric precision.

Built on sec-edgar-toolkit.

https://github.com/user-attachments/assets/d310eb42-b3ca-467d-92f7-7d132e6274fe

See demo video [Image]

[!NOTE] This project is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR and SEC are trademarks of the SEC.

Quick Start

json
{  "mcpServers": {    "sec-edgar-mcp": {      "command": "docker",      "args": [        "run", "-i", "--rm",        "-e", "SEC_EDGAR_USER_AGENT=Your Name ([email protected])",        "stefanoamorelli/sec-edgar-mcp:latest"      ]    }  }}

The -i flag is required for MCP's JSON-RPC communication.

For other installation methods (pip, uv), see the documentation.

Tools

CategoryTools
CompanyCIK lookup, company info, company facts
Filings10-K, 10-Q, 8-K retrieval, section extraction
FinancialsBalance sheet, income statement, cash flow (XBRL-parsed)
Insider TradingForm 3/4/5 transactions

All responses include SEC filing URLs for verification.

HTTP Transport

For platforms like Dify, use streamable HTTP instead of stdio:

bash
python -m sec_edgar_mcp.server --transport streamable-http --port 9870

No authentication is included. Use only on private networks.

Evaluations

Promptfoo-based test suite. See evals/ for details.

bash
cd evals && npm install && npm run eval

Documentation

Full docs: sec-edgar-mcp.amorelli.tech

Contributors

[Image]

Citation

If you use this software in research, please cite it:

[DOI]

bibtex
@software{amorelli_sec_edgar_mcp_2025,  title = {{SEC EDGAR MCP (Model Context Protocol) Server}},  author = {Amorelli, Stefano},  version = {1.0.6},  year = {2025},  month = {9},  url = {https://doi.org/10.5281/zenodo.17123166},  doi = {10.5281/zenodo.17123166}}

See CITATION.cff for additional formats.

License

AGPL-3.0. For commercial licensing: [email protected]

Source: README.md at commit 7442398

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.5LatestSep 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