
EdgarTools
io.github.dgunning由 GitHub 帳號 dgunning 發布v5.62.1更新於 Oct 24, 2026
Open-source SEC EDGAR toolkit — 13 tools, 7 prompts, every filing type. No API key required.
發布方自己的服務:edgar.tools SEC Intelligence
概覽
本機 MCP 伺服器,把 SEC EDGAR 申報文件轉為結構化資料:全文檢索、財務報表、內部人交易、13F 與基金持股。
- 可以做什麼
- 檢索申報文件內文,並依表單類型、項目或日期區間篩選,也可用 accession 編號、CIK 或股票代號找到文件
- 取得跨年度、季度及滾動十二個月的標準損益表、資產負債表和現金流量表
- 讀取 10-K、10-Q 的章節文字,或把整份文件轉成 markdown 供檢索流程使用
- 擷取 13F 機構持股、Form 4 內部人交易、N-PORT 基金投資組合和 8-K 項目,輸出為結構化物件與表格
- 適用情境
- 適合需要回答上市公司向 SEC 申報了什麼、跨公司比較已揭露財務數據,或追蹤內部人交易與機構持股的情境,不必自行撰寫解析程式。
- 執行需求
- 透過 uvx 從含 ai 擴充的 edgartools 套件在本機執行(或 pip 安裝後執行 python -m edgar.ai);需要 Python 3.11+ 以及 uv 或 pip。必須設定環境變數 EDGAR_IDENTITY,內容為姓名與聯絡信箱,用於向 SEC 表明身分。需要連線至 SEC EDGAR;不需 API 金鑰或註冊。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 EdgarTools,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
EdgarTools — Python Library for SEC EDGAR Filings
[PyPI - Version] [Python versions] [Build status] [Monthly downloads]
EdgarTools is a Python library for SEC EDGAR filings as structured data: financial statements, insider trades, fund holdings, proxy statements and dozens of other filing types, through one consistent Python API. SEC publishes every filing since 1994 for free, and almost none of it is ready to use; EdgarTools turns a filing into a typed Python object. Free and open source, MIT-licensed.
Docs · Cheat sheet · Agents: Skill · MCP server · Hosted: edgar.tools
[EdgarTools SEC filing data extraction demo]
Quick Start
1. Install. The package is edgartools; the module you import is edgar. Python 3.11+.
2. Identify yourself to the SEC. EDGAR requires a contact email on every request. There is no key, signup or rate-limit tier.
3. Get data.
Why not just call SEC's APIs?
data.sec.gov gives you JSON facts and filing indexes. Everything past that is your code. EdgarTools does that part:
- Section text and markdown. Item 1A, Item 7 or any Item of a 10-K or 10-Q as text, and whole filings as markdown for RAG. Raw HTML is where hand-rolled parsers break.
- Parsed forms, not XML. 13F holdings, Form 4 transactions, N-PORT portfolios and 8-K items as typed objects and DataFrames.
- Statements that line up. Rows standardized across filers, so "Total Revenue" means the same thing for a bank and a chipmaker, plus discrete quarters (Q4 derived from the 10-K) and trailing twelve months.
- Search and plumbing. Full-text search over filing content, the live filing feed, rate limiting, caching and offline storage.
It runs in your own process, MIT-licensed, with no API key and no vendor quota; SEC's fair-access limit of 10 requests a second still applies, and EdgarTools keeps to it.
What you can do
Full-text search across SEC filings
Search the text of every filing since 2001, not just form types and dates.
Financial statements over several years
One metric across companies
Pick rows by their standardized label, never by position: the first row of an income statement is not always total revenue.
Quarterly figures and trailing twelve months
Sections and markdown for RAG
Find filings, by anything
[find() resolving a ticker, a CIK and an accession number]
[get_current_filings() showing the live SEC filing feed]
13F institutional holdings
Institutional Holdings guide →
[Berkshire Hathaway's latest 13F holdings]
Insider trades from Form 4
[Tesla's latest Form 4 parsed into a structured object]
Fund holdings from N-PORT
8-K events and earnings releases
Library or hosted?
EdgarTools is this library: free, MIT-licensed, running in your own Python process. edgar.tools is the hosted platform built on it: the same parsing, kept running and current, with every answer cited to its filing. You are not paying for the parsing; you are paying for it to be run and answerable. No feature is ever removed from the library to sell the platform.
Both have an MCP server: the library's runs locally (see AI Integration below), and edgar.tools' is hosted at app.edgar.tools/mcp. Attach one per client, not both: they overlap and split your assistant's routing.
AI integration
EdgarTools ships an agent skill and a local MCP server, both in the ai extra. For an assistant that cannot run Python, use the hosted connector from the section above instead.
The MCP server works with any MCP client. For Claude Desktop, add it to claude_desktop_config.json:
uvx needs uv; without it, pip install "edgartools[ai]" and run python -m edgar.ai. Setup for other clients: MCP server guide · Skill guide.
Support the project
The SEC changes filing formats and ships a new XBRL taxonomy every year. Sponsorship is what keeps the parsers current and pays for new ones as new disclosures appear.
- GitHub Sponsors: monthly or one-time. Companies can sponsor on their existing GitHub bill.
- Buy Me a Coffee: a one-time thank-you.
- Consulting: help from the library's author with SEC data pipelines and financial AI built on it.
[Sponsor on GitHub] [Buy Me A Coffee]
Docs, help and contributing
- Documentation · Cheat sheet · Notebooks · Blog
- Questions go to Discussions; bugs and feature requests to Issues.
- Contributions are welcome, including AI-assisted ones. Read the contributing guide and point your assistant at AGENTS.md.
EdgarTools is distributed under the MIT License.
來源:README.md,提交 018156a
工具
0版本歷史
5- v5.62.1最新Oct 23, 2026
- v5.62.0Oct 11, 2026
- v5.61.1Oct 7, 2026
- v5.61.0Oct 6, 2026
- v5.21.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Edgar 整合
edgar.tools SEC Intelligence
tools.edgar官方發布者
遠端 MCP 伺服器,為助理提供 23 個工具與 5 個配方,用來查詢 SEC 申報文件、財務資料、內部人交易、13F 持股與基金。

SEC EDGAR Filings
由 GitHub 帳號 SudiptoHaldar 發布
依股票代號查詢 SEC EDGAR 申報中繼資料的唯讀伺服器:最新申報、按曆年的申報紀錄與表格類型代碼,附官方 sec.gov 連結。

SEC EDGAR — Recent Company Filing Index by CIK
由 GitHub 帳號 kriton-dev 發布
SEC EDGAR — Recent Company Filing Index by CIK 的託管 MCP 服務;需要憑證;Streamable HTTP。

Sec Edgar Mcp
由 GitHub 帳號 mrfentmen 發布
本機 MCP 伺服器,讓助理查詢 SEC EDGAR 申報文件與 XBRL 財務概念,包括依 CIK 查公司資料和全文檢索。

SEC EDGAR Insider Trades & Financials
由 GitHub 帳號 monriah-studio 發布
面向美國 SEC EDGAR 資料的遠端 MCP 伺服器,讓助理查詢內部人交易、公司申報文件、XBRL 財務資料與申報全文檢索。