Repository avatar
AI Tools
v0.2.4
active

cohorra-mcp

io.github.Cohorra/cohorra-mcp

Hyperliquid chain-state liquidations (357 perps), 30m cascades, book walls & funding odds MCP.

Documentation

@cohorra/mcp

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 init
  • Press Enter for keyless Free access — includes 24h-delayed whole-chain levels & positioning (all 357 perps), a 24h-delayed BTC & ETH preview across all 6 forecast/microstructure models, and the live public cohorra_scorecard — or paste your ck_live_... API key from https://cohorra.com/data for live real-time (<60s) Builder ($79/mo, commercial license) and Scale ($199/mo) coverage.
  • 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, Claude Code, Cursor, omp, and Codex (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 (11)

ToolCoverageFree / KeylessBuilder ($79)Scale ($199)Description
cohorra_scorecardAll model feedsLiveLiveLiveRolling verification scorecard & automatic circuit-breaker status
cohorra_hl_levels357 main & HIP-3 perps24h delayedLive (<60s, 24h)Live (<60s, 96h)Whole-chain HL liquidation levels (>=5 wallet floor)
cohorra_hl_positioning357 main & HIP-3 perps24h delayedLive (<60s, 24h)Live (<60s, 96h)Aggregated HL market-wide positioning & crowding
cohorra_dex_funding960+ coins across 6 perp DEXs24h delayed (BTC/ETH)Live (<60s) + arb spreadsLive (<60s) + arb spreadsNormalized 8h funding & single-sided OI across Hyperliquid, Lighter, Paradex, dYdX, Extended & Aster
cohorra_hl_cascade14 liquid HL crypto perps24h delayed (BTC/ETH)Live (<60s)Live (<60s)Calibrated 30m forced-liquidation estimates (+/-1%, +/-2%) + forward scorecard
cohorra_funding_forecast13 perps (HL + Binance + OKX)24h delayed (BTC/ETH)Live HL (3h, 8h)Live HL + Binance + OKX + 8h/24h arb spreadsProbabilistic funding forecast & sign-flip odds
cohorra_cex_context14 liquid crypto coins (HL + Binance + Bybit + OKX)24h delayed (BTC/ETH)— (Scale)Live (<60s)Derived OI-weighted funding, HL-vs-CEX spread, OI share %, spot-perp basis & aggregate liq pressure
cohorra_range33 markets (crypto + HIP-3)24h delayed (BTC/ETH)Live (<60s)Live (<60s)Calibrated forecast fan (5m/15m/1h/4h), target-price odds & empirical coverage
cohorra_hl_book_walls10 liquid HL crypto perps24h delayed (BTC/ETH)Live (<60s)Live (<60s)Standing HL order-book walls with calibrated hold probability & anonymized track record
cohorra_hl_order_cost10 liquid HL crypto perps24h delayed (BTC/ETH)Live (<60s)Live (<60s)Precomputed market-order cost ladders ($50K–$5M, buy/sell, HIP-3 excluded) + 30s replenishment
cohorra_hl_wallet_groups~290+ HL perps (experimental)24h delayed previewLive (<60s)Live (<60s)Anonymized co-trading cohorts (>=5 wallets, zero addresses); descriptive only

Configuration

Environment VariableDefaultPurpose
COHORRA_API_URLhttps://edge.cohorra.comBase URL for /v1/data/*
COHORRA_API_KEY(empty — keyless 24h-delayed Free)API key from https://cohorra.com/data for live endpoints

Offline Fixtures Mode

node ./bin/cohorra-mcp.js --fixtures ./fixtures
npm test
NPM
@cohorra/mcp
Install Command
npm install @cohorra/mcp