GNU Affero General Public License v3.0

项目介绍

stefanoamorelli/sec-edgar-mcp 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 386 个 Star、101 次 Fork。

仓库全名
stefanoamorelli/sec-edgar-mcp
开源许可证
GNU Affero General Public License v3.0
Star 数
386
Fork 数
101
未关闭 Issue
14

README 摘要

SEC EDGAR MCP 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. https://github.com/user-attachments/assets/d310eb42-b3ca-467d-92f7-7d132e6274fe See demo video [!NOTE] This project is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR and SEC are…

完整内容见 GitHub 原始 README 或本页 。

常见问题

sec-edgar-mcp 用什么语言开发?

主要使用 Python 编写,采用 GNU Affero General Public License v3.0 许可证,目前有 386 个 Star。

sec-edgar-mcp 可以免费商用吗?

仓库标注的许可证为 GNU Affero General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 sec-edgar-mcp 的源码?

可以直接克隆仓库:git clone https://github.com/stefanoamorelli/sec-edgar-mcp.git,默认分支为 main;安装与运行步骤见仓库 README。

sec-edgar-mcp 最近还在维护吗?

仓库最近一次更新为 5 天前,当前有 14 个未关闭 Issue;Star 数为 386,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A SEC EDGAR MCP (Model Context Protocol) Server

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Batchfile
Dockerfile
Python
Shell

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.

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

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 ([email protected])",
        "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: [email protected]

评论

暂无评论