EDGAR (SEC filings)

io.github.mcpwright由 GitHub 账号 mcpwright 发布v0.1.3更新于 Oct 24, 2026

SEC filings in your agent: issuers, Reg CF/D/A raises, XBRL financials, insider trades.

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

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

概览

AI 生成的概览

只读访问 SEC EDGAR 文件,让助手解析发行人、检索文件,并获取财务数据和内部人交易。

可以做什么
通过公开的 SEC EDGAR 接口提供十一个只读工具。它能把股票代码或公司名称解析为 CIK 和法定名称,列出并全文检索文件,并打开单个文件及其全部文档。它还能解析 Form D 和 Form C 融资、提取 XBRL 主要财务数据,并报告内部人及 Form 4 交易。
适用场景
当助手需要 SEC 文件数据时使用:公司研究、查看近期 Reg CF、Reg D 或 Reg A 发行、阅读特定文件,或了解内部人交易。适合希望在代理内直接查询文件、而不手动浏览 EDGAR 的分析师和开发者。
运行要求
以 PyPI 包 mcpwright-edgar 通过 stdio 在本地运行,需要 Python 3.12+ 以及 uvx 等启动器。无需 API 密钥或账户。需要访问 SEC EDGAR 服务的网络连接。可选环境变量 EDGAR_MCP_USER_AGENT 用于设置发送给 SEC 的 User-Agent。
安装前请注意
所有工具均为只读,不要求任何凭据,但 EDGAR_MCP_USER_AGENT 中设置的值会随每次请求发送给 SEC,因此不要在其中填写敏感信息。请求仅发往公开的 SEC 接口;响应仅缓存在内存中,不会写入磁盘。SEC 限速约为每秒 10 次请求,客户端会自动限流并重试。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

edgar-mcp

SEC EDGAR filings, inside your agent. An MCP server that lets an LLM resolve companies, search filings, and pull recent securities offerings straight from the SEC — built on Anthropic's official mcp Python SDK.

All tools are read-only and hit public SEC endpoints (no API key required).

Status: 11 tools, working today (see below). Published on PyPI as mcpwright-edgar and in the official MCP Registry. See the roadmap for what's next.

Tools

ToolWhat it does
lookup_issuer(query, limit=10)Resolve a ticker or company name → CIK, legal name, tickers, exchange. Works for exchange-listed and private / non-exchange filers (Reg CF / Reg A issuers, funds).
list_filings(cik_or_query, form_type=None, limit=20)An issuer's most recent filings, newest first. Optional form-type filter (e.g. 10-K, C, D).
search_filings(query, forms=None, date_from=None, date_to=None, limit=20)Full-text search across filing documents.
get_recent_offerings(form="C", since=None, state=None, limit=20)Recent securities offerings, newest first — form="C" (Reg CF), "D" (Reg D), or "A" (Reg A — 1-A offering statements plus 253G2 offering circulars, where the per-share price and any "price walk-up" live), optionally filtered by issuer state (e.g. "CA").
get_filing(accession_or_url, cik=None)Open one filing: form, filing date, primary-document link, and every document in the filing.
get_form_d_details(accession_or_url, cik=None)Parse a Form D (Reg D) raise: offering amount, sold/remaining, min investment, # investors, industry, revenue range, security types, exemptions, and the officers/directors/promoters.
get_form_c_details(accession_or_url, cik=None)Parse a Form C (Reg CF) raise: target/max amount, price, security type, deadline, intermediary, employees, and a two-year financial snapshot (revenue, net income, assets, debt).
get_company_facts(cik_or_query)Headline financials from a public company's XBRL facts: latest annual revenue, gross/operating income, net income, assets, liabilities, equity, cash.
get_filing_text(url, offset=0, max_chars=20000)Fetch a document's text (HTML stripped) for reading/summarizing — paginated, since filings can exceed 1M characters.
get_insiders(cik_or_query, limit=25)A company's insiders (officers, directors, >10% owners) from recent Section 16 filings, with roles.
get_insider_trades(cik_or_query, limit=20)Recent insider transactions (Form 4): owner, role, buy/sell/grant, shares, price, shares owned after.

Install

Requires Python 3.12+. The zero-clone way to run it (the PyPI package is mcpwright-edgar; the command, server, and tools are all "edgar"):

bash
uvx mcpwright-edgar

Claude Code

bash
claude mcp add edgar -- uvx mcpwright-edgar

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "edgar": { "command": "uvx", "args": ["mcpwright-edgar"] }  }}

OpenAI Agents SDK (Python)

It's a standard MCP server, so it works with any MCP-capable client — not just Claude. With the OpenAI Agents SDK:

python
from agents import Agent, Runnerfrom agents.mcp import MCPServerStdio
async def main():    async with MCPServerStdio(        name="edgar",        params={            "command": "uvx",            "args": ["mcpwright-edgar"],            "env": {"EDGAR_MCP_USER_AGENT": "your-app [email protected]"},        },    ) as edgar:        agent = Agent(            name="Analyst",            instructions="Use the EDGAR tools for SEC filings and company data.",            mcp_servers=[edgar],        )        result = await Runner.run(            agent, "Recent Reg D raises in California — who's behind the biggest?"        )        print(result.final_output)

Any other MCP client (Cursor, VS Code, Cline, Goose, Zed, …)

They all launch a stdio MCP server the same way — point yours at:

json
{  "mcpServers": {    "edgar": {      "command": "uvx",      "args": ["mcpwright-edgar"],      "env": { "EDGAR_MCP_USER_AGENT": "your-app [email protected]" }    }  }}

Hosted chat connectors (e.g. ChatGPT connectors) expect a remote MCP server over Streamable HTTP; mcpwright-edgar runs locally over stdio. Running it behind Streamable HTTP for a hosted endpoint is straightforward if you need that.

SEC etiquette: the SEC requires a descriptive User-Agent with contact info and rate-limits to ~10 req/s. Set your own via the EDGAR_MCP_USER_AGENT env var (e.g. "your-app [email protected]"). The client throttles and retries for you.

Caching: responses are cached in-memory (byte-budgeted LRU) to cut latency and SEC load — immutable filing-archive content for days, the ticker map for 24h, everything else briefly. Set EDGAR_MCP_CACHE=0 to disable.

Develop

bash
git clone https://github.com/mcpwright/edgar-mcp && cd edgar-mcpuv syncuv run pytest                       # tests (mocked SEC responses)uv run ruff check . && uv run ruff format --check .   # lint + formatuv run mypy src tests               # strict type checkinguv run mcp dev src/edgar_mcp/server.py   # poke the tools in the MCP Inspector

Roadmap

  • get_recent_offerings(form=C|D) — recent Reg CF / Reg D raises
  • get_filing(accession_or_url) — open a filing and list its documents
  • get_form_d_details(...) — parse Reg D offering data (amount, investors, people)
  • get_form_c_details(...) — parse Reg CF offering data (target/max, financials, terms)
  • get_insiders / get_insider_trades — Section 16 (Form 3/4/5) insiders & trades
  • State filter on get_recent_offerings (industry isn't filterable — EDGAR omits SIC on these listings; screen via get_form_d_details.industry_group)
  • Reg A support in get_recent_offerings (Form 1-A statements + 253G2 offering circulars)
  • get_company_facts(cik) — XBRL headline financials
  • get_filing_text — return a document's text for summarization
  • Published to PyPI (mcpwright-edgar) + the official MCP Registry (io.github.mcpwright/edgar-mcp)
  • get_form_a_details — parse Reg A (Form 1-A) offering data
  • Older-filing metadata (beyond the recent-submissions window)

Privacy

edgar-mcp runs entirely on your machine and collects, stores, or transmits no personal data — no accounts, no tracking, no telemetry. Its only outbound requests go to the U.S. SEC's EDGAR services (data.sec.gov, efts.sec.gov, www.sec.gov) to fetch the public filings you ask for; no API key is needed. One honest note: the SEC's fair-access policy asks for a descriptive User-Agent with contact info (EDGAR_MCP_USER_AGENT="your-app [email protected]") — whatever you set there is sent to the SEC with each request, and nowhere else. Responses are cached in memory only; nothing is persisted to disk.

Full policy: https://mcpwright.com/privacy/

Questions & feedback

  • Questions, ideas, or "could it do X?" → Discussions
  • Bugs & concrete feature requests → Issues

Contributions welcome — and if you build something with it, I'd love to hear about it.


Part of mcpwright · built by Devender Gollapally

来源:README.md,提交 d183909

工具

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

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Edgar 集成