cohorra-mcp

v0.3.5
io.github.Cohorra/cohorra-mcp Checked 19 hours ago Published 19 hours ago

15 crypto quant MCP tools: HL liquidations (357 perps), cascades, fill odds, options GEX & regime.

Thin, zero-dependency Model Context Protocol (MCP) server and 1-command installer for the Cohorra public Hyperliquid Data API (/v1/data/*). Options: --key , --client , --url , --dry-run, --non-interactive.

Summary extracted from the README.

@cohorra/mcp

@cohorra/mcp MCP server – quality and maintenance score on Glama

Thin, zero-dependency Model Context Protocol (MCP) server and 1-command installer for the Cohorra public Hyperliquid Data API (/v1/data/*).

1-Command Setup (Keyless or API Key)

npx -y @cohorra/mcp@latest init
  • Press Enter for keyless Free access (30/min keyless, 60/min Free key) — includes 24h-delayed whole-chain levels & positioning (all 357 perps), a 24h-delayed BTC & ETH preview across the 12 forecast, options, execution, regime, and cross-venue tools (available across all 15 tools once 24h of snapshot history has accumulated; feeds still warming up return 503 warming_delayed_preview), and the live public cohorra_scorecard — or paste your ck_live_... API key from https://suite.cohorra.com/data/keys for live Builder ($79/mo, personal non-commercial license) or Scale ($199/mo, commercial license) coverage (updated every 3–10 min for live models/book/DEX/CEX, 10m for cohorra_hl_order_cost, 30m for cohorra_scorecard & cohorra_hl_wallet_groups, hourly for funding forecasts, and nightly ~5:30 AM ET for hourly chain levels).
  • Full tool reference & live examples: https://cohorra.com/data/docs · Machine docs: https://cohorra.com/llms.txt · OpenAPI 3.1: https://cohorra.com/openapi.json
  • Auto-detects and configures Claude Desktop (npx -y @cohorra/mcp@latest so restarts auto-update to new releases), Claude Code, Cursor, omp, and Codex (direct hosted HTTP MCP for instant updates), backing up every modified file first and setting 0600 permissions on Unix.
  • Runs a live connection check right after writing config.

Options: --key <ck_live_...>, --client <all|claude-desktop|claude-code|cursor|codex|omp>, --url <https://edge.cohorra.com>, --dry-run, --non-interactive.

Remote MCP (Zero Local Install)

  • Endpoint: POST https://edge.cohorra.com/v1/data/mcp
  • Auth (optional for keyless 24h-delayed Free + live scorecard): Authorization: Bearer ck_live_... for live Builder and Scale endpoints.

Tools (15)

Tool Coverage Free / Keyless Builder ($79) Scale ($199) Description
cohorra_scorecard 6 graded model feeds Live (30m) Live (30m) Live (30m) Rolling verification scorecard across 6 graded models (hl_cascade, range, hl_book_walls, hl_funding_forecast, hl_order_cost, experimental hl_wallet_groups) & automatic circuit-breaker status
cohorra_hl_levels 357 main & HIP-3 perps 24h delayed Nightly (~5:30 AM ET, 24h) Nightly (~5:30 AM ET, 96h) Whole-chain HL liquidation levels (>=5 wallet floor)
cohorra_hl_positioning 357 main & HIP-3 perps 24h delayed Nightly (~5:30 AM ET, 24h) Nightly (~5:30 AM ET, 96h) Aggregated HL market-wide positioning & crowding
cohorra_dex_funding 960+ coins across 6 perp DEXs 24h delayed (BTC/ETH) Live (3–10m) + arb spreads Live (3–10m) + arb spreads Normalized 8h funding & single-sided OI across Hyperliquid, Lighter, Paradex, dYdX, Extended & Aster
cohorra_options_regime 5 coins (BTC/ETH/SOL/XRP/DOGE across OKX/Bybit/Binance) 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Black-76 dealer GEX, gamma flip & walls, 7d–90d IV term, 25d skew, VRP, 24h 80% move band & US spot ETF flows
cohorra_hl_flow_regime 14 liquid HL crypto perps 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Calibrated 5m execution-toxicity regime (0–100), anonymized unique-wallet surge (>=5 floor), breadth, HHI & whale/retail flow
cohorra_hl_fill_forecast 14 liquid HL crypto perps 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Calibrated passive limit fill odds (1m/5m/15m across 1–20 bps) & post-fill 5m run-over risk (>=5/10/20 bps)
cohorra_regime_state 14 liquid HL crypto perps + US macro calendar 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Calibrated 4h volatility & stress regime (calm_pin, trending_orderly, elevated_chop, stressed_expansion), options overlay & CPI/Jobs/FOMC proximity
cohorra_hl_cascade 14 liquid HL crypto perps 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Calibrated 30m forced-liquidation estimates (+/-1%, +/-2%) + forward scorecard
cohorra_funding_forecast 13 perps (HL + Binance + OKX) 24h delayed (BTC/ETH) Live HL (hourly, 3h/8h) + 24h BTC/ETH multi-venue preview Live HL + Binance + OKX (hourly) + 8h/24h arb spreads Probabilistic funding forecast & sign-flip odds
cohorra_cex_context 14 liquid crypto coins (HL + Binance + Bybit + OKX) 24h delayed (BTC/ETH) 24h delayed (BTC/ETH) Live (3–10m) Derived OI-weighted funding, HL-vs-CEX spread, OI share %, spot-perp basis & aggregate liq pressure
cohorra_range 33 markets (crypto + HIP-3) 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Calibrated forecast fan (5m/15m/1h/4h), target-price odds & empirical coverage
cohorra_hl_book_walls 10 liquid HL crypto perps 24h delayed (BTC/ETH) Live (3–10m) Live (3–10m) Standing Hyperliquid order-book walls with calibrated hold probability and rolling forward verification.
cohorra_hl_order_cost 10 liquid HL crypto perps 24h delayed (BTC/ETH) Live (10m) Live (10m) Precomputed market-order cost ladders ($50K–$5M, buy/sell, HIP-3 excluded) + 30s replenishment
cohorra_hl_wallet_groups ~290+ HL perps (experimental) 24h delayed preview Live (30m) Live (30m) Anonymized co-trading cohorts (>=5 wallets, zero addresses); descriptive only

Refresh Cadence: Updated every 3–10 min for live models/book/DEX/CEX (cohorra_hl_order_cost every 10m); every 30m for cohorra_scorecard and cohorra_hl_wallet_groups; hourly for funding forecasts; nightly (~5:30 AM ET) for hourly chain levels (cohorra_hl_levels / cohorra_hl_positioning). Builder also receives 24h-delayed BTC/ETH previews on Scale-only endpoints (cohorra_cex_context and multi-venue/spreads on cohorra_funding_forecast). Always inspect as_of and delay_hours.

Rate Limits & 24h Preview Warmup: 30/min keyless, 60/min Free key, 120/min Builder, 600/min Scale. Keyless and Free-key access covers all 15 tools once 24h of delayed-preview snapshot history has accumulated for each feed (newly added or restarted feeds return 503 warming_delayed_preview until 24h warm).

Data License: Builder ($79/mo) is licensed for personal, non-commercial use only; Scale ($199/mo) includes a commercial license. Full plan details at https://cohorra.com/data and API terms at https://cohorra.com/legal/terms.

Configuration

Environment Variable Default Purpose
COHORRA_API_URL https://edge.cohorra.com Base URL for /v1/data/*
COHORRA_API_KEY (empty — keyless 24h-delayed Free) API key from https://suite.cohorra.com/data/keys for live endpoints
COHORRA_NO_UPDATE_CHECK (unset) Set to 1 to disable the non-blocking startup check for newer @cohorra/mcp releases

Offline Fixtures Mode

npx -y @cohorra/mcp@latest --fixtures

From a git clone:

node ./bin/cohorra-mcp.js --fixtures ./fixtures
npm test