DD

defillama/defillama-skills

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

36 stars 质量 58 趋势 12

DefiLlama MCP 技能

概览

DefiLlama MCP代理技能——23款DeFi分析工具,配备引导式工作流程。 前往自定义→连接器 → + → 添加自定义连接器。名称:DefiLlama,网址:https://mcp.defillama.com/mcp. 点击添加并登录。 运行 /mcp,导航到 DefiLlama 服务器,按回车,选择“认证”。 第一次连接时,你的浏览器会打开DefiLlama的登录页面。登录后就完成了。 mcp-remote 输出一个 OAuth URL。在手机或电脑上打开,登录,然后复制本地主机:...重定向后从浏览器地址栏复制 URL,然后发送回代理。 没有API密钥,也没有环境变量。只登录一次。

概述(AI 翻译)

DefiLlama MCP代理技能——23款DeFi分析工具,配备引导式工作流程。

快速安装

将此提示粘贴到你的AI代理中:

手动设置

1.添加MCP服务器

Claude.ai(网络): 前往自定义→连接器 → + → 添加自定义连接器。名称:DefiLlama,网址:https://mcp.defillama.com/mcp。点击添加并登录。

克劳德代码:

法典:

Claude桌面 / 光标 / 风帆冲浪:

双子座CLI:

开放代码:

**OpenClaw 及其他仅限 stdio 的代理(使用 mcp-remote 作为桥接器):

2.登录

需要激活的API订阅。

Claude 代码: 运行 /mcp,导航到 DefiLlama 服务器,按回车,选择“认证”。

桌面代理(Cursor、Windsurf、Claude Desktop): 第一次连接时,浏览器会打开DefiLlama登录页面。登录后就完成了。

无头代理(OpenClaw): mcp-remote 输出一个 OAuth URL。在手机或电脑上打开,登录,然后重定向后从浏览器地址栏复制 localhost:... URL,再发送回代理。

没有API密钥,也没有环境变量。只登录一次。

3.安装技能

技能

技能 描述

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

DefiLlama Skills

Agent skills for DefiLlama MCP — 23 DeFi analytics tools with guided workflows.

Quick Install

Paste this prompt into your AI agent:

Read https://raw.githubusercontent.com/DefiLlama/defillama-skills/master/defillama-setup/SKILL.md and follow the instructions to install DefiLlama MCP.

Manual Setup

1. Add the MCP server

Claude.ai (web): Go to Customize → Connectors → + → Add custom connector. Name: DefiLlama, URL: https://mcp.defillama.com/mcp. Click Add and log in.

Claude Code:

claude mcp add defillama --transport http https://mcp.defillama.com/mcp

Codex:

codex mcp add defillama --url https://mcp.defillama.com/mcp

Claude Desktop / Cursor / Windsurf:

{
  "mcpServers": {
    "defillama": {
      "url": "https://mcp.defillama.com/mcp"
    }
  }
}

Gemini CLI:

{
  "mcpServers": {
    "defillama": {
      "httpUrl": "https://mcp.defillama.com/mcp"
    }
  }
}

OpenCode:

{
  "mcp": {
    "defillama": {
      "type": "remote",
      "url": "https://mcp.defillama.com/mcp"
    }
  }
}

OpenClaw and other stdio-only agents (uses mcp-remote as a bridge):

{
  "mcp": {
    "servers": {
      "defillama": {
        "command": "npx",
        "args": ["-y", "mcp-remote", "https://mcp.defillama.com/mcp"]
      }
    }
  }
}

2. Log in

Requires an active API subscription.

Claude Code: Run /mcp, navigate to the DefiLlama server, press Enter, and select “Authenticate”.

Desktop agents (Cursor, Windsurf, Claude Desktop): On first connection your browser opens the DefiLlama login page. Sign in and you’re done.

Headless agents (OpenClaw): mcp-remote outputs an OAuth URL. Open it on your phone/computer, log in, then copy the localhost:... URL from your browser address bar after redirect and send it back to the agent.

No API keys, no env vars. Just log in once.

3. Install skills

npx skills add DefiLlama/defillama-skills --yes

Skills

Skill Description
defi-data Core reference — maps any DeFi question to the right tool and params
defi-market-overview Full market snapshot: TVL, categories, chains, events, stablecoins, ETFs
protocol-deep-dive Complete protocol report: TVL, fees, yields, income, users, token
token-research Token analysis: price, unlocks, DeFi deposits, yield opportunities
chain-ecosystem Blockchain overview: TVL, top protocols, bridges, stablecoins, users
market-analysis Screening and comparison: valuation ratios, growth, cross-entity
yield-strategies Yield hunting: pool filtering, APY conventions, capacity assessment
risk-assessment Risk evaluation: hacks, oracles, treasury, fundamentals, yield flags
flows-and-events Capital flows: bridges, ETFs, stablecoins, hacks, raises, OI
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add defillama/defillama-skills
新手?先看 mcpskill.org 教程 →