Carrydesk

io.github.pelazas由 GitHub 账号 pelazas 发布v0.1.2更新于 Oct 24, 2026

Funding-carry rankings for Hyperliquid perps, metered per call in USDC via x402.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

Carrydesk 让助手获取 Hyperliquid 永续合约的资金费率套利排名,免费提供延迟快照,付费实时数据按次以 USDC 计费。

可以做什么
获取免费的资金费率快照(多头与空头各前五名,延迟 24 小时),以及计算方法和健康检查接口。获取可调参数 k 的完整实时排名、单个币种的历史排名与资金费率,以及按成交量、未平仓量和资金费率排列的流动永续合约池。查看价差数据,包括截尾与中位数变体、异常值标记以及头条数值。付费调用通过 x402 计费:服务器返回付款要求,客户端在 Base 上支付 USDC 后重试。
适用场景
适合让助手拉取 Hyperliquid 资金费率套利排名和单币历史用于研究或监控,并且你接受为实时数据按次支付 USDC。不配置钱包时仍可使用免费延迟快照和方法说明。
运行要求
以 Python 包形式通过 uvx 在本地运行,需要 Python 和 uv。需要能访问默认 API 地址的网络,可用 CARRYDESK_API_BASE 覆盖。无需账户或 API 密钥。付费工具需要 CARRYDESK_PRIVATE_KEY,即持有 Base 上 USDC 的热钱包私钥。
安装前请注意
设置 CARRYDESK_PRIVATE_KEY 后,付费工具会自动花费 Base 上的真实 USDC,本地进程可接触到有余额的热钱包私钥。数据仅供参考,不构成投资建议;价差可能为负,数值未扣除手续费、滑点和借贷成本。依据头条价差操作前应先看截尾和中位数变体。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Carrydesk,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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

EndpointPrice
freeGET /v1/free/carry — top 5 each leg, delayed 24h—
freeGET /v1/method — how it is computed, and the caveats—
freeGET /health—
paidGET /v1/carry/rankings — full live ranking, tunable k$0.05
paidGET /v1/carry/history/{coin} — archived rank + funding$0.02
paidGET /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.


Quick start

bash
curl -s https://carry.pelazas.com/v1/free/carry | jq
json
{  "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

bash
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

bash
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

FileWhat
BACKLOG.mdDeliberately deferred work, with the reason for each
AGENTS.mdOnboarding for an AI agent picking this up cold — gotchas, rules, what is unverified
STATUS.mdCurrent state, what is blocked, what is next
DECISIONS.mdWhy each significant choice was made

来源:README.md,提交 8766f71

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分