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 分