@stakewise

StakeWise Staking

Ethereum staking tools with StakeWise protocol

当前版本
v1.0.2
code-plugin社区source-linked

StakeWise LLM Tools

Real-time StakeWise protocol data for AI assistants. Query vault APYs, user balances, staking rewards, osETH positions, withdrawal queues, and more — directly from the model.

Works with Claude Code, Cursor, Codex, OpenClaw, and any MCP-compatible tool.

What the model can do

  • Look up any StakeWise vault — APY, TVL, fee, capacity, osETH minting config
  • Show all vaults sorted by APY or browse the full vault list
  • Check a user's staked balance, minted/boosted osETH, and earned rewards across all vaults
  • Track historical vault performance and personal earnings over time (daily breakdown)
  • Monitor unstake and unboost queue status
  • Check private vault whitelist and whether a user is whitelisted
  • List vaults created (administered) by a given address

Setup

OpenClaw

OpenClaw's api.registerTool does not reliably expose MCP tools to the model. This plugin works around the issue by running a local HTTP server on port 5165 and using a skill file that instructs the model to call endpoints via curl.

Install the plugin:

openclaw plugins install clawhub:stakewise-llm-tools

Allow the model to execute curl against the local server:

openclaw config set tools.exec.security full
openclaw config set tools.exec.ask off

See openclaw#25652 for background on why this is required.

Restart the gateway and start a new conversation:

openclaw gateway restart

Then type /new in the chat to begin a fresh session with the plugin loaded.

Claude Code

Requires tsx installed globally:

npm i -g tsx

Create a .mcp.json file in the root of any project where you want to use these tools:

{
  "mcpServers": {
    "stakewise-llm-tools": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@stakewise/llm-tools"]
    }
  }
}

Restart Claude Code to apply.

Cursor

Go to Settings → Tools & MCPs → New MCP Server, and add to the opened mcp.json:

{
  "mcpServers": {
    "stakewise-llm-tools": {
      "command": "npx",
      "args": ["-y", "@stakewise/llm-tools"]
    }
  }
}

Codex

Add to .codex/config.toml in your project root:

[mcp_servers.stakewise-llm-tools]
command = "npx"
args = ["-y", "@stakewise/llm-tools"]

Available Tools

ToolDescriptionRequires address
save_addressSave user wallet for subsequent queriesNo
vaults_listAll StakeWise vaults sorted by APYNo
vault_dataPublic vault info (APY, fee, capacity, osETH config)No
vault_statsHistorical vault performance (daily APY, TVL, rewards)No
vault_whitelistWhitelist for a private vaultNo
staked_vaultsAll vaults where the user has a positionYes
vault_balanceUser's detailed position in a specific vaultYes
vault_queueUnstake & unboost queue statusYes
user_statsUser's personal earnings history in a vaultYes
created_vaultsVaults administered by the userYes

Example Prompts

  • "Show me the top StakeWise vaults by APY"
  • "What's my staking balance?" (the model will ask for your address first)
  • "How has Genesis Vault performed over the last 7 days?"
  • "Show my rewards in vault 0x..."
  • "Is my withdrawal ready?"
  • "Which vaults did I create?"
  • "Am I whitelisted in this vault?"

Requirements

  • Node.js >= 20.0.0
  • tsx installed globally (for MCP server mode)

License

MIT

源码与版本

源码仓库

https://github.com/stakewise/llm-tools

打开仓库

源码提交

https://github.com/stakewise/llm-tools/commit/fc4eead58622a0b11e6fa4f3f21b7abe39033073

查看提交

安装命令

openclaw plugins install clawhub:@stakewise/llm-tools

元数据

  • 包名: @stakewise/llm-tools
  • 创建时间: 2026/04/20
  • 更新时间: 2026/05/21
  • 执行代码:
  • 源码标签: https://github.com/stakewise/llm-tools/releases/tag/1.0.2

兼容性

  • 构建于 OpenClaw: 2026.4.6
  • 插件 API 范围: >=2026.4.2
  • 标签: latest
  • 文件数: 40