The SEC Edgar MCP server provides AI assistants with access to U.S. Securities and Exchange Commission EDGAR filings through tools for company lookup, financial statement retrieval, and insider trading data. It offers capabilities organized into four categories: company information and CIK lookup, filing retrieval (10-K, 10-Q, 8-K), XBRL-parsed financial statements (balance sheets, income statements, cash flow), and Form 3/4/5 insider trading transactions, with all responses including SEC filing URLs for verification. The server solves the problem of integrating accurate, sourced financial and regulatory data into AI workflows by providing precise numeric data directly from official SEC sources.
Public tool metadata for what this MCP can expose to an agent.
search_companySearch SEC EDGAR for a company by name or ticker. Returns CIK number, official name, ticker, exchange, and SIC code.1 paramsSearch SEC EDGAR for a company by name or ticker. Returns CIK number, official name, ticker, exchange, and SIC code.
querystringget_financialsGet structured financial data from the latest 10-K/10-Q filing. Includes revenue, net income, total assets, EPS, and more from XBRL data.1 paramsGet structured financial data from the latest 10-K/10-Q filing. Includes revenue, net income, total assets, EPS, and more from XBRL data.
cikstringget_filingsGet recent SEC filings for a company. Includes 10-K, 10-Q, 8-K, and other form types with filing dates and document links.3 paramsGet recent SEC filings for a company. Includes 10-K, 10-Q, 8-K, and other form types with filing dates and document links.
cikstringlimitnumberform_typestringget_insider_tradesGet insider trading activity (Form 4 filings) for a company. Shows who bought/sold, dates, amounts, and prices.2 paramsGet insider trading activity (Form 4 filings) for a company. Shows who bought/sold, dates, amounts, and prices.
cikstringlimitnumbersearch_filingsFull-text search across all SEC EDGAR filings. Search for specific terms, risk factors, revenue mentions, etc.5 paramsFull-text search across all SEC EDGAR filings. Search for specific terms, risk factors, revenue mentions, etc.
limitnumberquerystringdate_tostringdate_fromstringform_typestringget_financial_historyGet the historical time series for a specific financial concept (e.g., Revenue, NetIncomeLoss) for a company. Shows all reported values across all filings.3 paramsGet the historical time series for a specific financial concept (e.g., Revenue, NetIncomeLoss) for a company. Shows all reported values across all filings.
cikstringunitstringconceptstringMCP server for accessing SEC EDGAR filings. Connects AI assistants to company filings, financial statements, and insider trading data with exact numeric precision.
Built on edgartools.
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.
{
"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, conda, uv), see the documentation.
| 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.
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.
Promptfoo-based test suite. See evals/ for details.
cd evals && npm install && npm run eval
Full docs: sec-edgar-mcp.amorelli.tech
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.
AGPL-3.0. For commercial licensing: stefano@amorelli.tech
SEC_EDGAR_USER_AGENT*The user agent to access the SEC EDGAR API