freshcrate
Home > MCP Servers > sec-edgar-mcp

sec-edgar-mcp

A SEC EDGAR MCP (Model Context Protocol) Server

Description

A SEC EDGAR MCP (Model Context Protocol) Server

README

SEC EDGAR MCP

PyPI Conda Version Python: 3.11+ License: AGPL-3.0 Verified on MseeP 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 edgartools.

SEC-Edgar-MCP-Demo.mp4
See demo video

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

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

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

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

Tools

Category Tools
Company CIK lookup, company info, company facts
Filings 10-K, 10-Q, 8-K retrieval, section extraction
Financials Balance sheet, income statement, cash flow (XBRL-parsed)
Insider Trading Form 3/4/5 transactions

All responses include SEC filing URLs for verification.

HTTP Transport

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

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.

cd evals && npm install && npm run eval

Documentation

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

Contributors

Citation

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

DOI

@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: stefano@amorelli.tech

Release History

VersionChangesUrgencyDate
v1.0.8## Bug Fixes - **Fixed `get_segment_data` returning empty segments** (#47, fixes #39) - Rewrote function to extract segment data from XBRL statements - Now properly categorizes revenue, cost of revenue, operating income, ... - Supports both "business" and "geographic" segment types ## Security - Upgraded all dependencies to resolve 20 Dependabot security alerts - Key updates: urllib3 2.4.0→2.6.3, mcp 1.7.1→1.26.0, starlette 0.46.2→0.52.1, ... ## Installation ```bash pip install sec-edLow1/25/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

asya-chat-uiBuild multi-organization LLM chat platforms with model routing, tool execution, usage analytics, and OpenAI-compatible APIs.main@2026-04-21
agentic-codingAgentic Coding Rules, Templates etc...main@2026-04-21
npcpyThe python library for research and development in NLP, multimodal LLMs, Agents, ML, Knowledge Graphs, and more.v1.4.21
developers-guide-to-aiThe Developer's Guide to AI - A Field Guide for the Working Developermain@2026-04-09
agentpoolA unified agent orchestration hub that lets you configure and manage multiple AI agents (native, ACP, AGUI, Claude Code) via YAML, and exposes them through standardized protocols (ACP/OpenCode Server)v2.9.18