SEC EDGAR MCP Server
An MCP server that connects AI models to SEC EDGAR documents for access to official corporate financial data, reports, and insider trading information with precise document attribution.
Get this MCP server
An MCP server that connects AI models to SEC EDGAR documents for access to official corporate financial data, reports, and insider trading information with precise document attribution.
Installation
Docker
docker run -i --rm -e "SEC_EDGAR_USER_AGENT=Your Name (name@domain.com)" stefanoamorelli/sec-edgar-mcp:latest
Configuration
Docker Configuration
{
"mcpServers": {
"sec-edgar-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SEC_EDGAR_USER_AGENT=Your Name (name@domain.com)",
"stefanoamorelli/sec-edgar-mcp:latest"
],
"env": {}
}
}
}
Features
- Company Tools: CIK lookup, company information, and company facts
- Document Tools: latest filings, document content, 8-K analysis, and section extraction
- Financial Tools: financial statements with direct XBRL parsing for precise attribution
- Insider Trading Tools: Form 3/4/5 analysis with detailed transaction data
- Deterministic answers to prevent AI hallucinations
- Precise numerical attribution according to data submitted to the SEC
- Document links with clickable SEC URLs for verification
- Flexible XBRL extraction using pattern-based search
Environment Variables
Required
SEC_EDGAR_USER_AGENT- Required user agent string for SEC EDGAR API access (format: Your Name (email@domain.com))
Usage Examples
What's the latest 10-K filing for Apple?
Show me Tesla's exact revenue from their latest 10-K
Notes
Supports streaming HTTP transport for platforms like Dify via the --transport streamable-http argument. Default host is 0.0.0.0, port 9870. No authentication is configured—use only in private networks. Full documentation is available at https://sec-edgar-mcp.amorelli.tech/