MCP.so
登录

MCP Server for DefiLlama

@dcSpark

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

dcSpark

关于 MCP Server for DefiLlama

暂无概览

MCP Server for DefiLlama 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP Server for DefiLlama 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

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.

评论

其他 分类下的更多 MCP 服务器