MCP.so
Sign In

MCP Server for DefiLlama

@dcSpark

About MCP Server for DefiLlama

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server for DefiLlama?

MCP Server for DefiLlama is a Model Context Protocol server that gives Claude access to DeFi data through the DefiLlama API. It allows Claude to retrieve protocol TVL, chain TVL, token prices, and stablecoin information.

How to use MCP Server for DefiLlama?

Run the server via npx (npx @mcp-dockmaster/mcp-server-defillama) or by cloning the repo, installing dependencies, and building. To use it with Claude Desktop, add a JSON entry under Settings > Developer Settings > MCP Servers using the npx command or a local path to the built index.js.

Key features of MCP Server for DefiLlama

  • List all protocols tracked by DefiLlama
  • Get TVL data for a specific protocol
  • Get TVL data for a specific chain
  • Fetch current token prices
  • Retrieve historical token prices
  • List and query stablecoin data

Use cases of MCP Server for DefiLlama

  • Ask Claude for the total value locked in Uniswap
  • Compare TVL across different blockchains
  • Get the current price of ETH or other tokens
  • Look up a historical token price on a given date
  • Find all tracked stablecoins and their details

FAQ from MCP Server for DefiLlama

What tools does MCP Server for DefiLlama expose?

It exposes tools for protocols (defillama_get_protocols, defillama_get_protocol_tvl), chains (defillama_get_chain_tvl), tokens (defillama_get_token_prices, defillama_get_historical_prices), and stablecoins (defillama_get_stablecoins, defillama_get_stablecoin_data).

How do I run the server?

Use npx @mcp-dockmaster/mcp-server-defillama (recommended) or clone the repository, run npm install and npm run build, then execute with Node.

How do I configure it with Claude Desktop?

Open Claude Desktop, go to Settings > Developer Settings > MCP Servers, edit the configuration JSON, and add an entry under mcpServers using either the npx command or a local path to the built server.

What are the prerequisites?

Node.js v16 or higher is required.

Does the server require installation?

No, you can run it directly via npx without installing anything locally.

Frequently asked questions

What tools does MCP Server for DefiLlama expose?

It exposes tools for protocols (`defillama_get_protocols`, `defillama_get_protocol_tvl`), chains (`defillama_get_chain_tvl`), tokens (`defillama_get_token_prices`, `defillama_get_historical_prices`), and stablecoins (`defillama_get_stablecoins`, `defillama_get_stablecoin_data`).

How do I run the server?

Use `npx @mcp-dockmaster/mcp-server-defillama` (recommended) or clone the repository, run `npm install` and `npm run build`, then execute with Node.

How do I configure it with Claude Desktop?

Open Claude Desktop, go to Settings > Developer Settings > MCP Servers, edit the configuration JSON, and add an entry under `mcpServers` using either the npx command or a local path to the built server.

What are the prerequisites?

Node.js v16 or higher is required.

Does the server require installation?

No, you can run it directly via npx without installing anything locally.

Comments

More Other MCP servers