Spaces:
Sleeping
title: SEC Financial Report MCP Server - API
emoji: π
colorFrom: blue
colorTo: green
sdk: docker
pinned: true
license: mit
app_port: 7860
short_description: MCP Server for SEC EDGAR financial data with remote access
π SEC Financial Report MCP Server
Model Context Protocol Server for SEC EDGAR financial data analysis.
π Remote Access - Connect from Claude Desktop, Cline, or any MCP client
β¨ Natural Language - Query financial data through conversation
π Formatted Output - Get beautiful, AI-ready responses
π Features
- Company Search: Search companies by name, ticker, or CIK
- Company Info: Industry, SIC code, fiscal year details
- SEC Filings: 10-K, 10-Q, 20-F reports with dates and links
- Financial Data: Revenue, Net Income, EPS, Cash Flow
- Multi-Year Analysis: Comprehensive metrics extraction
- Smart Formatting: Beautiful, AI-ready output with emoji
π Supported Data
- Report Types: 10-K (Annual), 10-Q (Quarterly), 20-F (Foreign)
- Standards: US-GAAP, IFRS
- Metrics: Revenue, Net Income, EPS, Operating Expenses, Cash Flow
π Quick Start
1. Add to Your MCP Client
Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"sec-financial-data": {
"url": "https://jc321-easyreportsmcpserver.hf.space/sse"
}
}
}
2. Restart Claude Desktop
3. Start Using!
"Search for Microsoft and show me their latest financial data" β¨
π οΈ Available Tools (7)
| Tool | Description |
|---|---|
search_company |
Search by company name |
get_company_info |
Get detailed company info |
get_company_filings |
List SEC filings (10-K, 10-Q, 20-F) |
get_financial_data |
Get data for specific period |
extract_financial_metrics β |
Multi-year comprehensive metrics |
get_latest_financial_data |
Most recent data available |
advanced_search_company |
Smart search (name/ticker/CIK) |
π¬ Usage Examples
Quick Lookup:
"Search for Tesla and show me their latest financial data"
Trend Analysis:
"Extract 5 years of financial metrics for Apple and analyze revenue growth"
Company Comparison:
"Compare NVIDIA and AMD revenue for the past 3 years"
Output Format:
π° Financial Data for 2024Q3:
{
"period": "2024Q3",
"revenue": "$65.59B",
"net_income": "$24.67B",
"eps": "$3.30"
}
βοΈ Technical Stack
Protocol: Model Context Protocol 2024-11-05
Transport: Server-Sent Events (SSE)
Framework: FastAPI with Uvicorn
Platform: Hugging Face Spaces
Data Source: SEC EDGAR API
π Compliance
SEC User-Agent (Required by SEC EDGAR API):
Juntao Peng Financial Report Metrics App (jtyxabc@gmail.com)
Rate Limiting: Follows SEC guidelines (10 requests/second max)
ποΈ Infrastructure
- Platform: Hugging Face Spaces (CPU Upgrade, Always-On)
- Uptime: 99.9% availability
- Response: <200ms cached, 1-3s fresh data
- Concurrency: Up to 200 concurrent requests
- Health Check: Every 30 seconds
π Documentation
- Usage Guide - Complete usage instructions
- Test Script - Test all endpoints
π§ Local Development
# Start server
python mcp_server_sse.py
# Run tests
python test_mcp_sse.py