Sec Edgar Mcp

io.github.stefanoamorelli由 GitHub 账号 stefanoamorelli 发布v1.0.5更新于 Oct 24, 2026

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

发布方自己的服务:edgar.tools SEC Intelligence

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

本地 MCP 服务器,让助手访问美国 SEC EDGAR 公开申报文件、公司信息、XBRL 财务报表和内幕交易表格。

可以做什么
按 CIK 查询公司,并获取公司信息与公司事实数据(D1、R14)。检索 10-K、10-Q、8-K 申报文件并提取章节(R15)。读取由 XBRL 解析的资产负债表、利润表和现金流量表数据(R16)。列出 Form 3、4、5 内幕交易记录(R17)。返回结果包含 SEC 申报文件链接以便核对(R18)。
适用场景
适合助手需要研究美国上市公司、阅读年报或季报、获取标准化财务数据,或核查内幕交易记录,并希望附上来源链接以便核对的场景。
运行要求
以本地进程(stdio)运行,可通过 PyPI 包 sec-edgar-mcp、Docker、pip 或 uv 安装;README 指出 Docker 方式需要 -i 参数。需要环境变量 SEC_EDGAR_USER_AGENT(V1.1),并需要访问 SEC EDGAR API 的网络连接。另提供可选的 streamable HTTP 模式,供 Dify 等平台使用。
安装前请注意
SEC_EDGAR_USER_AGENT 的值会发送给 SEC,应按 SEC 要求标明身份。HTTP 传输不带身份验证,README 建议仅在私有网络中使用(R21、R22)。该项目与 SEC 无关联,也未获其认可(R7、R8)。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Sec Edgar Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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 [图片]

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

[图片]

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]

来源:README.md,提交 7442398

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.5最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Edgar 集成