edgar-mcp
edgar-mcp
一个 MCP 服务器,让 Claude 可以搜索 SEC 申报文件的全文。
向 Claude 提问 "今年有哪些公司在 10-K 中讨论了 agentic AI?" 它就会直接搜索 EDGAR——返回 235 份真实申报文件,并附上链接。
https://github.com/user-attachments/assets/afa2e1e5-ee79-42ad-a736-6f016b8f6c64
最棘手的问题
EDGAR 通过 CIK 进行筛选,CIK 是一个十位数字标识符,对人类毫无意义,但对 API 来说却至关重要。最直观的设计是:以 CIK 作为工具参数,让模型来提供它。但这种设计会以最糟糕的方式失败——语言模型会对任何它没记住的公司都信心十足地编造一个 CIK,而错误公司的申报文件看起来与正确公司的申报完全一样:格式正确、貌似合理,却彻头彻尾地错了,且没有任何线索来提醒出错。因此,这些工具接收股票代码或公司名称,并在代码中依据 SEC 自己的映射表来解析。当名称存在歧义时——"American" 匹配到 66 家公司——解析器会返回候选列表,而不是选一个最佳匹配,由 Claude 询问用户想要哪个。模型在上下文中处理容易判断的情形;对于难以判断的情形,代码会兜住。
Related MCP server: EdgarTools MCP
安装
npm install -g @alinarashid/edgar-mcp在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"edgar": {
"command": "npx",
"args": ["-y", "@alinarashid/edgar-mcp"],
"env": {
"SEC_USER_AGENT": "your-app your@email.com"
}
}
}
}SEC_USER_AGENT 为必填。SEC 会拒绝不标识请求方的请求,缺少该请求头时会返回 403,而不是一个空的查询结果。
重启 Claude Desktop。
工具
search_filings — 对自 2001 年以来的所有申报文件进行全文搜索。可按申报类型、日期范围、公司进行过滤。返回申报公司、申报类型、日期和文档链接。
list_company_filings — 一家公司的全部申报文件,最新的在前。接收股票代码或公司名称。要按申报类型过滤,否则你会看到大部分都是 Form 4 内幕交易。
示例
今年哪些公司在 10-K 申报文件中提到了 "agentic AI"?
显示 American Airlines 最近的季度报告。
查找 2026 年提到 "material weakness" 的 8-K 申报文件。
已知限制
搜索返回的是元数据,不是申报文件正文。 它只告诉你哪些申报文件匹配,而不是文件说了什么。请访问返回的 URL 阅读原文。
排名依据是关键词相关度,而不是公司规模。 一份多次出现某个词句的小文档,可能排在重量级大公司一遍又一遍提及吗?不,"它只会压过那一份"——排名只按相关度。
搜索只在上市公司上做。 私营公司不会向 SEC 申报任何文件。
按公司搜索会一并包含第三方的申报文件。 比如以该 CIK 代表外提交的股东提案。
说明
efts.sec.gov 上的全文搜索端点是未公开的——SEC 既未公开参数列表、响应模式,也没有任何会保持稳定的承诺。本包解析采用防御性设计,如果返回格式出现变化,可能需要更新。
请求按大约每秒 8 条的速率串行发送,低于 SEC 公布的 10 条每秒上限。
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables deep analysis of SEC EDGAR filings through universal company search, document content extraction, and advanced filing search capabilities. Provides AI-ready access to business descriptions, risk factors, financial statements, and full-text search across any public company's SEC documents.
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to download, parse, and analyze SEC EDGAR filings, including 10-K/Q reports, XBRL financial statements, and insider trading data. It provides structured access to institutional holdings, corporate events, and financial facts for comprehensive investment research.2MIT
- AlicenseAqualityBmaintenanceQuery SEC EDGAR for company filings, financial data, and executive disclosures. Search by company name or ticker, retrieve 10-K/10-Q/8-K filings, and extract structured financials — backed by the official SEC EDGAR API, built for AI agents.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to access SEC EDGAR data: search filings, extract sections, pull structured financials, and track insider transactions.19MIT
Related MCP Connectors
SEC EDGAR for AI agents: company filings, financials and insider trades. No API keys.
SEC EDGAR filings for AI agents: company lookup, filings, financials, insider trades. No keys.
Certified SEC EDGAR fact memory for AI agents with zero hallucination and filing provenance.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alinarashid/edgar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server