pypi sec-edgar-mcpstdioAGPL-3.0updated 18d ago
MCP server for accessing SEC EDGAR filings. Connects AI assistants to company filings, financial statements, and insider trading data with exact numeric precision.
sec edgar mcp 能做什么?
SEC EDGAR MCP
MCP server for accessing SEC EDGAR filings. Connects AI assistants to company filings, financial statements, and insider trading data with exact numeric precision.
Built on sec-edgar-toolkit.
https://github.com/user-attachments/assets/d310eb42-b3ca-467d-92f7-7d132e6274fe
[!NOTE] This project is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. EDGAR and SEC are trademarks of the SEC.
Quick Start
{
"mcpServers": {
"sec-edgar-mcp": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "SEC_EDGAR_USER_AGENT=Your Name (your@email.com)",
"stefanoamorelli/sec-edgar-mcp:latest"
]
}
}
}
The -i flag is required for MCP's JSON-RPC communication.
For other installation methods (pip, uv), see the documentation.
Tools
| Category | Tools |
|---|---|
| Company | CIK lookup, company info, company facts |
| Filings | 10-K, 10-Q, 8-K retrieval, section extraction |
| Financials | Balance sheet, income statement, cash flow (XBRL-parsed) |
| Insider Trading | Form 3/4/5 transactions |
All responses include SEC filing URLs for verification.
HTTP Transport
For platforms like Dify, use streamable HTTP instead of stdio:
python -m sec_edgar_mcp.server --transport streamable-http --port 9870
No authentication is included. Use only on private networks.
Evaluations
Promptfoo-based test suite. See evals/ for details.
cd evals && npm install && npm run eval
Documentation
Full docs: sec-edgar-mcp.amorelli.tech
Contributors
Citation
If you use this software in research, please cite it:
@software{amorelli_sec_edgar_mcp_2025,
title = {{SEC EDGAR MCP (Model Context Protocol) Server}},
author = {Amorelli, Stefano},
version = {1.0.6},
year = {2025},
month = {9},
url = {https://doi.org/10.5281/zenodo.17123166},
doi = {10.5281/zenodo.17123166}
}
See CITATION.cff for additional formats.
License
AGPL-3.0. For commercial licensing: stefano@amorelli.tech
安装
把 sec edgar mcp 添加到你的客户端。选择你正在使用的那个。
claude mcp add sec-edgar-mcp -- uvx sec-edgar-mcpcodex mcp add sec-edgar-mcp -- uvx sec-edgar-mcpamp mcp add sec-edgar-mcp -- uvx sec-edgar-mcp{
"mcpServers": {
"sec-edgar-mcp": {
"command": "uvx",
"args": [
"sec-edgar-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"sec-edgar-mcp": {
"command": "uvx",
"args": [
"sec-edgar-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"sec-edgar-mcp","command":"uvx","args":["sec-edgar-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"sec-edgar-mcp": {
"command": "uvx",
"args": [
"sec-edgar-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"sec-edgar-mcp": {
"command": "uvx",
"args": [
"sec-edgar-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"sec-edgar-mcp": {
"command": "uvx",
"args": [
"sec-edgar-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"sec-edgar-mcp": {
"type": "local",
"command": "uvx",
"args": [
"sec-edgar-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"sec-edgar-mcp": {
"command": {
"path": "uvx",
"args": [
"sec-edgar-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx sec-edgar-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档22/25
- 维护19/25
- 可信度13/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 11 days ago
- Has a release history
- Repository is not archived
- Licensed AGPL-3.0
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.5最新 | 2025年9月9日 |