KD

kukapay/defi-yields-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

16 stars 11 forks 품질 60 트렌드 21MIT

DefiLlama에 의해 구동되는 DeFi 수확량 기회를 탐구하는 AI 대리인을 위한 MCP 서버.

개요

DefiLlama에 의해 구동되는 DeFi 수확량 기회를 탐구하는 AI 대리인을 위한 MCP 서버. - : get yield pools 도구는 DefiLlama의 DefiLlama에서 DeFi 수확량 풀 데이터를 검색하고 체인 (예 : Ethereum, Solana) 또는 프로젝트 (예 : Lido, Aave)에 의해 필터링 할 수 있습니다. - : analysis yields prompt는 APY, 30일 평균 APY 및 예측과 같은 주요 지표에 초점을 맞춘 수율 풀 데이터를 분석하기 위해 AI 에이전트에 대한 맞춤 지침을 생성합니다. - : uvx defi-yields-mcp로 서버를 직접 실행합니다. Claude Desktop을 사용하여 서버를 사용하려면 Claude Desktop 구성 파일을 자동으로 설치하거나 수동으로 구성할 수 있습니다. 구성 파일을 찾습니다: - : ~/Library/Application Support/Claude/claude desktop config.json - : %APPDATA%\Claude\claude desktop config.json - "Lido 프로젝트를위한 힙합 수율 풀." - "Athereum의 분석 수율 풀." - "Sipana 풀을위한 30 일 평균 APYs는 무엇입니까?

개요(AI 번역)

DefiLlama에 의해 구동되는 DeFi 수확량 기회를 탐구하는 AI 대리인을 위한 MCP 서버.

특징

  • Data Fetching Tool: get_yield_pools] 도구는 DefiLlama의 DefiLlama에서 DeFi 수확량 풀 데이터를 검색하여 체인(예: Ethereum, Solana) 또는 프로젝트(예: Lido, Aave)로 필터링할 수 있습니다.
  • Analysis Prompt: analyze_yields] 프롬프트는 APY, 30 일 평균 APY, 예측과 같은 주요 메트릭에 초점을 맞춘 수율 풀 데이터를 분석하기 위해 AI 에이전트에 대한 맞춤 지침을 생성합니다.
  • Ease에 대한 패키지: uvx defi-yields-mcp로 서버를 직접 실행합니다.

설치

Claude Desktop을 사용하여 서버를 사용하려면 Claude Desktop 구성 파일을 자동으로 설치하거나 수동으로 구성할 수 있습니다.

선택권 1: 자동적인 임명

Claude Desktop의 서버를 설치하십시오.

선택권 2: 수동 윤곽

구성 파일을 찾습니다:

  • ** 마이크 **: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 윈도우: %APPDATA%\Claude\claude_desktop_config.json

서버 구성 추가:

Restart Claude 데스크탑.

예제

같은 명령어를 사용할 수 있습니다:

  • Lido 프로젝트의 “Fetch 수확량 풀”
  • “Athereum의 분석 수율 풀.”

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

DeFi Yields MCP

An MCP server for AI agents to explore DeFi yield opportunities, powered by DefiLlama.

Features

  • Data Fetching Tool: The get_yield_pools tool retrieves DeFi yield pool data from the DefiLlama, allowing filtering by chain (e.g., Ethereum, Solana) or project (e.g., Lido, Aave).
  • Analysis Prompt: The analyze_yields prompt generates tailored instructions for AI agents to analyze yield pool data, focusing on key metrics like APY, 30-day mean APY, and predictions.
  • Packaged for Ease: Run the server directly with uvx defi-yields-mcp.

Installation

To use the server with Claude Desktop, you can either install it automatically or manually configure the Claude Desktop configuration file.

Option 1: Automatic Installation

Install the server for Claude Desktop:

uvx mcp install -m defi_yields_mcp --name "DeFi Yields Server"

Option 2: Manual Configuration

Locate the configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the server configuration:

{
 "mcpServers": {
   "defi-yields-mcp": {
     "command": "uvx",
     "args": [ "defi-yields-mcp" ]
   }
 }
}

Restart Claude Desktop.

Examples

You can use commands like:

  • “Fetch yield pools for the Lido project.”
  • “Analyze yield pools on Ethereum.”
  • “What are the 30-day mean APYs for Solana pools?”

The get_yield_pools tool fetches and filters the data, while the analyze_yields prompt guides the LLM to provide a detailed analysis.

Example Output

Running the get_yield_pools tool with a filter for Ethereum:

[
  {
    "chain": "Ethereum",
    "pool": "STETH",
    "project": "lido",
    "tvlUsd": 14804019222,
    "apy": 2.722,
    "apyMean30d": 3.00669,
    "predictions": {
        "predictedClass": "Stable/Up",
        "predictedProbability": 75,
        "binnedConfidence": 3      
    }
  },
  ...
]

License

This project is licensed under the MIT License. See the LICENSE file for details.

GitHub에서 전체 README 보기

설치

uvx defi-yields-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "defi-yields-mcp": { "command": "uvx", "args": [ "defi-yields-mcp" ] } } }