# U.S. Market Regime

> U.S. Market Regime is an open-source MCP server for finance and payments. Read the published end-of-day GREEN, YELLOW or RED U.S. market regime and its inputs. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/alicexixi85/us-market-regime-mcp
- **MCP Registry name:** io.github.alicexixi85/us-market-regime-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

The regime is built from a few stated metrics: QQQ against its 200-day average, drawdown from its high, VIX against its 20-day average and the count of distribution days over the last 25 sessions. The server is a zero-dependency Python client for the public feed behind signal.usethelever.com, and the README stresses it gives educational market context only, without recommending securities, sizing positions or predicting prices.

get_market_regime returns the regime, a 0 to 100 risk score, confidence, the rules that triggered, the metrics, the as-of and published dates, the data age in days and a stale-data warning. If the feed cannot be reached it returns an error rather than an old cached value. explain_regime_model describes each state, the update cadence and the model's limits.

It needs Python 3.10 or newer, or a Docker image, and a one-line terminal mode prints the result. The repo also contains a separate TradingView Pine Script that approximates the trend label and may not match the published regime. The daily dashboard is sold separately.

## Features

- **Regime state:** Returns GREEN, YELLOW or RED for the end-of-day market.
- **Risk score:** Adds a 0-100 score, confidence and triggered rules.
- **Visible data age:** Includes as-of date, publish date and a stale-data warning.
- **Model explanation:** Describes states, metrics, cadence and limits.
- **No stale cache:** Errors out instead of returning an old value when the feed is down.
- **Zero dependencies:** Runs on plain Python 3.10 or Docker.

## Good for

- Ask how risk-on or risk-off the market looks today
- Check which rule triggered a regime change
- Confirm how fresh the regime data is
- Add index context to a trading journal discussion

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http us-market-regime-mcp https://mcp.usethelever.com/market-regime/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "type": "http",
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.usethelever.com/market-regime/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "type": "http",
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.usethelever.com/market-regime/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add us-market-regime-mcp --url https://mcp.usethelever.com/market-regime/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.us-market-regime-mcp]
url = "https://mcp.usethelever.com/market-regime/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "httpUrl": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http us-market-regime-mcp https://mcp.usethelever.com/market-regime/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "serverUrl": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "url": "https://mcp.usethelever.com/market-regime/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "us-market-regime-mcp": {
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.usethelever.com/market-regime/mcp
```

Enter a Name (for example "U.S. Market Regime"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "us-market-regime-mcp": {
      "type": "http",
      "url": "https://mcp.usethelever.com/market-regime/mcp"
    }
  }
}
```

## Tools

The server marks all 3 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `get_us_market_regime` (says read-only): Fetch the live end-of-day U.S. market regime (GREEN/YELLOW/RED), risk score (0-100), QQQ vs 200d SMA & drawdown, VIX vs 20d average, SMH semiconductor relative strength, 25-day distribution count, and non-advisory educational risk-sizing context.
- `calculate_prop_firm_drawdown` (says read-only): Calculate deterministic prop-firm drawdown survival math: remaining trailing buffer, max consecutive losses before daily or trailing breach, and recommended buffer-anchored 1R dollar and contract caps.
- `start_blind_chart_drill` (says read-only): Return an instant zero-login masked-ticker historical U.S. stock bar-by-bar practice session URL, structured execution protocol, and $0 Pre-Market Checklist link.

## FAQ

### Is this investment advice?

No. The README says it is educational context and does not recommend securities, position sizes or price predictions.

### What drives the regime?

QQQ versus its 200-day average, drawdown, VIX versus its 20-day average and distribution days over 25 sessions.

### What if the feed is down?

The tool returns an error instead of an old cached value.

### What are the requirements?

Python 3.10 or newer, or Docker; there are no other dependencies.

### Is U.S. Market Regime free?

Yes. U.S. Market Regime is open source, so you can use and self-host it for free.

### How do I add U.S. Market Regime to Claude Code?

Run this command in your terminal: claude mcp add --transport http us-market-regime-mcp https://mcp.usethelever.com/market-regime/mcp

### What are the best alternatives to U.S. Market Regime?

The closest alternatives to U.S. Market Regime are Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe and Tapetide - Indian Stock Market MCP.

## Where this comes from

- Description: written from the project's README.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/u-s-market-regime
