
Hyperliquid / HyperEVM
io.github.sand0vvv由 GitHub 账号 sand0vvv 发布v1.4.0更新于 Oct 24, 2026
Read-only Hyperliquid and HyperEVM data: yields, protocols, fees, markets, funding, depth.
概览
只读 MCP 服务器,让助手查询 Hyperliquid 与 HyperEVM 数据:收益、协议、费用、永续行情、资金费率、质押、订单簿和公开钱包。
- 可以做什么
- 查询 HYPE 各类收益:流动性质押、借贷、LP 与金库,并区分真实收益与代币排放
- 按 TVL、增长和用户实付费用比较 HyperEVM 协议,并可查看单个协议详情
- 查看永续标记价格、资金费率、未平仓量、现货交易对及跨平台预测资金费率
- 按预测 APR、佣金和在线率对 HYPE 验证者排序
- 查看某个池子的 APY 与 TVL 历史,或资金费率在数日内的表现
- 查看任意公开地址:持仓、盈亏、强平价、现货余额与质押情况
- 适用场景
- 适合让助手用自然语言回答 Hyperliquid 生态问题:比较收益、判断高 APY 是真实收益还是主要来自代币排放、检查资金费率是否稳定,或查看某个公开钱包。它只读,适合研究与尽调,不适合下单交易。
- 运行要求
- 通过 npx 以 stdio 在本机运行,需要 Node.js 20 或更高版本。无需账号、API 密钥、环境变量或请求头。会访问四个硬编码的公开主机(Hyperliquid API 与 RPC、DefiLlama API 与 yields API),因此需要网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Hyperliquid / HyperEVM,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
hyperevm-mcp
Ask your AI assistant about the Hyperliquid ecosystem in plain English. It reads. There is nowhere to put a private key, and that is the whole security model.
Four of those cells read n/a. That is the point: stHYPE publishes no yield pool, and kHYPE's weekly delta came back from the source implying the pool paid nothing seven days ago, which its own daily history contradicts. A number we cannot stand behind is not printed.
The vault row shows the same rule twice over. HLP has no pool on DefiLlama at all, so a table built from that source alone silently omits the largest single place to deposit on the chain — it is read from Hyperliquid instead. And Hyperliquid's own APR field for it is not shown, because the same value means one thing as an annual rate and something 365 times larger as a daily one, and the vault's history does not settle which. What is shown is realised profit and loss per window, divided here, where the arithmetic is ours to defend.
Then ask whether to believe one of those rates:
Zero earned, every day, for a month.
Install
Claude Code
Cursor, Claude Desktop, or any MCP client — add to the config file:
That is the whole setup. Nothing to fill in afterwards — there is no account to authenticate against.
Try asking
- what's the best HYPE yield right now
- compare lending rates on HyperEVM
- which HYPE pools are just token emissions and which actually earn
- has that 40% APY held up, or is it decaying
- is BTC funding actually stable, or was that one hour
- who earns the most fees on this chain
- could I actually get out of $500k of HYPE
- which protocols grew this week
- tell me about HyperLend
- what's in this wallet: 0x…
- where should I stake HYPE and what does the commission cost me
Tools
Nine tools. Five report the present, three report how it got there, one reads an address.
The pairs are deliberate. hyperevm_yields and hl_market tell you what a number is now; hyperevm_pool_history and hl_funding tell you whether to believe it. A 47% pool that has been 100% emissions for a month and a 20% pool earning fees are not the same product, and only the second pair can tell them apart.
Slash commands
The server also ships MCP prompts, which appear as slash commands in Claude Code:
What this server does not do
It has no write path. Not "disabled by default" — the code to sign or send anything does not exist.
- Nothing here can move money. The code that would sign a transaction is not in this package.
- Nothing to configure either: the server reads no environment variables, so there is nothing to leak.
- The filesystem is never touched, no process is ever started, and no telemetry leaves the machine.
- Talks to exactly four hosts, hardcoded in
src/core/http.ts:api.hyperliquid.xyz,api.llama.fi,yields.llama.fi,rpc.hyperliquid.xyz. No tool takes a URL, host or chain as a parameter.
None of that is a promise — it is a test. npm run audit checks every line above against the
source and exits non-zero if one stops being true; it runs in CI before publish. Adding a fs import
or a second network host fails the build rather than reaching you:
The whole server is a few thousand lines of TypeScript. It is meant to be read before you install it.
Three details worth knowing
Lending rates are not where they look like they are. DefiLlama's /pools reports 0.00% for
collateral markets — truthfully, since their supply rate really is zero. The rate lives in a second
endpoint, /lendBorrow, joined on the pool id. A naive integration prints a table of zeros over a
$239M market. This one joins them and shows supply, borrow and utilisation separately.
Missing data is shown as missing. stHYPE ($172M) and beHYPE publish no yield pool on DefiLlama,
so their APY appears as n/a next to their real TVL, with the network staking APR printed above as a
reference. A zero standing in for "unknown" would be the most expensive thing this tool could print.
Emissions are not yield. The top pools by headline APY are often paying entirely in their own
token. The table carries a Base column next to APY, so 48.86% / base 0.00% reads as what it is,
and a note names the rows where most of the number is emissions. The 7d column shows the same
thing over time: that pool's APY fell 30 percentage points in a week.
Third-party text and prompt injection
This server is read-only and cannot act. But it carries text written by strangers into your agent's context, next to whatever else that agent can do — a wallet, a shell. Validator names on Hyperliquid are free text set by whoever runs the validator; DefiLlama protocol names come from pull requests. So the text is treated as hostile, in three layers.
1. Fields that are not needed are never read. description — 445 characters of free text on a
validator, 599 on a DefiLlama protocol — is not parsed anywhere in the code. The audit fails the build
if that changes.
2. An allowlist, not a blocklist. Everything printed passes a filter that keeps letters, digits,
currency signs and a short list of punctuation, and drops everything else. Not a list of bad
sequences to catch — a list of what may pass. So <|im_start|>, [INST], ###, {{, backticks and
table pipes cannot survive, because the characters that build them are not on the list. Input is
NFKC-normalised first, so full-width lookalikes fold to ASCII before the filter rather than after.
3. The type system, not discipline. Sanitised text has its own type. The renderers accept nothing else, so printing a raw upstream field is a compile error rather than a code-review miss. There is exactly one place where that type can be created from a plain string, and the audit fails the build if a second appears.
A test feeds a poisoned upstream response — chat-template markers, a javascript: URL, an injected
instruction, a fence in the slug — through a real tool and asserts that none of it reaches the output
in a form that can do anything.
What this does not do: it cannot stop plain English. A validator named "ignore previous instructions" still reads as those words. The answers to that are the field whitelist, the 24-character cap, and the fact that this server exposes no action for such a sentence to trigger — not a cleverer filter. Anyone claiming a filter solves prompt injection is selling something.
Details in SECURITY.md.
Requirements
Node 20 or newer. Two direct dependencies: @modelcontextprotocol/sdk and zod.
(The SDK brings its own tree, as it does for every MCP server; nothing else is added on top.)
Development
Individually:
The unit tests cover the parts that decide what a reader sees: that "unknown"
renders as n/a and never as 0, that percentage points and percentages stay
different units, that a cell cannot forge a table column, that a failed refresh
serves the previous answer and says so. The behaviour checks drive poisoned
upstream responses through whole tools.
Disclaimer
Unofficial and community-built. Not affiliated with Hyperliquid or with any protocol listed. Data comes from public APIs and may be delayed or wrong; DefiLlama refreshes roughly every 30 minutes. When a refresh fails the previous answer is served with a visible "REFRESH FAILED, this is N min old" label rather than an error — old data is useful, old data pretending to be fresh is not. Not financial advice.
MIT © sand0vvv
来源:README.md,提交 8063254
工具
0版本历史
1- v1.4.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分