System Requirements
Python
Version: 3.11 or higher
Required: Yes
Required: Yes
Docker
Version: Any recent version
Required: Optional but recommended
Required: Optional but recommended
MCP Client
Examples: Claude Desktop, MCP CLI
Required: Yes
Required: Yes
Installation Methods
Method 1: Docker (Recommended)
Docker provides the most reliable and consistent installation experience:1
Install Docker
If you don’t have Docker installed:
- Windows/Mac
- Linux
Download and install Docker Desktop
2
Pull SEC Edgar MCP Image
The Docker image is automatically built and tested, ensuring consistency across all platforms.
3
Verify Installation
Test the Docker image:
Method 2: Python Package (PyPI)
Install directly from Python Package Index:1
Verify Python Version
2
Create Virtual Environment (Recommended)
3
Install Package
4
Verify Installation
Method 3: uvx (No Installation Required)
Run directly without installation using uvx:1
Install uvx
If you don’t have uvx installed:
2
Run SEC Edgar MCP
No installation needed - uvx will handle everything:
uvx automatically manages package installation and updates, making it ideal for quick setup without managing Python environments.
3
Configure MCP Client
Add to your MCP client configuration:
Method 4: Development Installation
For contributors and developers:1
Clone Repository
2
Create Virtual Environment
3
Install in Development Mode
4
Run Tests
Configuration
Environment Variables
Required. Must include your name and email address.Example:
"John Doe (john@example.com)"
The SEC requires this header and may block requests without proper identification.
Directory for caching SEC data to improve performance.
Requests per second limit to respect SEC API guidelines.
Setting Environment Variables
- Linux/Mac
- Windows
- Docker
~/.bashrc
, ~/.zshrc
) for persistence.MCP Client Configuration
Claude Desktop
Add to~/.config/claude-desktop/config.json
:
- Docker
- Python
Other MCP Clients
The configuration format varies by client, but the core elements remain:- Command: How to start the server (
docker run...
orpython -m...
) - Environment: The
SEC_EDGAR_USER_AGENT
variable - Transport: Usually stdio (default)
Verification
Test Connection
After installation and configuration:- Restart your MCP client
- Check for tool discovery - You should see SEC Edgar tools available
- Try a simple query: Ask for a company’s recent filings
Expected Tools
Your MCP client should discover these tool categories: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
Troubleshooting
Python Version Issues
Python Version Issues
SEC Edgar MCP requires Python 3.11+. Check your version:If you have multiple Python versions, you may need to use
python3.11
or similar.Docker Permission Issues
Docker Permission Issues
On Linux, you may need to add your user to the docker group:
Package Installation Failures
Package Installation Failures
Try updating pip and setuptools:
MCP Client Not Finding Tools
MCP Client Not Finding Tools
- Verify the JSON configuration syntax
- Check the MCP client logs
- Ensure the server starts without errors
- Restart the MCP client after configuration changes