Skip to main content
Glama
carrydesk

carrydesk

carrydesk

Cross-sectional funding-carry rankings for Hyperliquid perpetuals, sold per call in USDC.

Every hour, rank the liquid Hyperliquid perp universe by trailing 14-day mean funding. The most negative names pay you to hold them long; the most positive pay you to short them. The spread between those two legs is the carry — a structural risk premium, not a prediction.

This is the same signal a live market-neutral book trades, published as an API.


Endpoints

Endpoint

Price

free

GET /v1/free/carry — top 5 each leg, delayed 24h

—

free

GET /v1/method — how it is computed, and the caveats

—

free

GET /health

—

paid

GET /v1/carry/rankings — full live ranking, tunable k

$0.05

paid

GET /v1/carry/history/{coin} — archived rank + funding

$0.02

paid

GET /v1/universe — liquid perps by volume, OI, funding

$0.01

Paid endpoints are metered with x402: the server answers 402 with payment requirements, your client pays USDC on Base, retries, and gets the data. No account, no API key, no invoice.


Related MCP server: Funding-mcp

Quick start

curl -s https://carry.pelazas.com/v1/free/carry | jq
{
  "carry_spread_annualized": 0.3901,
  "carry_spread_annualized_trimmed": 0.2231,
  "carry_spread_annualized_median": 0.0955,
  "headline_vs_typical": 4.09,
  "outlier_dominated": true,
  "longs":  [{"coin": "PENGU", "mean_funding_annualized": -0.0636}, ...],
  "shorts": [{"coin": "SAGA",  "mean_funding_annualized":  1.9886}, ...]
}

Three spread numbers, always, plus two that say how far apart they are. The headline mean is what an equal-weighted book earns; the median is what a typical coin pays. headline_vs_typical is the multiple between them — about 4 in the sample above, and around 4 in practice — and outlier_dominated fires when the median drops below half the mean. On the reading above, SAGA alone accounts for most of the gap — that is exactly the kind of thing a single number would hide.


MCP

claude mcp add carrydesk -- uvx --from carrydesk carrydesk-mcp

No clone, no virtualenv — uvx fetches and runs it.

Six tools: carry_snapshot, carry_method, carry_health (free) and carry_rankings, carry_history, carry_universe (paid). It talks to https://carry.pelazas.com by default — override with CARRYDESK_API_BASE.

Set CARRYDESK_PRIVATE_KEY to let the agent pay automatically. Without it the free tools work and paid tools return the price instead of failing, so a wallet-less install is still useful.


Local development

uv venv --python 3.12 && uv pip install -e ".[dev]"
.venv/bin/python -m uvicorn carrydesk.api:app --reload   # open, no paywall
.venv/bin/python -m pytest -q                            # full suite, no network

With X402_PAY_TO unset the service runs fully open — that is the dev default. Set it to turn the paywall on. See .env.example.


For agents and crawlers

/llms.txt describes the whole service in plain text. /openapi.json is the full spec, /archive is every snapshot ever published, and the public page carries schema.org Dataset markup. Crawlers are explicitly welcome — the free tier exists to be read, indexed and quoted.

Honest limitations

  • The carry spread can and does go negative. This is compensation for absorbing crowded leverage, not a forecast.

  • All figures are gross of fees, slippage and borrow. Taker fees alone can erase the edge; the reference book is maker-only for that reason.

  • Funding is Hyperliquid's own, with no cross-venue reconciliation yet.

  • Illiquid names dominate the headline spread more often than not. Read the trimmed and median variants before sizing anything.

  • Informational only. Not investment advice.


Repo docs

File

What

BACKLOG.md

Deliberately deferred work, with the reason for each

AGENTS.md

Onboarding for an AI agent picking this up cold — gotchas, rules, what is unverified

STATUS.md

Current state, what is blocked, what is next

DECISIONS.md

Why each significant choice was made

Available Tools

6 tools
carry_healthB

FREE. Service health and data freshness.

Inputs: no named parameters.

carry_historyA

PAID (~$0.02 USDC). Archived rank and trailing funding history for one coin, from carrydesk's own published snapshots. Use to check whether a coin's carry is persistent or a one-day artifact.

Inputs: coin (required), days.

carry_methodA

FREE. How the carry ranking is computed -- universe filter, lookback, leg construction -- and the caveats that matter before anyone trades on it. Read this before presenting the numbers as actionable.

Inputs: no named parameters.

carry_rankingsA

PAID (~$0.05 USDC). Full live cross-sectional funding-carry ranking across every liquid Hyperliquid perp: trailing 14d mean funding annualized, rank, long/short leg and dollar-neutral weights, plus outlier-robust spread variants. Set k to change coins per leg (1-20).

Inputs: k, min_volume.

carry_snapshotA

FREE. Cross-sectional funding-carry snapshot for Hyperliquid perps: the top 5 coins on each leg (long = market pays you to hold, short = you get paid to short) plus the carry spread. Delayed 24h. Use this first.

Inputs: no named parameters.

carry_universeA

PAID (~$0.01 USDC). The liquid Hyperliquid perp universe sorted by daily notional volume, with open interest, mark price and current funding.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct aspect: snapshot gives a delayed cross-sectional summary, rankings provides live full data with adjustable parameters, history covers single-coin persistence, universe lists liquid perps, method explains methodology, and health checks service status. No two tools could be confused.

    Naming Consistency5/5

    All tool names follow a strict carry_<noun> pattern, making the purpose of each immediately clear. This is perfectly consistent and predictable across the server.

    Tool Count5/5

    Six tools is well-scoped for a specialized data service: one snapshot, one live ranking, one history lookup, one universe list, plus method and health. Each earns its place without redundancy or bloat.

    Completeness5/5

    The server covers the full lifecycle of carry data delivery: explanation (method), overview (snapshot), live detail (rankings), single-coin history (history), underlying assets (universe), and reliability (health). No obvious gaps for the stated purpose.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Perp-first funding rate & RWA spread data for AI agents. 30+ CEX/DEX venues, 6 tools (4 x402-paywalled, 2 free), bring-your-own-wallet via Base mainnet.
      6
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Real-time perp market-data for AI trading agents — funding rates, funding-arb signals, open interest, volume, orderbook depth/slippage and oracle families across 25 venues, plus HIP-3 RWA coverage (tokenized stocks, metals, oil) that mainstream aggregators lack. x402-native pay-per-call (USDC on Base): one free funding screener tool + 11 paid tools with auto-pay.
      12
      35 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Read-only crypto perps microstructure for AI agents: normalized cross-exchange market state (funding + multi-year percentile, OI, volume, CVD, order-book imbalance, liquidations, basis), OHLCV, 15-min state history, and measured conditional outcomes (historical base rates, not predictions) — 6 assets across Binance, Bybit, OKX and Hyperliquid, every metric with self-declared coverage and freshness
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Live perpetual funding rates across Binance, Bybit, OKX with open interest and predicted next rate, pay-per-call via x402 micropayments (USDC on Base).
      MIT