Описание
Defillama — Model Context Protocol server
README
This repository contains a Model Context Protocol (MCP) server that provides Claude with access to DeFi data via the DefiLlama API. The server enables Claude to perform operations like retrieving protocol TVL data, chain TVL data, token prices, and stablecoin information.
Overview
The MCP server exposes the following tools to Claude:
Protocol Data
defillama_get_protocols: List all protocols tracked by DefiLlamadefillama_get_protocol_tvl: Get TVL data for a specific protocol
Chain Data
defillama_get_chain_tvl: Get TVL data for a specific chain
Token Data
defillama_get_token_prices: Get current prices of tokensdefillama_get_historical_prices: Get historical prices of tokens
Stablecoin Data
defillama_get_stablecoins: List all stablecoins tracked by DefiLlamadefillama_get_stablecoin_data: Get data for a specific stablecoin
Prerequisites
- Node.js (v16 or higher)
Running the server
Option 1: Using npx (Recommended)
npx @mcp-dockmaster/mcp-server-defillama
You can run the MCP server directly without installation using npx:
This will download and execute the server directly from npm.
Option 2: Manual Installation
Clone this repository:
git clone https://github.com/mcp-dockmaster/mcp-server-defillama.git
Install dependencies:
npm install
Build the project:
npm run build
Claude Usage
To configure Claude Desktop to use this MCP server:
Open Claude Desktop, and navigate to Settings>Developer Settings>MCP Servers. There you'll encounter the button to open the configuration JSON file.
Add the MCP server configuration:
{
"mcpServers": {
"mcp-server-defillama": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-defillama"
]
}
}
}
Alternatively, if you installed the package locally:
{
"mcpServers": {
"mcp-server-defillama": {
"command": "node",
"args": [
"/path/to/your/mcp-server-defillama/build/index.js"
]
}
}
}
Установка Defillama
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/dcSpark/mcp-server-defillamaFAQ
Defillama MCP бесплатный?
Да, Defillama MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Defillama?
Нет, Defillama работает без API-ключей и переменных окружения.
Defillama — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Defillama в Claude Desktop, Claude Code или Cursor?
Открой Defillama на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Defillama with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
