EDGAR Filings

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

SEC 10-K/10-Q symbols, segment revenue, BDC non-accrual, and Form 4 lines with citations.

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

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

概览

AI 生成的概览

本地 MCP 服务器,从 SEC EDGAR 文件中提取具体数字——交易代码、分部收入、BDC 非应计项目和 Form 4 交易明细——并附引用。

可以做什么
查询公司最新 10-K 或 10-Q 中申报的全部交易代码及旧版实体信息字段,可选择年报或季报。按产品、业务或地区维度获取 XBRL 收入拆分数据。计算 BDC 的非应计比率和公允价值,列出具体投资及所用提取方法,仅限 SEC 注册的 business development company。列出最新的 Form 4 摘要和交易明细,标明哪些为公开市场交易并统计交易代码。
适用场景
适合已在 IDE 对话中工作、需要某只股票基于申报文件的数字(分部构成、内部人 Form 4 交易或 BDC 信用质量)而非让模型猜测的场景。它只是四项文件查询的窄封装,不是文档阅读器或研究产品,且仅覆盖向 SEC 申报的发行人。
运行要求
通过 stdio 本地运行,用 uvx 从 PyPI 包 edgar-filings-mcp 启动(或从 git 克隆后用 Python 虚拟环境运行)。需要 uv 工具和访问 SEC EDGAR 的网络;首次启动会下载 edgartools 及其 pandas/pyarrow 依赖。必须按 SEC 公平访问规则将环境变量 EDGAR_IDENTITY 设为真实姓名和邮箱。
安装前请注意
EDGAR_IDENTITY 会作为 User-Agent 发送给 SEC,应填写真实姓名和邮箱而非占位符。工具只读取文件,但结果可能误导:非应计比率为零或缺少提取方法可能只是解析缺口而非资产干净,实体代码字段可能被双重股权或优先股代码覆盖,最新 10-K 可能是修订版。依赖数字前请对照所链接的 EDGAR 文件核实。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

EDGAR Filings MCP

[PyPI] [MCP]

Cursor / Claude tools that return SEC filing numbers, not web-search guesses.

Who this is for: people already in an IDE chat who need a ticker’s 10-K/10-Q symbols, segment revenue, BDC non-accrual, or Form 4 lines without writing edgartools glue.

Pain it solves: models invent segment mix, insider trades, and BDC credit quality. These tools return accession, concept, period, open_market, non-accrual method, and the EDGAR index URL so you can check the filing.

What it is not: a research product, a document reader, or a substitute for reading the 10-K. It wraps edgartools for four jobs only. China PE, humanoid robots, and unlisted credit CVs are out of scope — those filings are not on EDGAR.

Install

If uv is already on PATH, paste this into ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json). Use a real name and email (SEC FAQ). Same snippet is in examples/cursor.mcp.json and examples/claude.mcp.json.

json
{  "mcpServers": {    "edgar-filings": {      "command": "uvx",      "args": ["edgar-filings-mcp"],      "env": {        "EDGAR_IDENTITY": "Your Name [email protected]"      }    }  }}

PyPI package edgar-filings-mcp is live. Registry name is io.github.Dxfory/edgar-mcp. Skip Smithery hosted. Pin mcp>=1.9,<2 — MCP 2.x renamed FastMCP; the package already pins that range.

The first uvx launch downloads edgartools (pandas / pyarrow). If the client looks stuck, run uvx edgar-filings-mcp once in a terminal so uv can cache the wheels, then restart the MCP server. After that, initialize is a couple of seconds.

No uv yet:

macOS / Linux:

bash
curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (PowerShell):

powershell
irm https://astral.sh/uv/install.ps1 | iex

From git instead of PyPI:

bash
uvx --from git+https://github.com/Dxfory/edgar-mcp.git edgar-filings-mcp

Clone (no uv)

bash
git clone https://github.com/Dxfory/edgar-mcp.gitcd edgar-mcppython -m venv .venv

macOS / Linux:

bash
.venv/bin/python -m pip install -e .

Windows:

text
.\.venv\Scripts\python -m pip install -e .

Point the client at that interpreter with args ["-m", "edgar_mcp"].

If PyPI SSL fails (common with a local HTTPS proxy), use a mirror:

bash
python -m pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple

Tools

ToolReturns
get_trading_symbolsEvery dei:TradingSymbol on the latest 10-K or 10-Q, plus the legacy entity_info scalar
get_segment_revenueDimensioned XBRL revenue (product / business / geographic axes)
get_bdc_nonaccrualBDC non-accrual rate, fair value, named investments, and extraction method
get_form4Newest Form 4 summaries, transaction lines, open_market, and code_counts

form on get_trading_symbols, get_segment_revenue, and get_bdc_nonaccrual is 10-K (default) or 10-Q. get_bdc_nonaccrual only accepts SEC BDCs (814- filers) such as ARCC. There is no fifth tool.

Hot-theme footguns this server will / will not answer

ThemeAgent inventsToolStop
AI infrastructureNVIDIA / hyperscaler “AI mix”get_segment_revenue on NVDA (Data Center is tagged). AMZN/MSFT capex is not AI-onlyDo not add a fake AI-capex tool
Private credit / BDCNon-accrual, NAV as credit quality, PIK as currentget_bdc_nonaccrualNon-accrual ≠ Fitch default rate; PIK can still be accrual
GP-led continuation vehiclesDeal price and “premium to par”NonePrivate secondaries are not EDGAR
China PE / 具身智能Round sizes and factory hoursNoneSSE/HKEX, not EDGAR

Footguns the tools already warn about

  • entity_info.ticker is last-wins on repeated TradingSymbol facts. Dual-class and preferred tickers can replace the common symbol.
  • Segment mix is not in get_financials(). Some statement “DETAILED” views drop reportable-segment lines; this server queries dimensioned facts instead.
  • Form 4 A / M / F are grants, option exercises, and tax withholding — open_market is false.
  • BDC extraction_method=none or a zero rate plus extractor warnings is a parse gap, not proof the book is clean.
  • Latest 10-K can be a 10-K/A. The tools prefer the original form so Schedule-of-Investments footnotes are not dropped.

Run without Cursor

bash
python -m edgar_mcp

stdio only. Do not print to stdout.

bash
python tests/run_offline.pypython scripts/smoke_stdio.pypython scripts/pressure.py

smoke_stdio.py only checks initialize + four tool names (no EDGAR). After uvx is on PATH:

bash
python scripts/smoke_stdio.py -- uvx edgar-filings-mcp

pressure.py hits live EDGAR and needs EDGAR_IDENTITY.

License

MIT. Filing data is from the SEC EDGAR system; this project is not affiliated with the SEC.

来源:README.md,提交 f652e05

工具

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

版本历史

1
  1. v1.1.2最新Sep 21, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Edgar 集成