U.S. Market Regime Traffic Light MCP
A read-only MCP server that reports the published end-of-day U.S. market regime and the metrics behind it.
get_market_regime– fetch the latest regime (GREEN / YELLOW / RED) with risk score, confidence, triggered rules, QQQ vs. 200-day average, drawdown from high, VIX vs. 20-day average, distribution days over 25 sessions,as_of/published_at, data age in days and a stale-data warning (returns an error rather than cached values if the feed is unreachable).explain_regime_model– learn what each state and metric means, the update cadence, and the model's limits.Both tools are read-only and query the public feed behind signal.usethelever.com; responses are educational market context, not advice.
U.S. Market Regime MCP
An open-source Model Context Protocol server that lets Claude, Cursor or any MCP client read the published end-of-day U.S. market regime (GREEN / YELLOW / RED) and the metrics behind it: QQQ vs. its 200-day average, drawdown from the high, VIX vs. its 20-day average, and distribution days over the last 25 sessions.
Zero dependencies, Python 3.10+. It is a read-only client for the public feed behind signal.usethelever.com.
Educational market context only. The server returns a description of the broad index environment. It does not recommend securities, give position sizes, or predict prices. Every response includes the
as_ofdate and a disclaimer.
Tools
Tool | Returns |
| Regime, risk score (0-100), confidence, triggered rules, metrics, |
| What each state and metric means, update cadence and the model's limits. |
Related MCP server: fahali-mcp
Install
git clone https://github.com/alicexixi85/us-market-regime-mcp.git{
"mcpServers": {
"us-market-regime": {
"command": "python3",
"args": ["/absolute/path/to/us-market-regime-mcp/server.py"]
}
}
}Docker: docker build -t us-market-regime-mcp . && docker run -i --rm us-market-regime-mcp
Terminal: python3 server.py --print
Example prompt: "What is today's market regime, how fresh is the data, and which rule triggered it?"
TradingView HUD
qqq_traffic_light_hud.pine is a separate, chart-only Pine Script v6 indicator that labels QQQ's trend context (supportive / choppy / downtrend) from EMAs, ATR and range efficiency. It is a simplified approximation and will not always match the published regime.
Related
Daily dashboard: signal.usethelever.com (paid access via Gumroad)
Bar-by-bar replay practice for U.S. stocks: replay.usethelever.com
License
MIT
Available Tools
2 toolsexplain_regime_modelARead-only
Explain what GREEN / YELLOW / RED mean, what each metric measures, update cadence and the model's limits.
Inputs: no named parameters.
get_market_regimeARead-only
Get the latest published end-of-day U.S. market regime (GREEN / YELLOW / RED), risk score, QQQ/VIX/distribution-day metrics, triggered rules and data freshness from signal.usethelever.com.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly separate roles: get_market_regime returns data, while explain_regime_model returns documentation about semantics, cadence and limits. An agent can trivially decide which to call with no overlap in outputs.
Both names follow a predictable snake_case verb_noun pattern (get_/explain_ + domain object) and are self-describing. The convention is uniform across the entire surface.
The server exposes a single published gauge, so a data tool plus a model-explanation tool is a reasonable minimal scope. Two tools is on the thin side, but each earns its place rather than being redundant.
Only the latest end-of-day regime is reachable; there is no way to query historical regimes, a date range, or a time series of risk scores, which are natural follow-on needs for this domain. Core read access and interpretation are covered, so agents can work but hit a wall on trend questions.
Maintenance
Related MCP Connectors
U.S. equity quant research: market regime, signals, scores, screens and CallCards.
Signals, technicals, regime and news for 1,000+ US/TR symbols. Data only, not investment advice.
Dollar volume across 13 stock markets and US sectors, against each one's own normal. No prices.
Dealer gamma exposure (GEX) levels and dealer positioning heatmaps for US equity options.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes global market breadth, volume, RSI, volatility, and sentiment for 12 major equity indices (US + Asia) via 5 tools.-
- AlicenseBqualityBmaintenanceMarket-intelligence MCP: 18 detection engines over 9,200+ instruments with calibrated uncertainty and outcome-verified provenance. Informational only, not financial advice.58MIT
- AlicenseNot gradedqualityCmaintenanceFuses five market signals into a five-state regime classifier to determine market conditions and recommend trading postures for risk management.MIT
- AlicenseNot gradedqualityBmaintenanceClassifies BTC market into 5 regimes (Risk-On, Range-Bound, Risk-Off, Capitulation, Euphoria) with target exposure and posture, enabling risk management decisions.MIT