1. Conduid
  2. Blockchain
  3. Defillama
MCP server · Blockchain

Defillama

DefiLlama MCP — DeFi analytics from DefiLlama (free, no auth)

Unclaimed blockchain
37Low

Scored 6 days ago · breakdown

About Defillama

Defillama is an MCP server in the Blockchain category: defiLlama MCP — DeFi analytics from DefiLlama (free, no auth).

Install

Claude Code
claude mcp add defillama -- npx -y @iqai/defillama-mcp
npx
npx -y @iqai/defillama-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Defillama

Powered by Claude · Grounded in docs

I know everything about Defillama. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Server for DefiLlama

This repository contains a Model Context Protocol (MCP) server that provides Claude with access to DeFi data via the DefiLlama API. The server enables Claude to perform operations like retrieving protocol TVL data, chain TVL data, token prices, and stablecoin information.

Overview

The MCP server exposes the following tools to Claude:

Protocol Data

  • defillama_get_protocols: List all protocols tracked by DefiLlama
  • defillama_get_protocol_tvl: Get TVL data for a specific protocol

Chain Data

  • defillama_get_chain_tvl: Get TVL data for a specific chain

Token Data

  • defillama_get_token_prices: Get current prices of tokens
  • defillama_get_historical_prices: Get historical prices of tokens

Stablecoin Data

  • defillama_get_stablecoins: List all stablecoins tracked by DefiLlama
  • defillama_get_stablecoin_data: Get data for a specific stablecoin

Prerequisites

  • Node.js (v16 or higher)

Running the server

Option 1: Using npx (Recommended)

npx @mcp-dockmaster/mcp-server-defillama You can run the MCP server directly without installation using npx: This will download and execute the server directly from npm.

Option 2: Manual Installation

Clone this repository: git clone https://github.com/mcp-dockmaster/mcp-server-defillama.git Install dependencies: npm install Build the project: npm run build

Claude Usage

To configure Claude Desktop to use this MCP server:

Open Claude Desktop, and navigate to Settings>Developer Settings>MCP Servers. There you'll encounter the button to open the configuration JSON file.

Add the MCP server configuration:

{
  "mcpServers": {
    "mcp-server-defillama": {
      "command": "npx",
      "args": [
        "@mcp-dockmaster/mcp-server-defillama"
      ]
    }
  }
}

Alternatively, if you installed the package locally:

{
  "mcpServers": {
    "mcp-server-defillama": {
      "command": "node",
      "args": [
        "/path/to/your/mcp-server-defillama/build/index.js"
      ]
    }
  }
}

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Defillama

How do I install Defillama?

Run claude mcp add defillama -- npx -y @iqai/defillama-mcp, then add the server to your MCP client's configuration.

Is Defillama safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Defillama still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.