SEC EDGAR

io.github.danishashko由 GitHub 帳號 danishashko 發布v1.0.2更新於 Oct 24, 2026

SEC EDGAR filings (10-K, 10-Q, 8-K), XBRL financials, and full-text filing search. No API key.

發布方自己的服務:edgar.tools SEC Intelligence

已驗證STDIO僅桌面網頁搜尋與抓取金融

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理依股票代號、CIK 或公司名稱查詢美國 SEC EDGAR 公司申報文件、XBRL 財務資料與申報全文檢索。

可以做什麼
依公司名稱或股票代號查找公司並解析其 CIK,所有工具都支援結果數量上限以及 markdown 或 JSON 輸出格式。列出任意表格類型的近期申報文件(含日期與文件連結),或一次呼叫取得某類型的最新申報。讀取 XBRL 主要財務資料,如營收、淨利、資產、權益、現金與每股盈餘,或取得單一 GAAP 科目歷年的申報數值。對約近十年的申報文件做關鍵字或片語全文檢索,可依表格類型篩選。
適用情境
適合以自然語言詢問美國上市公司情況:最新年報或季報、近期重大事項申報、主要財務資料、某項指標多年趨勢,或哪些公司在申報中提及某個主題。面向個人、教學與研究用途,而非生產級財務分析。
執行需求
透過 stdio 在本機執行,通常以 npx 從 npm 套件 edgar-mcp 啟動;需要 Node.js 16+ 與 Python 3.10+,首次啟動會建立 Python 環境並安裝相依套件。環境變數 SEC_USER_AGENT 應填寫含聯絡方式的描述性 User-Agent。需要能存取公開的 SEC EDGAR API;不需 API 金鑰或帳號。
安裝前請注意
SEC_USER_AGENT 要求填寫你自己的姓名或電子郵件,並會隨每次請求傳送給 SEC;雖有預設值,但應設定自己的資訊以符合 SEC 政策。請求由你的機器直接送往 SEC,不儲存也不經代理。EDGAR 限制約每秒 10 次請求,伺服器會在限流時重試。資料依原樣提供,依賴前應核對原始申報文件;本專案與 SEC 無關聯,也未獲其背書。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SEC EDGAR,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

SEC EDGAR MCP Server 🏛️

[npm version] [npm downloads] [Python] [License: MIT]

U.S. SEC filings and financial data for Claude Desktop and any MCP-compatible client, powered by SEC EDGAR. Search companies, pull filings (10-K, 10-Q, 8-K, Form 4, ...), read XBRL financials, and full-text search across all filings — all from natural language. No API key required.

npm package: edgar-mcp  ·  GitHub repo: danishashko/edgar-mcp.

🎯 What You Get

  • 🔎 Company lookup by name or ticker → CIK
  • 🗂️ Recent filings (any form type) with direct document links
  • 📄 Latest filing of a type (newest 10-K / 10-Q / 8-K) in one call
  • 💰 Financial highlights (revenue, net income, assets, equity, EPS) from XBRL
  • 📈 Concept history — any GAAP line item over time
  • 🔬 Full-text search across the last ~10 years of filings

Every tool returns human-readable markdown by default, or structured JSON on request (response_format: "json"). Lightweight (Python standard library + mcp only), no API key, retries on rate limits.

🚀 Quick Start

Add this to your Claude Desktop config and restart Claude:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{  "mcpServers": {    "edgar": {      "command": "npx",      "args": ["-y", "edgar-mcp"],      "env": {        "SEC_USER_AGENT": "your-app-name [email protected]"      }    }  }}

The SEC asks every API client to send a descriptive User-Agent with contact info. Set SEC_USER_AGENT to your own name/email (a default is provided so it works out of the box). On first launch the npx wrapper creates an isolated Python environment and installs the dependency (one-time, ~a minute). You need Python 3.10+ and Node.js 16+.

Prefer a global install?

bash
npm install -g edgar-mcp
json
{  "mcpServers": {    "edgar": {      "command": "edgar-mcp",      "env": { "SEC_USER_AGENT": "your-app-name [email protected]" }    }  }}

🔧 Available Tools

ToolWhat it returnsParameters
search_companyCompanies matching a name/ticker, with their CIKquery, limit
get_recent_filingsRecent filings (form, dates, link), optional form filteridentifier, form_type, limit
get_latest_filingThe newest filing of a given type, with a document linkidentifier, form_type
get_company_factsHeadline financials (revenue, net income, assets, equity, cash, EPS)identifier
get_conceptOne XBRL concept's reported history over timeidentifier, concept, limit
full_text_searchFilings matching a keyword/phrase across all companiesquery, forms, limit

Every tool also accepts response_format ("markdown", the default, or "json"). identifier accepts a ticker, CIK, or company name.

Common XBRL concepts for get_concept: Revenues / RevenueFromContractWithCustomerExcludingAssessedTax, NetIncomeLoss, Assets, Liabilities, StockholdersEquity, EarningsPerShareDiluted.

💬 Example Prompts

Once the server is connected, just ask Claude:

  • "What's Apple's latest 10-K?"
  • "Show me Tesla's recent 8-K filings."
  • "What are Microsoft's headline financials?"
  • "Show me NVIDIA's net income over the last few years."
  • "Which companies mention 'quantum computing' in their 10-Ks?"
  • "Find the CIK for Berkshire Hathaway."

🐛 Troubleshooting

"SEC EDGAR is rate-limiting requests" EDGAR allows ~10 requests/second. The server retries automatically; wait a moment if it persists.

"Not found" Use search_company to confirm the exact ticker/CIK first.

"Command not found" / "Python not found" Ensure Python 3.10+ and Node.js 16+ are installed and on your PATH. On macOS/Linux, try python3.

Tools not showing up in Claude

  1. Confirm the config file is valid JSON (no trailing commas).
  2. Fully quit and reopen Claude Desktop.

Using a different model or provider (LiteLLM, OpenRouter, NVIDIA NIM, a local model) This server never talks to a model. Your client starts it as a local process and speaks JSON-RPC over stdin/stdout, so changing ANTHROPIC_BASE_URL or swapping the model behind your client has no effect on it. If tools stop firing after a switch like that, check two things: the model has to support function calling, and a proxy configured to drop unsupported parameters can silently strip your tool definitions, which produces no error at all. Run /mcp in your client (or claude mcp list) to confirm the server is connected before suspecting the server.

🛠️ Manual Installation (Alternative)

If you would rather run the Python file directly instead of via npx:

1. Download the server and install the dependency

bash
pip install mcp

(or pip3 on macOS/Linux)

2. Point Claude Desktop at it

json
{  "mcpServers": {    "edgar": {      "command": "python3",      "args": ["/absolute/path/to/edgar_mcp.py"],      "env": { "SEC_USER_AGENT": "your-app-name [email protected]" }    }  }}

On Windows use "command": "python" and a path like "C:\\path\\to\\edgar_mcp.py".

3. Restart Claude Desktop.

🔒 Privacy & Rate Limits

  • Uses the official SEC EDGAR APIs — public, no key.
  • Requests go straight from your machine to the SEC. Nothing is stored or proxied.
  • The SEC requires a descriptive User-Agent with contact info and limits ~10 requests/second.
  • Intended for personal, educational, and research use.

📝 Notes

  • identifier is flexible: ticker (AAPL), CIK (320193), or name (Apple).
  • Financial data comes from XBRL, first required by the SEC in 2009, so history goes back that far for most filers.
  • get_company_facts returns highlights; use get_concept for the full series of any one metric.

📋 Changelog

See CHANGELOG.md for the full version history.

📚 Resources

⚖️ Legal Disclaimer

This tool uses the public SEC EDGAR APIs but is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. Use is subject to the SEC's website policies. Data is provided as-is for personal, educational, and research purposes; verify against the original filings before relying on it.

👤 Author

Daniel Shashko

📄 License

MIT © Daniel Shashko

來源:README.md,提交 6732796

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Edgar 整合