
kukapay/defi-yields-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
DefiLlama によって供給される DeFi の収穫の機会を探検する AI の代理店のための MCP サーバー.
概要
DefiLlama によって供給される DeFi の収穫の機会を探検する AI の代理店のための MCP サーバー。 - : get yield pools ツールは、DefiLlama から DeFi 歩留まりプールデータを取り出し、チェーン(例えば、Ethereum、Solana)またはプロジェクト(例、Lido、Aave)でフィルタリングできます。 - : analytics yields は、APY や 30 日平均 APY や予測など主要なメトリックに焦点を当て、歩留まりのプールデータを分析するために、AI エージェントのカスタマイズされた指示を生成します。 - : uvx defi-yields-mcp でサーバーを直接実行します。 Claude デスクトップでサーバーを使用するには、自動的にインストールするか、Claude デスクトップの設定ファイルを手動で設定できます。 設定ファイル: - : / Library/Application Support/Claude/claude desktop config.json - : %APPDATA%\Claude\claude desktop config.json - "Lidoプロジェクト用のFetch yield pool" - "Ethereum上のAnalyze yield pool" - "Solanaプール用の30日間平均APYは何ですか?
概要(AI 翻訳)
DefiLlama によって供給される DeFi の収穫の機会を探検する AI の代理店のための MCP サーバー。
##特徴
- Data Fetching Tool:
get_yield_pools]] ツールは、DefiLlama から DeFi 歩留まりプールデータを取得し、チェーン(例えば、Ethereum、Solana)またはプロジェクト(例、Lido、Aave)でフィルタリングできます。 -Analysis Prompt:[analyze_yields]プロンプトは、APY、30日平均APY、予測などの重要なメトリックに焦点を当て、歩留まりプールデータを分析するために、AIエージェントの適切な指示を生成します。 - EaseのPackaged:[
uvx defi-yields-mcp]でサーバーを直接実行します。
インストール
Claude デスクトップでサーバーを使用するには、自動的にインストールするか、Claude デスクトップの設定ファイルを手動で設定できます。
##Option 1: 自動インストール Claudeデスクトップ用のサーバーをインストールします。
##Option 2: 手動設定
設定ファイルを探します。
- macOS: [
~/Library/Application Support/Claude/claude_desktop_config.json] -Windows:[%APPDATA%\Claude\claude_desktop_config.json
サーバー構成を追加します。
Claudeデスクトップを再起動します。
例
以下のようなコマンドを使うことができます:
- 「LidoプロジェクトのためのFetch yield pools」
- 「イーサリアムの収穫プールを分析」
このページは 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_poolstool 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_yieldsprompt 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.
インストール
uvx defi-yields-mcp設定
{
"mcpServers": {
"defi-yields-mcp": {
"command": "uvx",
"args": [ "defi-yields-mcp" ]
}
}
}