stockscreen-mcp
Read-only access to a daily multi-market stock screener's published data, letting you list markets/screens, run and audit screens, look up stocks, and inspect market health, group strength and screen track records — no API keys needed.
list_markets– discover which market codes exist (US, HK, JP, IN, DE, …), how fresh each publish is, and which features (scan, breadth, groups, track_record) each market supports.list_screens– enumerate preset screens (Minervini, CANSLIM, VCP, chart patterns, momentum…) with their exact rules and ids.describe_fields– get the definition, unit and meaning of every scan field, plus per-market counts of rows holding a value (avoids misreading fields likevolumeorpct_day).run_screen– run a preset screen and/or custom min/max/equals filters over a market's full daily scan, sorted and limited, with total match counts.get_stock– pull everything known about one symbol: RS ratings, stage, composite scores, growth, group rank, pattern fields, and which screens it passes.audit_stocks– check a watchlist/holdings (up to 50 symbols) against screens in one call, returning passes, near misses with distances, and optional per-rule failure detail.screen_track_record– see forward returns after stocks newly entered a screen at 5, 20 or 60 sessions, to judge how much weight a screen deserves.market_overview– one-call market health: exposure score and stance, distribution/follow-through days, StockBee breadth (4% movers, ratios, T2108, 52-week highs/lows), index moves and top industry groups.group_rankings– rank IBD-style industry groups by relative strength with 1W/1M/3M/6M rank changes and top movers, or drill into one group's rank history and constituents.
Publishes a read-only daily snapshot and plain-HTML stock, screen, group, and breadth pages to GitHub Pages, updated after market close.
Uses RSS feeds as part of AI theme discovery, tracking trending and emerging themes and alerting on momentum shifts.
Exports screen matches as a comma-separated file formatted for TradingView watchlist import, while skipping Malaysia and Beijing listings.
Stock Screener 🇺🇸 🇨🇳 🇭🇰 🇯🇵 🇰🇷 🇹🇼 🇮🇳 🇩🇪 🇨🇦 🇸🇬 🇲🇾 🇦🇺
Technical and fundamental scans, market breadth, group rankings, theme discovery and AI-assisted research
Scan and track US, Hong Kong, India, Japan, Korea, Taiwan, mainland China A-shares, Germany, Canada, Singapore, Malaysia, and Australia markets.
Live app: Daily → Scan → stock detail → Groups → RRG → Stock Matrix · Static site on a phone: Daily → Scan cards → Breadth → RRG
Use it without installing
Read-only daily snapshot running on GitHub Pages: xang1234.github.io/stock-screener
Updated daily after market close.
Plain-HTML pages for every scannable stock, the main screens, group rankings and breadth, in all 12 markets: browse by market.
The forward-return scoreboard shows what happened after stocks newly entered each preset screen, 5, 20 and 60 sessions later, including how often they beat the market's benchmark. Returns are price only, before costs. The record began in October 2026, and thin samples are labeled.
See the Static Site Guide for exactly what works in static mode.
Related MCP server: TickerDB
Use it from your terminal
With uv installed, uvx fetches the rest:
uvx stockscreen-mcp screen minervini --market USAdd --tradingview to save every match as a comma-separated file for TradingView's watchlist import, which requires that format. Malaysia and Beijing listings are skipped. See stockscreen-mcp for the other commands.
Ask your AI assistant
The same daily data is available to Claude, Cursor, VS Code or any MCP client through stockscreen-mcp. It needs no API keys and no server:
claude mcp add stockscreen -- uvx stockscreen-mcpThen ask, for example: "Which US stocks pass the Minervini trend template today, and which are in top-20 industry groups?" It covers screens, RS ratings, market health and breadth, and group rankings for all 12 markets.
Features
12-market coverage - exchange calendars, independent data and scans.
Multiple screening methodologies - Minervini, CANSLIM, IPO, Volume Breakthrough, etc. with composite scoring.
Market Health and Exposure - Market-regime overlay for position sizing and risk posture.
Market Breadth - StockBee-style daily movers and trend windows, advance/decline and new-high/new-low health bars, T2108, a benchmark overlay, and a significance heatmap built from one shared calculation layer.
Industry groups with Relative Rotation Graph - groups ranked by relative strength with movers (1W/1M/3M/6M) and constituent analysis, plus RRG charts plotting RS-Ratio vs RS-Momentum through (Leading → Weakening → Lagging → Improving). The Matrix tab adds Grid and Clusters layouts colored by 1-day, 1-week, 1-month change, or Stock RS.
Watchlists and Themes - RS and price sparklines, multi-period change bars, drag-and-drop folders, and full-screen chart navigation.
Theme discovery - AI theme identification from RSS, Twitter/X, and news feeds; tracks trending vs. emerging themes and alerts on momentum shifts.
AI research chatbot - LLM powered chatbot with optional web search and persistent conversation history.
Operations - startup data bootstrap, runtime status, and Operations console for queues/jobs/telemetry.
Options Command Center - opt-in US-only options context for the current top Candidates and Leaders, with focused gamma, volatility, skew, and activity views plus ticker history.
Backtest - Backtest page that validates published scan picks and theme alerts against price history.
Market Health and Exposure
Scan results table
Group RS: industry rankings, relative-strength statistics, and changes in group rank
RRG: sector rotation with direction-arrowed weekly tails; full 197-group scope available from the same view
Matrix Grid: sector and IBD industry rows, market-cap columns, and individual stock tiles
*Matrix Clusters: market-cap-sized bubbles with green centers and red perimeters. Both layouts support 1-day, 1-week, 1-month change, and Stock RS in the live app and static site. See the Group Matrix Guide.*
Market Breadth combines advance/decline and new-high/new-low health bars with an SPY overlay and a color-coded history table for primary, secondary, and context indicators.


*Options Command Center: switch between Gamma, Volatility, Skew, and Activity views without scanning an entire option universe. See the Options Command Center Guide.*
Typical flow: sign in → bootstrap markets → review the Daily dashboard → run a Scan → drill into a stock → monitor Operations → validate outcomes on Backtest. For the full page-by-page tour, see the Live App Guide.
Quickstart (Docker)
Needs Docker and Python 3.11+. One command pulls the published images that match your checkout, writes .env.docker with a generated login password, and waits until every service is healthy:
git clone https://github.com/xang1234/stock-screener.git
cd stock-screener
scripts/quickstart.sh
# Open the printed URL (http://localhost) and log in with the printed passwordAdd markets or change the port with ENABLED_MARKETS=US,HK FRONTEND_PORT=8080 scripts/quickstart.sh. Re-run it after git pull to upgrade. For the chatbot, add an LLM key such as GROQ_API_KEY to .env.docker and re-run. CI runs this same install against each published main build and release tag, and only creates a GitHub Release once it passes.
On first launch the app opens to a first-run bootstrap screen — no pre-seeded database needed. Pick one primary market for startup defaults and optionally enable more to hydrate in the background, then start. Enabling many markets at once noticeably slows the first run, so start with one and add the rest after the workspace is ready.
Homelab / VPS / local-dev compose / GHCR options: Docker Deployment
Building from source: Development Guide
Bootstrap stages, stale/failure handling, re-runs: Operations Guide
Configuration
Scanning and all core features work with no API keys. The AI chatbot requires at least one LLM provider key.
Provider | Env Var | Free Tier | Notes |
Groq |
| Yes | Default for chatbot and research |
Gemini |
| Yes | Extraction fallback |
Minimax |
| No | Primary theme-extraction provider |
Z.AI |
| No | Optional alternate provider |
Optional web-search keys (TAVILY_API_KEY, SERPER_API_KEY) are read by the Hermes assistant sidecar; the backend does not read them. Full reference: Environment Variables.
Application pages
Route | Page | Description |
| Daily | Dashboard: Daily Snapshot, Key Markets, Themes, Watchlists, Stockbee MM |
| Bulk Scanner | Multi-market scanning with 80+ filters, per-market badges, CSV export |
| Market Breadth | StockBee-style breadth indicators and trends |
| Group Rankings | IBD industry group rankings, movers, RRG, and stock Matrix (Grid/Clusters) |
| Backtest | Deterministic validation of scan picks and theme alerts |
| Themes | Feature-gated AI theme discovery, review queues, pipeline controls |
| Assistant | Feature-gated AI research assistant with web search and watchlist actions |
| Stock Detail | Charts, fundamentals, themes, watchlist actions, validation history |
| Operations | Runtime activity, queue/job inventory, telemetry alerts, safe job controls |
| Options Command Center | Feature-gated US Candidate/Leader options analytics; also available read-only when advertised by the static snapshot |
| Options Detail | Strike structure, model-estimate GEX, IV smile, and discontinuous observed history for one current symbol |
Tech stack
Backend: FastAPI, SQLAlchemy, Alembic, Celery, Redis, PostgreSQL Frontend: React 18, Vite, Material-UI, TanStack Query / Table, Recharts Data: yfinance, Finviz, SEC EDGAR, official X API (optional)
Documentation
Guide | Audience |
Users of the server-backed live application | |
Grid/Clusters, return periods, stock RS, data coverage, and live/static delivery | |
Live-app operators and maintainers | |
Static demo users and maintainers | |
Understanding the options cohort, metrics, history, and limitations | |
Server, homelab, VPS users | |
Contributors, developers | |
Understanding the system design | |
Configuration reference | |
AI copilot workflows (15 tools via stdio / Streamable HTTP) | |
Backend developers | |
Frontend developers | |
Getting started as a contributor |
Disclaimer
This software is for educational and research purposes only. It is not financial advice. Always do your own research and consult a licensed financial advisor before making investment decisions.
License
Released under the Apache License 2.0.
Available Tools
9 toolsaudit_stocksARead-only
Check a watchlist or holdings against the preset screens in one call: which screens each stock passes, and which it nearly passes.
Use it to review a list of stocks, find near misses, or see what a position fails today. Use
get_stock for every field on one symbol, and run_screen to discover new candidates. A long list
over every screen returns a lot of text, so pass a screens list when you only need some.
Each stock returns a snapshot, passes (screen ids in list_screens order, matching the website
and get_stock's passes_screens), near_misses, and notes when there are any. The top-level screens
list minus passes gives the failing ids.
near_misses maps each screen the stock fails on exactly one of at least two rules to
"field short_by N", or to the field alone when short_by is absent. It ignores how far short the
stock is, so check short_by before calling one close. short_by is the positive distance between a
failed numeric rule's bound and the stock's value (rs_rating 60 against a min of 70 is short_by 10);
on a max rule it is how far the value is above the bound (ibd_group_rank 154 against a max of 40 is
short_by 114); it is absent when the value is missing and on non-numeric rules. notes maps a screen
to the reason when its rules alone don't explain the result: a failing optional rule group, or a
disabled required group.
detail=True adds failed_rules: every failed rule for each failing screen. Any response over 80,000
characters of JSON is refused with an error that says how many symbols fit, so for detail pass fewer
symbols or a shorter screens list.
Symbols absent from the market's scan are listed in not_found rather than raising an error.
Inputs: symbols (required), detail, market, screens. Returns: object
describe_fieldsARead-only
Define scan fields and count what a market's rows hold for them.
Call it before quoting or filtering on a field you have not used, because names mislead: volume is traded value rather than shares, and pct_day is a percentile rank rather than a percent change.
Each field returns its group, type, unit and meaning. note says what a reader would otherwise get wrong, range appears only where the code guarantees a hard bound, and alias_of names the row field this name reads.
rows_with_value counts this market's rows with a non-null, non-empty value. At 0 the field supports no claim here. It is null for fields the tools drop, which exist only in the published JSON. true_rows appears on boolean fields and counts the rows that are true. values appears on text and list label fields as {label: rows}, most common first, unless the market has more than 15 distinct labels. Filters can test only the text ones. These counts say what this publish holds and not why. They cannot separate a field that cannot be computed from a result where nothing qualified.
Internal fields, which are bookkeeping fields and rule names, appear only when named
in fields. fields and group together keep the named fields that are in the group.
Inputs: group, fields, market. Returns: object
get_stockARead-only
Everything the daily scan knows about one stock: RS ratings, stage, scores, growth, group rank, setup/pattern fields, and which preset screens it currently passes.
Inputs: symbol (required), market. Returns: object
group_rankingsARead-only
Rank a market's IBD-style industry groups by their stocks' relative strength (1 = strongest), with 1W/1M/3M/6M rank changes and this week's biggest movers.
Use it to find leading or improving industries. Pass group (full name, or any part of it
that matches only one group) for that group's rank history and its stocks, strongest RS
first. For a quick top-5 alongside breadth, market_overview is enough; to filter stocks by
group rank, use run_screen with ibd_group_rank. Rankings are end-of-day and update once a day.
Inputs: group, limit, market. Returns: object
list_marketsARead-only
List the markets that have published data, so you know which market codes the other tools accept and how fresh each one is.
Call this first when the user names a country or exchange, or asks how current the data is. For one market's health, breadth and leading groups, use market_overview instead.
Each market returns its code (pass it as market to the other tools), name, as_of_date (the
trading day the data covers), status ("current"; "late" if it is behind its latest completed
session or its next update is over a day overdue; or "unknown"), and features: which of "scan"
(run_screen, get_stock, list_screens, audit_stocks), "breadth" (market_overview breadth), "groups"
(group_rankings) and "track_record" (screen_track_record) are published for it. unavailable_markets
lists markets that failed this publish. Takes no arguments. Results are cached for up to 10 minutes;
markets are published after their close by two scheduled runs, one for Asia and one for US/Europe.
Inputs: no named parameters. Returns: object
list_screensARead-only
Preset screens (Minervini, CANSLIM, VCP, chart patterns, momentum...) with their exact rules.
Pass a screen's id to run_screen or audit_stocks.
Inputs: market. Returns: object
market_overviewARead-only
Market health in one call: exposure score and stance (distribution days, follow-through day, trend), StockBee-style breadth (4% movers, 5/10-day ratios, T2108, 52-week highs/lows), key index/asset moves, and the strongest industry groups.
Inputs: market. Returns: object
run_screenARead-only
Run a preset screen and/or custom filters over a market's full daily scan (every listed stock).
A preset matches exactly the stocks the project's website shows for it. Filters are combined with AND, including with the preset.
Inputs: limit, market, screen, filters, +2 more. Returns: object
screen_track_recordARead-only
What happened after stocks newly entered each preset screen, at one holding period.
Use it to judge how much weight a screen's output deserves, or to see whether a screen has a record yet. Use run_screen for today's matches. Each call reports one horizon; call again with horizon=5 or horizon=60 for the others.
Rows in cohorts keep the published order, which is not a ranking. how_to_read in each result
defines the fields; read it before quoting a number.
Any response over 80,000 characters of JSON is refused with an error; pass screen for one
screen's rows.
A market with no published record returns an error naming the markets that have one. In list_markets those markets show the track_record feature.
Inputs: market, screen, horizon. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct role: discovery (list_markets, list_screens, describe_fields), retrieval (get_stock, market_overview, group_rankings), and execution (run_screen, audit_stocks, screen_track_record). The descriptions explicitly cross-reference the nearest alternative (e.g. run_screen vs audit_stocks, list_markets vs market_overview, group_rankings vs market_overview) so an agent can resolve overlaps. No two tools target the same action on the same resource.
Most tools follow a verb_noun pattern (list_markets, list_screens, describe_fields, run_screen, audit_stocks, get_stock). The exceptions are screen_track_record and the two bare noun phrases group_rankings and market_overview, which break the verb convention. The naming is still readable and predictable enough to infer intent.
Nine tools is well within the ideal 3-15 range and each one earns its place: discovery, field semantics, screening, watchlist auditing, track record, group rotation, single-stock detail and market breadth. Nothing looks like a redundant wrapper or an oversized menu.
The surface covers the full workflow from learning market/field semantics through screening, auditing positions and judging a screen's historical edge, with no dead ends for a daily-scan screener. Minor gaps remain, such as bulk multi-symbol detail or historical time-series beyond group rank changes and one-horizon track records, but agents can work around these via repeated calls.
Maintenance
Related MCP Connectors
Daily ML stock signals for 4,000+ US stocks, screening, company data and a portfolio optimizer.
Stock screens; per-stock earnings, guidance, signal and sector insights; rotation and market mood.
Stock quotes, charts, financials, options, SEC filings, crypto and macro data. Hosted, no API key.
Plain-English market screens and quant answers on live US, India, ETF, forex and crypto data.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceReal-time financial market data MCP server. Stocks, crypto, technicals, sentiment, FDA calendar. No API keys required.-
- AlicenseAqualityBmaintenancePoint-in-time market data for AI agents: stocks, ETFs and crypto as named bands plus raw values.105MIT
- FlicenseNot gradedqualityDmaintenanceExposes global market breadth, volume, RSI, volatility, and sentiment for 12 major equity indices (US + Asia) via 5 tools.-

Tickerbot MCP Serverofficial
AlicenseAqualityBmaintenanceEnables scanning and querying stock market data across thousands of US tickers and top cryptos, with tools for signal analysis, historical replay, and webhook subscriptions.35316 npmMIT