Sec Edgar MCP server
io.github.stefanoamorelli/sec-edgar-mcp·v1.0.5·362 starsSEC EDGAR MCP server that provides access to the US public filings through the US SEC EDGAR API
362 stars
Reviews
Write oneNobody has reviewed Sec Edgar yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Sec Edgar tools (21)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_8kAnalyze an 8-K filing for specific events and items.
analyze_form4_transactionsAnalyze Form 4 filings and extract detailed transaction data including insider names, transaction amounts, share counts, prices, and ownership details.
analyze_insider_sentimentAnalyze insider trading sentiment and trends over time.
compare_periodsCompare a financial metric across different time periods.
discover_company_metricsDiscover available financial metrics for a company.
discover_xbrl_conceptsDiscover all available XBRL concepts in a filing, including company-specific ones.
get_cik_by_tickerGet the CIK (Central Index Key) for a company based on its ticker symbol.
get_company_factsGet company facts and key financial metrics.
get_company_infoGet detailed information about a company from SEC records.
get_filing_contentGet the content of a specific SEC filing.
get_filing_sectionsGet specific sections from a filing (e.g., business description, risk factors, MD&A).
get_financialsGet financial statements for a company. USE THIS TOOL when users ask for: - Cash flow, cash flow statement, operating cash flow, investing cash flow, financing cash flow - Income statement, revenue, net income, earnings, profit/loss, operating income - Balance sheet, assets, liabilities, equity, cash and cash equivalents - Any financial statement data or financial metrics
get_form4_detailsGet detailed information from a specific Form 4 filing.
get_insider_summaryGet a summary of insider trading activity for a company from SEC filings.
get_insider_transactionsGet insider trading transactions for a company from SEC filings.
get_key_metricsGet key financial metrics for a company.
get_recent_filingsGet recent SEC filings for a company or across all companies.
get_recommended_toolsGet recommended tools for analyzing specific form types.
get_segment_dataGet revenue breakdown by segments (geographic, product, etc.).
get_xbrl_conceptsADVANCED TOOL: Extract specific XBRL concepts from a filing.
search_companiesSearch for companies by name.
Public scan report
scanner v0.1.10 · 2026-10-02 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Sec Edgar compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Tools
- 21
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 362
- more than 95% of 28,688 servers
What its tools let an agent do: 21 read
Install Sec Edgar in Claude Code, Cursor or VS Code
claude mcp add sec-edgar-mcp -- uvx sec-edgar-mcp
What the publisher says
From the Sec Edgar repository's README, as published. We do not edit it. Read it on GitHub
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
See demo video
[!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
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 9870No authentication is included. Use only on private networks.
Evaluations
Promptfoo-based test suite. See evals/ for details.
cd evals && npm install && npm run evalDocumentation
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
Nothing above is checked by us. What we check is on the safety report.
Sec Edgar: common questions
- Is Sec Edgar MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Sec Edgar safety report
- How do I install Sec Edgar?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Sec Edgar need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Sec Edgar maintained?
- The last commit was 34 days ago (2026-10-01). The latest release is v1.0.5.
- What can I use instead of Sec Edgar?
- Servers from other publishers that do the same job: EdgarTools MCP server.
- How does Sec Edgar compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); tools 21 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Sec Edgar
Same job from other publishers: the closest match first, then the best rated.
- EdgarToolsOpen-source SEC EDGAR toolkit — 13 tools, 7 prompts, every filing type. No API key required.not reviewedWidely usedA