SS

stefanoamorelli/sec-edgar-mcp

效率工作流

本页由 AI 翻译,技术细节请以原文为准。 查看原文

382 stars 101 forks 质量 80 趋势 35AGPL-3.0

SEC EDGAR MCP(模型上下文协议)服务器

概览

MCP服务器用于访问SEC EDGAR文件。以精确的数值精度将AI助手与公司文件、财务报表和内幕交易数据连接起来。 https://github.com/user-attachments/assets/d310eb42-b3ca-467d-92f7-7d132e6274fe 该项目与美国证券交易委员会无关联或认可。EDGAR和SEC均为SEC商标。 -i 标志是 MCP 的 JSON-RPC 通信所必需的。 关于其他安装方法(PIP、Conda、UV),请参见文档。 所有回复均包含SEC提交的验证网址。 对于像Dify这样的平台,建议使用可流式HTTP代替stdio: 不包含认证功能。仅在私有网络上使用。

概述(AI 翻译)

MCP服务器用于访问SEC EDGAR文件。以精确的数值精度将AI助手与公司文件、财务报表和内幕交易数据连接起来。

基于安全埃德加工具箱构建。

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

请观看演示视频

[!注] 本项目与美国证券交易委员会无关联或认可。EDGAR和SEC均为SEC商标。

快速启动

-i 标志是 MCP 的 JSON-RPC 通信所必需的。

关于其他安装方法(PIP、UV),请参见文档。

工具

分类 工具
公司 CIK查询,公司信息,公司信息
文件10-K,10-Q,8-K取材,切片提取
财务报表 资产负债表、损益表、现金流(XBRL解析)
内幕交易表格3/4/5交易

所有回复均包含SEC提交的验证网址。

HTTP 传输

对于像Dify这样的平台,建议使用可流式HTTP代替stdio:

不包含认证功能。仅在私有网络上使用。

评价

基于 Promptfoo 的测试套件。详情请参见 evals/。

文献资料

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 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 sec-edgar-toolkit.

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

[!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, 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

在 GitHub 查看完整 README

安装

docker run -i --rm -e SEC_EDGAR_USER_AGENT=Your Name ([email protected]) stefanoamorelli/sec-edgar-mcp:latest
新手?先看 mcpskill.org 教程 →

配置

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