Prerequisites
System Requirements
- Python 3.11 or higher
- Docker (optional, but recommended)
- MCP-compatible client (Claude Desktop, etc.)
SEC Requirements
- Valid User-Agent header for SEC API access
- Email address for identification
Installation Options
- Docker (Recommended)
- Python/pip
- uvx
The fastest way to get started is using Docker:
1
Pull the Docker image
2
Configure your MCP client
Add this to your MCP client configuration:
3
Test the connection
Your MCP client should now discover the SEC Edgar tools automatically.
Important: You must provide a valid
SEC_EDGAR_USER_AGENT
that includes your name and email address. The SEC requires this for API access and may block requests without proper identification.First Steps
1. Verify Installation
Once configured, your MCP client should automatically discover these tools:Company Tools
lookup_company_cik
get_company_info
get_company_facts
Filing Tools
get_recent_filings
get_filing_content
analyze_8k_filing
Financial Tools
get_financial_statements
extract_financial_data
Insider Tools
get_insider_transactions
analyze_form_345
2. Try Your First Query
Ask your AI assistant:3. Explore the Tools
Each tool includes comprehensive instructions to prevent AI hallucination and ensure responses are based only on actual SEC filing data with clickable verification links.
Common MCP Clients
- Claude Desktop
- Other MCP Clients
Add the configuration to
~/.config/claude-desktop/config.json
:Troubleshooting
Server not starting
Server not starting
- Verify Python 3.11+ is installed
- Check that the
SEC_EDGAR_USER_AGENT
environment variable is set - Ensure Docker is running (if using Docker method)
Tools not discovered
Tools not discovered
- Restart your MCP client after adding the configuration
- Check the client logs for connection errors
- Verify the JSON configuration syntax is valid
SEC API errors
SEC API errors
- Ensure your User-Agent includes a valid email address
- Check your internet connection
- The SEC may temporarily rate limit requests