Skip to main content
Glama
graph-lido-mcp

graph-lido-mcp

by Tango86

graph-lido-mcp

MCP server for querying Lido liquid staking protocol data via The Graph's decentralized network.

16 tools, 5 guided prompts. Staking stats, APR history, withdrawals, node operators, governance, and more.

Setup (30 seconds)

  1. Get a free API key from Subgraph Studio

  2. Add to your MCP client config:

{
  "mcpServers": {
    "graph-lido": {
      "command": "npx",
      "args": ["-y", "graph-lido-mcp"],
      "env": {
        "GRAPH_API_KEY": "your-api-key"
      }
    }
  }
}

Works with Claude Desktop, Cursor, Cline, and any MCP-compatible client.

Related MCP server: everstake-mcp

Tools

Protocol Stats

  • get_lido_stats - Total pooled ETH, shares, unique holders, fee structure, staking status, withdrawal queue status

  • get_staking_apr - APR history from oracle reports with fee breakdown and MEV fees

Staking Activity

  • get_recent_submissions - Recent stETH deposits with amounts, shares received, referrals

  • get_recent_transfers - stETH token transfers with optional address and minimum value filters

  • get_holder_shares - Look up any address's current stETH share balance and computed ETH value

Withdrawals

  • get_withdrawal_requests - Pending withdrawal requests (unstaking)

  • get_withdrawal_claims - Completed withdrawals (ETH received)

  • get_withdrawals_finalized - Finalization batches (ETH locked, shares burned)

  • get_shares_burns - Share burn events from withdrawal processing

Node Operators

  • get_node_operators - Professional validator operators: names, staking limits, stopped validators

Oracle

  • get_oracle_reports - Beacon chain balance and validator count per epoch

Governance

  • get_governance_votes - Lido DAO Aragon votes with proposal metadata

  • get_vote_details - Individual voter records for a specific proposal

  • get_easytrack_motions - Lightweight governance motions for routine operations

Escape Hatch

  • get_lido_schema - Introspect the full GraphQL schema

  • query_lido_subgraph - Run any raw GraphQL query

Guided Prompts

Prompt

Description

staking_overview

Total ETH staked, current APR trend, recent deposits, holder count

withdrawal_monitor

Queue health, pending requests, recent claims, net flow direction

governance_digest

Recent DAO votes, EasyTrack motions, contentious decisions

node_operator_analysis

Operator set diversity, stopped validators, staking limits

whale_tracker

Large deposits, big transfers, whale withdrawal patterns

Example Prompts

"What is the current Lido staking APR?"
"How much total ETH is staked with Lido?"
"Show me whale deposits over 100 ETH"
"Who are Lido's node operators?"
"What's the withdrawal queue status?"
"Show me recent DAO governance votes"
"Look up the stETH balance for 0x..."
"What EasyTrack motions were enacted this month?"

Known Limitations

shares_collection vs shares

The Lido subgraph uses _collection suffix for plural entity queries (e.g., shares_collection, totals_collection). Standard GraphQL plural naming (shares) refers to the singular lookup requiring an id argument. If writing raw queries via query_lido_subgraph, use the _collection suffix to query multiple entities.

totals(id: "") convention

The Lido subgraph stores singleton entities (like protocol-wide totals) using an empty string as their ID. This is unusual but intentional. Raw queries for totals should use totals(id: "").

Data Source

All data is queried from Lido's official subgraph deployed on The Graph's decentralized network. Every query generates fees for Indexers on the network. 13 active Indexers serve this subgraph.

License

MIT

Available Tools

20 tools
get_address_activityA

Get all Lido activity for a specific address: stETH balance, recent deposits, transfers (in/out), and withdrawal requests. Single view of an address's complete Lido interaction history

Inputs: address (required), limit.

get_easytrack_motionsA

Get Lido EasyTrack motions. EasyTrack is a lightweight governance mechanism for routine operations (budget allocations, reward programs) that do not require full DAO votes

Inputs: limit, status.

get_governance_votesB

Get Lido DAO governance votes (Aragon voting). Shows proposal metadata, execution status, and individual votes

Inputs: limit, executed.

get_holder_sharesB

Look up the current stETH share balance for a specific address. Shares represent proportional ownership of the staking pool

Inputs: address (required).

get_lido_schemaA

Introspect the Lido subgraph GraphQL schema. Returns all available entity types and their fields. Useful for building custom queries

Inputs: no named parameters.

get_lido_statsA

Get current Lido protocol statistics: total pooled ETH, total shares, unique holders, fee structure, and withdrawal queue status

Inputs: no named parameters.

get_node_operatorsA

Get Lido node operators: names, staking limits, active status, stopped validators. These are the professional validator operators running Ethereum validators for Lido stakers

Inputs: limit, active_only.

get_oracle_reportsB

Get Lido oracle completed reports: beacon chain balance, validator count per epoch. Oracle reports trigger reward distribution and stETH rebase

Inputs: limit.

get_recent_submissionsA

Get recent stETH staking submissions (deposits). Shows who staked, how much ETH, shares received, and the effect on total pooled ether

Inputs: limit, min_amount_eth.

get_recent_transfersA

Get recent stETH token transfers. Track large stETH movements between addresses

Inputs: limit, address, min_value_eth.

get_shares_burnsA

Get stETH shares burn events. Shares are burned during withdrawal processing, reducing total supply

Inputs: limit.

get_staking_aprB

Get Lido staking APR history from oracle reports. Returns APR (after fees), APR before fees, total rewards, MEV fees, and fee breakdown per report period

Inputs: limit.

get_staking_net_flowA

Calculate net staking flow: compare recent deposits (submissions) vs withdrawal requests to determine if Lido is growing or shrinking. Returns totals for each side and the net direction

Inputs: limit.

get_steth_ratio_historyA

Get the historical stETH/ETH exchange ratio derived from oracle reward reports. Shows how stETH appreciates over time relative to ETH as staking rewards accrue. The ratio should always be >= 1 and slowly increasing

Inputs: limit.

get_top_holdersA

Get the largest stETH holders ranked by share balance. Shows addresses, share count, and estimated stETH value. Useful for tracking whale concentration and institutional holders

Inputs: limit.

get_vote_detailsA

Get detailed voting records for a specific Lido DAO governance vote. Shows all individual voter addresses, their vote direction, and stake weight

Inputs: vote_id (required).

get_withdrawal_claimsA

Get recent claimed (completed) withdrawals. Shows who received ETH back after the withdrawal queue processed their request

Inputs: limit, owner.

get_withdrawal_requestsA

Get recent stETH withdrawal requests. Shows who is requesting to unstake, how much stETH, and the shares being burned

Inputs: limit, owner.

get_withdrawals_finalizedA

Get withdrawal finalization batches. Shows when the protocol finalized withdrawal request ranges, locking ETH and burning shares

Inputs: limit.

query_lido_subgraphA

Run any raw GraphQL query against the Lido subgraph. Escape hatch for advanced queries not covered by other tools. Use get_lido_schema first to discover available entities and fields

Inputs: query (required), variables.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 20 tools

    Disambiguation5/5

    Each tool targets a specific Lido protocol aspect (address activity, governance, withdrawals, etc.) with clearly distinct purposes. No overlapping functionality; even related tools like withdrawal requests and claims are well-separated.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with underscores (e.g., get_address_activity, get_governance_votes). The outlier query_lido_subgraph also follows verb_noun, maintaining the pattern.

    Tool Count5/5

    20 tools appropriately cover the multifaceted Lido protocol (staking, withdrawals, governance, node operations, etc.) without being overwhelming. Each tool earns its place.

    Completeness5/5

    The tool set comprehensively covers Lido's read-only surface: deposits, withdrawals, governance, monitoring stats, transfers, and edge cases via raw subgraph queries. No obvious gaps for the intended domain.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      An MCP server that enables querying Polymarket prediction market data through The Graph subgraphs. It provides tools for accessing market stats, trader P\&L, user positions, and orderbook activity using AI agents.
      35
      89 npm
      4
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      An MCP server for Everstake's non-custodial staking data across 130+ networks: live APY, uptime metrics, rewards calculator, integrations, security and compliance. Built for asset managers, custodians, and exchanges evaluating institutional staking.
      11
      1
      BSD 3-Clause
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that gives any AI agent full access to Lido Finance's staking infrastructure through natural language. Stake ETH, manage positions, request withdrawals, and monitor protocol stats.
      -