MCP.Market

Defillama MCP server

by friendlygeorge·io.github.friendlygeorge/defillama-mcp-server·v1.0.0

MCP server for DeFi Llama — free DeFi TVL, yields, stablecoins, bridges, DEX, and fee data for AI...

C66/100grade C
What users say
No reviews yet
Be the first
Safety scan
C66/100

full report

Adoption
New

0 stars

Reviews

Write one

Nobody has reviewed Defillama yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Defillama tools (8)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_bridges

    Get bridge TVL and volume data — cross-chain bridges ranked by total value locked.

  • get_dex_volumes

    Get DEX trading volumes across chains — decentralized exchanges ranked by 24h/7d volume.

  • get_protocol_fees

    Get protocol fee and revenue data — protocols ranked by 24h/7d/30d fees and revenue.

  • get_protocol_tvl

    Get detailed TVL breakdown for a specific DeFi protocol (chain distribution, TVL history, category, description).

  • get_stablecoins

    Get stablecoin market cap data and rankings (circulating supply, chains, prices).

  • get_tvl_by_chain

    Get total TVL for a specific chain (Ethereum, Arbitrum, Base, Solana, etc.) plus chain-level token breakdown.

  • get_yields

    Get yield/APY data for lending pools and staking across DeFi protocols. Filter by chain, project, or min TVL.

  • search_protocols

    Search DeFi protocols by name. Returns top results with TVL, chains, and category.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

1 high
  • Code scan5 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancerepository archived0/15
  • Maintainer identityregistry namespace matches repository owner6/10

Findings (1)

  • highRepository is archivedmaint.archived
Overall 66/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Defillama compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
66/100
higher than 23% of 48,255 servers
Tools
8
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break

What its tools let an agent do: 8 read

Install Defillama in Claude Code, Cursor or VS Code

Runs npx -y defillama-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add defillama-mcp-server -- npx -y defillama-mcp-server
Add to Cursor

What the publisher says

From the Defillama repository's README, as published. We do not edit it. Read it on GitHub

DeFi Llama MCP Server

An MCP server for DeFi Llama — connect any MCP-compatible client to free DeFi protocol data.

What is this?

An MCP (Model Context Protocol) server that gives AI assistants and agents access to DeFi Llama's free DeFi data API — protocol TVL, chain TVL, yield pools, stablecoins, cross-chain bridges, DEX volumes, and protocol fees — through natural language.

Use it with Claude Desktop, Cursor, Windsurf, Cline, Continue, or any MCP-compatible client to ask questions about DeFi protocols, track TVL movements, compare yields, and explore the on-chain economy.

Why use this?

  • No API key required — DeFi Llama is a free public API
  • 8 built-in tools — covers the most common DeFi data queries
  • Clean markdown output — results read naturally in chat
  • Rate-limited automatically — polite 500ms throttle across all endpoints

Tools

Quick Start

1. Add to your MCP client

Add this to your MCP client config (e.g. claudedesktopconfig.json):

{
  "mcpServers": {
    "defillama": {
      "command": "npx",
      "args": ["-y", "defillama-mcp-server"]
    }
  }
}

That's it. npx downloads and runs it automatically. No API key, no install step.

2. Use it

Ask your AI assistant things like:

  • "What are the top DeFi protocols by TVL on Ethereum?"
  • "Search for Aave and show me the chain breakdown"
  • "What's the total TVL on Arbitrum?"
  • "Show me the highest yield stablecoin pools on Base with at least $10M TVL"
  • "List the top 5 stablecoins by market cap"
  • "Which bridges have the most TVL?"
  • "Show me DEX trading volumes for the last 24h"
  • "What are the protocols with the most fees?"

Example Output

search_protocols

Top 5 protocols matching "aave" (by TVL):

- **Aave** (AAVE) — TVL: $12.45B | Category: Lending | Chains: Ethereum, Arbitrum, Polygon, Base, Optimism, +6 | Slug: `aave`
- **Aave v2** (AAVE) — TVL: $4.20B | Category: Lending | Chains: Ethereum, Polygon, Avalanche | Slug: `aave-v2`
- **Aave v3** (AAVE) — TVL: $8.10B | Category: Lending | Chains: Ethereum, Arbitrum, Polygon, Base, Optimism | Slug: `aave-v3`

get_yields

Top 5 yield pools (chain: Ethereum | min TVL: $10.00M | min APY: 0%):

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Defillama: common questions

Is Defillama MCP server safe?
With care: it is graded C, so read the findings first (66/100). Read the Defillama safety report
How do I install Defillama?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Defillama need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Defillama maintained?
The last commit was 146 days ago (2026-06-11). The latest release is v1.0.0.
How does Defillama compare with other MCP servers?
safety score 66/100 (higher than 23% of 48,255 servers); tools 8 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from friendlygeorge →