---
name: hopper-markets
description: Macro cross-asset terminal, FRED $SP500/$NASDAQ/$DJIA/$VIX regime gate receipts, Sector SPDR Relative Rotation Graph (RRG), NYSE Calendar v2, and historical crisis portfolio stress testing on markets.hopperlabs.ai.
---

# Hopper Markets Skill (`markets.hopperlabs.ai`)

Use this skill when assessing US equity market regime posture, sector leadership rotation (`XLB`–`XLY`), macro credit/breadth ratios, NYSE session schedules, or stress-testing a portfolio across historical market crises.

## Owner Operations (`apps/markets/src/operations.ts`)

Recommend and invoke these exact registered product operations for signed receipts:

- `markets.status` — Markets service health and dataset provenance snapshot.
- `markets.pulse` — Cross-asset macro terminal snapshot (indexes, VIX, breadth, macro ratios).
- `markets.sectors` — 11 GICS Sector SPDR ETF leadership, relative strength, and drill-down links.
- `markets.calendar` — NYSE / Nasdaq Calendar v2 session windows, holidays, early closes, and quant preflight schedule.
- `markets.regime.gate` — Deterministic `MarketRegimeGateV1` posture (`risk-on` / `caution` / `risk-off`) and allocation multiplier (`1.0x` / `0.65x` / `0.25x`) with SHA-256 verification.

## Remote & Local MCP (Claude Code, Codex CLI, Claude.ai, ChatGPT & MCP `2026-07-28`)

- **Claude Code Install:** `claude mcp add --transport http hopperlabs-markets https://markets.hopperlabs.ai/api/mcp`
- **Codex CLI Install:** `codex mcp add hopperlabs-markets --url https://markets.hopperlabs.ai/api/mcp`
- **Discovery & OpenAPI:** `GET https://markets.hopperlabs.ai/.well-known/mcp.json`, `GET https://markets.hopperlabs.ai/llms.txt`, `GET https://markets.hopperlabs.ai/openapi.json`, `GET https://markets.hopperlabs.ai/.well-known/agent-skills/index.json`
- **Endpoint:** `POST https://markets.hopperlabs.ai/api/mcp` (supports `initialize` + `notifications/initialized` + `server/discover`; strict `2026-07-28`: `/api/mcp/strict`; local bridge: `bun shared/markets-kit/server/mcp-stdio.ts --site markets`)
- **Primary Tools (42 read-only, MCP v1.6.0):** `investing_glassbox_ratings`, `investing_market_timing_color_guard`, `investing_industry_group_rankings`, `investing_strategy_derby`, `investing_walkforward_rank_performance`, `investing_multi_strategy_book`, `investing_pretrade_tax_impact`, `investing_refute_thesis_claim`, `investing_market_breadth`, `investing_yield_curve_liquidity`, `investing_fed_net_liquidity`, `investing_cot_positioning`, `investing_superinvestors_13f`, `investing_treasury_and_nyfed_desk`, `investing_fdic_banking_health`, `investing_congressional_disclosures`, `investing_sec_market_catalysts`, `investing_market_regime`, `investing_sector_rotation`, `investing_crisis_stress`, `investing_workbook_model_spec`, `investing_quote`, `investing_chart_ohlcv`, `investing_news`, `investing_health`, `investing_export_trading_draft`, `search`, `fetch`
- **Prompts:** `macro_regime_brief`, `sector_rotation_scan`, `stock_dossier`, `dividend_income_audit`, `quant_factor_screen`, `daily_morning_briefing`, `smart_money_radar`
- **REST & Binary `.xlsx` URLs:** `GET https://markets.hopperlabs.ai/color-guard.md`, `GET https://markets.hopperlabs.ai/industries.md`, `GET https://markets.hopperlabs.ai/derby.md`, `GET https://markets.hopperlabs.ai/breadth.md`, `GET https://markets.hopperlabs.ai/macro.md`, `GET https://markets.hopperlabs.ai/treasury-desk.md`, `GET https://markets.hopperlabs.ai/fdic-banks.md`, `GET https://markets.hopperlabs.ai/congress.md`, `GET https://markets.hopperlabs.ai/api/v1/color-guard`, `GET https://markets.hopperlabs.ai/api/v1/industries`, `GET https://markets.hopperlabs.ai/api/v1/derby`, `GET https://markets.hopperlabs.ai/api/v1/treasury-desk`, `GET https://markets.hopperlabs.ai/api/v1/fdic-banks`, `GET https://markets.hopperlabs.ai/api/v1/congress`, `GET https://markets.hopperlabs.ai/api/v1/market-events`, `GET https://markets.hopperlabs.ai/api/v1/breadth`, `GET https://markets.hopperlabs.ai/api/v1/macro`, `GET https://markets.hopperlabs.ai/api/v1/rrg`, `GET https://markets.hopperlabs.ai/api/v1/workbook/xlsx?kind=markets`
- **Resources:** `markets://manifest`, `markets://regime`, `markets://universe/summary`

## Interactive Browser WebMCP (`navigator.modelContext`)

When operating inside an open `markets.hopperlabs.ai` browser session:

- `markets_select_tab` — Navigate between `map`, `pulse`, `sectors`, `rrg`, `regimes`, and `calendar`.
- `markets_get_regime_gate` — Inspect active scenario vs baseline `MarketRegimeGateV1` receipts.
- `markets_get_internal_breadth` — Inspect S&P 500 & 1,914-equity participation, 52W highs/lows, and all 11 GICS sector breadth rows.
- `markets_get_cross_asset_correlations` — Inspect rolling `12M`/`36M`/`60M` correlation matrix and `SPY↔TLT` stock-bond regime.
- `markets_get_sector_rrg` — Compute JdK-style RRG quadrant classifications (`Leading`/`Weakening`/`Lagging`/`Improving`).
- `markets_run_crisis_stress_test` — Stress-test weighted ETF allocations across `2018-q4`, `2020-covid`, `2022-bear`, and `2025-vol`.
- `markets_inspect_ticker` — Open the quick OHLCV inspector modal for a constituent or ETF.
- `markets_build_macro_workbook_spec` — Summarize the 5-sheet Macro Pack `.xlsx` (Yield & Liquidity, Cross-Asset & RRG, 36M Correlations, CFTC COT, 13F Superinvestors) and `hopper.workbook-handoff.v1` target URL.
- `markets_get_color_guard_and_industries` — Return Timing Signal (`GREEN`/`YELLOW`/`RED`), MTI, BSR, Primary Wave, DEW, Distribution Days, and GICS Industry Group RT/VST rankings.

## Sharded Data & Boundaries

- Load immutable catalogs via `/data/manifest.json` (`immutableFiles`) and `/data/tickers/{TICKER}.json`; only load full `market-ohlcv.v1.json` when inspecting constituent charts.
- **Safety Gate**: Remote MCP tools are strictly read-only (`LIVE_EXECUTION_FORBIDDEN`) and return SHA-256 sealed receipts without placing orders or handling secrets.
