Skip to main content
Glama
pelazas

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full responsibility for behavioral disclosure. It does not state whether the operation is read-only, what it returns, or any side effects, leaving the agent without critical safety and behavior context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise, consisting of only a few words. It efficiently conveys the core purpose, though 'FREE' is arguably extraneous and the lack of structure makes it slightly less polished.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is low-complexity with no parameters, but there is no output schema, so the description should specify what the response looks like. It does not mention return format or error behavior, leaving a gap for agents relying solely on this description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so there is nothing to document. The description does not add parameter details, but the empty schema means no additional explanation is needed, matching the baseline for parameterless tools.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly indicates the tool's focus on service health and data freshness, distinguishing it from sibling tools. Although it lacks an explicit verb like 'check' or 'get', the intent is clear and not a tautology.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit usage guidance is provided. The purpose implies it is for checking health status, but there are no stated exclusions or comparisons to alternative tools, making it only implicitly useful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
coinYes
daysNo

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the cost ('PAID (~$0.02 USDC)'), the data source ('carrydesk's own published snapshots'), and the timeframe ('archived'), which are key behavioral traits. It does not detail return format or failure modes, but for a simple historical data retrieval, this is sufficient transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is exactly two sentences: the first front-loads the cost and the core functionality, the second gives a practical usage guide. Every word earns its place, with no redundancy or filler. The structure is highly efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with only two parameters, no annotations, and no output schema, the description adequately covers the essential purpose, cost, and usage scenario. It doesn't describe return values or pagination, but those are not critical given the tool's simplicity and the lack of an output schema requirement. The sibling context is implicit in the use-case wording.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It refers to 'one coin' which aligns with the required 'coin' parameter, but it does not explain the 'days' parameter beyond the schema's default. Since the parameters are simple and the description at least hints at the coin concept, it provides minimal added value but not enough to fully cover the 0% schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool provides 'Archived rank and trailing funding history for one coin', which identifies both the resource (rank and trailing funding history) and the scope (one coin). The verb 'Use to check' clarifies the intended action. This distinguishes it from siblings like carry_snapshot (current data) and carry_rankings (rankings across coins).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a specific use case: 'to check whether a coin's carry is persistent or a one-day artifact.' This implies using it when you need historical context rather than a current snapshot. It doesn't explicitly mention alternatives or when not to use it, but the sibling context and the specificity of the use case provide clear guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It adds context by mentioning 'caveats that matter before anyone trades' and notes the tool is 'FREE'. However, it does not explicitly disclose whether the tool has side effects, the nature of its return value, or any limitations beyond referencing caveats. It is not misleading, but it lacks rich behavioral detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with 'FREE' and the core purpose. Each clause adds value: what it explains, key topics, and a caveat about use. No filler or tangential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description covers the essential context: what the tool is about, why it matters, and when to use it. It mentions specific aspects (universe filter, lookback, leg construction) and flags caveats. It does not explicitly state what the return format will be, but for a 'method' tool, the content is adequately outlined.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and the schema is empty with 100% coverage (nothing to describe). According to the rubric, 0 params defaults to baseline 4. The description does not add parameter-specific meaning because there are none, so no deduction applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states 'How the carry ranking is computed', specifying the content (universe filter, lookback, leg construction). This clearly distinguishes it from sibling tools like carry_rankings (which likely provide rankings) and carry_snapshot (which provides data snapshots). It answers not just what but also the scope of the tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear usage directive: 'Read this before presenting the numbers as actionable.' This tells the agent when to use the tool relative to other carry tools. It does not explicitly name alternatives or exclusions, but the timing requirement is explicit and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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).

ParametersJSON Schema
NameRequiredDescriptionDefault
kNo
min_volumeNo

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full transparency burden. It prominently discloses a cost of ~$0.05 USDC and specifies the use of trailing 14d mean funding annualized. It does not mention rate limits or error behavior, but the cost disclosure and calculation details are valuable traits beyond what schema shows.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, dense sentence that packs multiple pieces of information: cost, live scope, calculation window, output weights, and a parameter hint. It is front-loaded with the cost warning, making it efficient though slightly dense to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description does enumerate response contents (rank, long/short leg, dollar-neutral weights, spread outliers). However, it omits any explanation of min_volume, a parameter with a default of 0. Without this, the agent may not know how to set the filter, leaving a clear gap for a two-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 2 parameters with 0% description coverage. The description adds meaning for k ('coins per leg' with range 1-20), but min_volume is completely unmentioned. Since half the parameters are undocumented, the description only partially compensates for the schema's lack of description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool provides a full live cross-sectional funding-carry ranking across all liquid Hyperliquid perps, with specific output components like rank, long/short leg weights, and spread variants. This distinguishes it from sibling tools such as carry_snapshot or carry_history by emphasizing cross-sectional coverage.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when a cross-sectional ranking is needed and explains how to adjust k for the number of coins per leg. However, it does not explicitly compare to sibling tools like carry_snapshot or carry_history, so the agent must infer when alternatives are more appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains cost (FREE), data latency (Delayed 24h), and output structure (top 5 coins on each leg with long/short definitions), which is substantial for a zero-parameter tool. It lacks details about return format or limits, but nothing contradicts the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with 'FREE' and immediately stating the core purpose. Every clause provides useful information: cost, resource, scope, legs, spread, delay, and usage recommendation. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no parameters and no output schema, the description is fully complete: it explains what data it returns (top coins, spread), the latency, the cost, and the intended use order. An agent can decide to invoke this tool without any additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so the baseline is 4. The description adds value by explaining the concept of funding-carry and defining the long/short terms, which helps an agent understand what the snapshot means even without parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states what the tool does: provides a cross-sectional funding-carry snapshot for Hyperliquid perps, listing the top 5 coins per leg plus the carry spread. It uses a specific noun phrase and precise scope, distinguishing it as the entry-point snapshot among siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly advises 'Use this first,' providing clear context that this is the initial tool to call before diving into more specialized siblings. It does not explicitly name alternatives or exclusions, but the recommendation is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

carry_universeA

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of behavioral disclosure. It does disclose a notable trait: the tool is paid (~$0.01 USDC) and the data is sorted by daily notional volume. However, it does not explicitly state whether it is read-only, whether it requires authentication, or what the response format looks like, leaving gaps in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that front-loads the most critical information (cost) and then concisely states the resource and its attributes. No wasted words or redundant details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description provides a reasonable picture of what the tool returns: the liquid perp universe sorted by daily notional volume, including open interest, mark price, and funding. With no output schema, it defines the core data content. However, it does not mention pagination, result limits, or the exact response structure, which would be helpful but not essential for a simple list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the schema is fully covered and the baseline is 4. The description adds meaning by naming the data fields (open interest, mark price, current funding) that the tool returns, which compensates for the lack of any parameter detail. No further parameter semantics are needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies a specific resource (the liquid Hyperliquid perp universe) and specifies its contents (sorting, fields). It indirectly differentiates from sibling tools like carry_snapshot or carry_history by focusing on the full universe. However, it lacks an explicit action verb such as 'fetch' or 'list', which would make the purpose more direct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any exclusions or comparison with sibling tools like carry_snapshot or carry_rankings. The only context is what the data is, not the use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 6 tool updatesv0.1.0
    • First observedcarry_health
    • First observedcarry_history
    • First observedcarry_method
    • First observedcarry_rankings
    • First observedcarry_snapshot
    • First observedcarry_universe

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

ActivityMaintained
ResponsivenessNo 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
    C
    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
    15
    2
    MIT
  • A
    license
    Not graded
    quality
    A
    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
    B
    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