@cohorra/mcp
Officialby Cohorra
README.md
# `@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)
```bash
npx -y @cohorra/mcp init
```
- Press **Enter** for keyless Free access — includes a **full preview across all 9 tools on `BTC` & `ETH`** (including the real liquidation ladder on `BTC`/`ETH`), 24h-delayed levels/positioning across covered markets, 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`) and Scale (`$199/mo`) coverage across all 357 main & HIP-3 markets.
- 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 + scorecard):** `Authorization: Bearer ck_live_...` for live Builder and Scale endpoints.
## Tools (9)
| Tool | Tier | Description |
|---|---|---|
| `cohorra_scorecard` | Keyless / All | Live rolling verification scorecard across all models with automatic circuit-breaker status |
| `cohorra_hl_levels` | Keyless (24h delay) / Builder / Scale | Whole-chain Hyperliquid liquidation levels by distance band (`>=5` wallet floor) |
| `cohorra_hl_positioning` | Keyless (24h delay) / Builder / Scale | Aggregated Hyperliquid market-wide positioning and leverage distribution |
| `cohorra_hl_cascade` | Builder / Scale | Calibrated 30m forced-liquidation estimates for +/-1% and +/-2% moves + live forward scorecard |
| `cohorra_funding_forecast` | Builder / Scale | Probabilistic Hyperliquid funding settlement forecast (`k=3`, `k=8` hourly) with sign-flip odds |
| `cohorra_range` | Builder / Scale | Calibrated forecast fan with empirical coverage and skill vs realized volatility |
| `cohorra_hl_book_walls` | Builder / Scale | Standing Hyperliquid order-book walls with hold probability, anonymized track record (zero addresses), and rolling calibration |
| `cohorra_hl_order_cost` | Builder / Scale | Precomputed Hyperliquid market-order cost ladder (`$50K`–`$5M`, buy/sell, crypto perps only) with 30s replenishment |
| `cohorra_hl_wallet_groups` | Builder / Scale (`experimental`) | Anonymized Hyperliquid co-trading groups (`>=5` wallets, zero addresses) and forced-liquidation levels |
## 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://cohorra.com/data for live endpoints |
## Offline Fixtures Mode
```bash
node ./bin/cohorra-mcp.js --fixtures ./fixtures
npm test
```
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues