
Sec Filing Analyzer
io.github.kyliemckinleydemov1.0.0Updated Oct 1, 2026
AI-analyzed SEC filings: filings, analysis, screening, 30-day signals, track record.
Overview
Lets an assistant query SEC filings, AI risk scores, fundamentals screening, and 30-day alpha signals for 800+ US companies.
- What it does
- A remote, read-only MCP server with seven tools: filings, filing analysis, company snapshot, company search, fundamentals screening, top signals, and model track record. Answers about 10-K, 10-Q, and 8-K filings are grounded in SEC EDGAR data with citations, and analysis includes AI risk and concern scoring, risk factor changes, sentiment, and executive summaries. A secondary feature predicts 30-day market-relative alpha from a regression model.
- When to use it
- Useful when an assistant needs cited answers about US public-company filings, risk or concern scores, or screening across S&P 500 constituents. Also relevant for research on filing sentiment, 8-K event categories, or the provider's published signal track record. It is research and educational material, not investment advice.
- Requirements
- A remote Streamable HTTP endpoint; no package install, account, API key, or environment variable is declared. The assistant's MCP client must be able to reach the provider's endpoint over the network.
Installation
In SourceWeft
- Open Sec Filing Analyzer in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"sec-filing-analyzer": {
"type": "http",
"url": "https://www.stockhuntr.net/api/mcp"
}
}
}README
StockHuntr — SEC Filing Analyzer
Chat with SEC filings. Get cited answers and risk scores — free.
StockHuntr is a free AI tool for reading and analyzing SEC filings. Ask about any 10-K, 10-Q, or 8-K in plain English and get clear, cited answers straight from the filing, plus AI risk and concern scoring across 800+ US companies (all S&P 500 constituents). Everything is grounded in primary-source SEC EDGAR data. It also generates 30-day alpha signals as a secondary feature.
It competes with paid AI research tools (Fintool, AlphaSense) and free raw EDGAR — cited AI answers and risk scoring on primary-source filings, at no cost. Research and educational only; not investment advice.
Live at: stockhuntr.net
[Next.js] [TypeScript] [Claude AI] [Prisma] [Tests]
Features
Chat With Filings (Ask the Market)
- Cited answers — Ask questions in plain English about any 10-K, 10-Q, or 8-K and get answers grounded in the actual filing, with accession numbers and EDGAR links cited
- Grounded Q&A blocks — Company and filing pages carry server-rendered "key questions" derived from real analysis data, with FAQPage structured data (
lib/qa-builders.ts) - Natural-language querying — Screen and query the filing corpus at
/query
AI-Powered Filing Analysis
- AI Risk & Concern Scoring — 0–10 concern score (LOW → CRITICAL) with factor breakdown; detects data breaches, litigation, executive departures, restatements, covenant breaches, and more
- Risk Factor Analysis — Claude AI analyzes risk factor changes between filings, identifying new risks, removed risks, and severity shifts
- Sentiment Analysis — Management tone detection from MD&A sections (-1 to +1 scale)
- Executive Summaries — Investor-focused bullet points generated from filing content
- 8-K Event Classification — Automated categorization of current event filings
30-Day Alpha Prediction (Alpha Model v2 — secondary feature)
- Stepwise+Ridge regression predicting 30-day market-relative alpha (stock return minus S&P 500)
- 13 features across 44 Mixture-of-Experts (MoE) models — global + 11 sector experts + 4 cap-tier experts + 29 sector×cap-tier combined experts
- 4,009 training samples from 500+ companies (10x expansion from v1's 340 samples)
- Historical price snapshots at filing date (99% coverage) — eliminates stale-price bias from prior model
- Macro regime features — S&P 500 30-day trend and VIX level at filing date for bull/bear market adjustment
- EPS surprise — strongest new feature (actual vs. consensus EPS), winsorized to [-50%, +50%]
- Backtested accuracy: 53.5% directional (74.7% high-confidence), Sharpe ratio ~1.97 (90-day strict walk-forward CV)
- Paper Trading — Automated virtual portfolio validates live performance (30-day hold period)
- See
MODEL.mdfor full model documentation
Content & Discovery (server-rendered for SEO / AI crawlers)
/learn— Explainer library: plain-language answers about SEC forms and items (10-K vs 10-Q, 8-K items, going concern, EPS surprises, XBRL, Form 4)/sectors&/sectors/[slug]— Sector insight pages with aggregate stats (filings analyzed, avg concern, model accuracy) computed from the corpus/pulse— Recurring "SEC Filing Pulse" report: sector concern heat, most significant filings, strongest 30-day signals (ISR-refreshed, Article JSON-LD)/compare&/compare/[slug]— Comparison landing pages (e.g. Fintool vs StockHuntr, AlphaSense alternatives, Bloomberg Terminal alternatives)- MCP server (
/api/mcp, docs at/mcp) — Remote Model Context Protocol server (Streamable HTTP) with 7 read-only tools: filings, filing analysis, company snapshot, company search, fundamentals screening, top signals, and model track record — for MCP clients (Claude, ChatGPT, agents). Published to the official MCP Registry asio.github.kyliemckinleydemo/sec-filing-analyzer. Discovery manifest at/.well-known/mcp.json. SeeMCP-GUIDE.md - Stock screener (
/screener) — Free server-rendered screener: filter 800+ companies by sector, market cap, P/E, dividend yield, and revenue growth; results link to AI-analyzed filings. Works without JS (native GET form); mirrored by thescreen_companiesMCP tool - Open dataset (
scripts/export-dataset.ts) — CC-BY-4.0 export of the analyzed-filing corpus (CSV + JSONL + dataset card) for publication on Hugging Face / Kaggle - SEO/GEO infra — Dynamic
sitemap.ts&robots.ts,public/llms.txt, JSON-LD (Organization / WebSite / SoftwareApplication / FAQPage / Article / Dataset), Microsoft Clarity analytics, and IndexNow submission
Data Pipeline (Automated Cron Jobs)
- SEC Filing Ingestion — Fetches new 10-K, 10-Q, 8-K filings via RSS (3x daily), matched to companies by CIK (not ticker) for reliability, with daily-index catch-up
- AI Analysis — Automated
analyze-filingscron keeps recent filings analyzed in bounded, cost-guarded batches - Prediction Backfill —
backfill-predictionscron persists 30-day alpha predictions so Top Signals / Track Record / MCP stay populated - Ticker Audit — Weekly
ticker-auditcron surfaces ticker-universe drift (delistings, duplicates, missing companies) - Stock Price Updates — Real-time prices from Yahoo Finance (batch rotation 6x daily)
- Analyst Data — Consensus ratings, target prices, upgrades/downgrades
- Macro Indicators — S&P 500, VIX, Treasury yields, sector ETFs
- Paper Trading — Automated position closure after 30-day hold period
- Supervisor — Health monitoring with auto-recovery and email alerts, including analysis-coverage and stock-price-freshness data checks
User Features
- Watchlist Alerts — Email notifications for high-concern filings, price moves, analyst activity
- Company Search — Search 800+ companies by ticker
- Filing History — Browse 10-K, 10-Q, 8-K with infinite scroll
- Paper Trading Dashboard — Track virtual portfolio performance
- Magic Link Auth — Passwordless email authentication
Tech Stack
Getting Started
Prerequisites
- Node.js 18+
- PostgreSQL database
- Anthropic API key (get one here)
Installation
Environment Variables
Create .env.local:
Database Setup
Run
Project Structure
Cron Jobs
The system runs automated jobs via Vercel Cron (see vercel.json):
All cron endpoints require Authorization: Bearer <CRON_SECRET> or vercel-cron user-agent.
The analyze-filings job only spends on the Anthropic API when ANALYSIS_ENABLED=true (dry-run otherwise).
See CRON-JOBS-README.md for detailed documentation.
Testing
Test Coverage
See TEST-PLAN.md for detailed test architecture.
API Endpoints
Public
Analysis (requires auth)
Cron (requires CRON_SECRET)
Environment Variables
Deployment
Deployed via Vercel CLI (not GitHub auto-deploy):
This runs vercel --prod --force and sets the stockhuntr.net alias.
Database Sync
After schema changes, sync production DB:
See DEPLOYMENT.md for the full deployment guide.
Documentation
Disclaimer
This tool is for educational and research purposes only. Do not use this as financial advice. Always consult with a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.
Built with Next.js, TypeScript, Claude AI, and Vitest
Source: README.md at commit b0e6b6e
Tools
0Version history
1- v1.0.0LatestOct 1, 2026
