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 整合