Repository avatar
AI Tools
v1.0.1
active

defillama-tvl-stablecoins-mcp

io.github.theluckystrike/defillama-tvl-stablecoins-mcp

Live DeFiLlama protocol TVL, chain rankings, stablecoin pegs, and supply intelligence.

Documentation

defillama-tvl-stablecoins-mcp

Live DeFiLlama protocol Total Value Locked (TVL), chain rankings, stablecoin peg monitoring, and circulating supply analytics over Model Context Protocol (MCP). Treasury desks, risk analysts, and DeFi research teams can inspect on-chain liquidity with zero API keys and zero sign-up. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://defillama-tvl-stablecoins-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
get_protocol_tvlFetch current TVL, per-chain breakdown, market cap, and 7-day trend for a protocol slug
list_top_protocolsRank top DeFi protocols by TVL with optional category or chain filters
get_chain_tvl_rankingsRank blockchain networks by TVL and market share across DeFi
list_stablecoins_pegList top stablecoins by circulating supply with live USD price, peg deviation in bps, and 1d/7d changes
get_stablecoin_detailsRetrieve stablecoin peg mechanism, live price, circulating supply, and chain distribution

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "defillama-tvl-stablecoins": {
      "url": "https://defillama-tvl-stablecoins-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.llama.fi and stablecoins.llama.fi with a polite User-Agent header (mcpstamp-defillama/1.0 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 down to the SDK version cleanly.

More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.