MCP.so
Sign In

MCP Server for DefiLlama

@dcSpark

Basic information

Category

Other

Last updated

License

MIT

Transports

stdio

Author

dcSpark

About MCP Server for DefiLlama

No overview available yet

MCP Server for DefiLlama 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"
      ]
    }
  }
}

MCP Server for DefiLlama tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

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

Frequently asked questions

1

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`).

2

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.

3

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.

4

What are the prerequisites?

Node.js v16 or higher is required.

5

Does the server require installation?

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

Comments

More Other MCP servers