Basic information
About MCP Server for DefiLlama
# MCP Server for DefiLlama
MCP Server for DefiLlama is a MCP server in the Other category listed in the AddMCP.net directory, published by dcSpark. Supported transport: stdio. Runtime: node. License: MIT. The repository has 9 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-server-defillama": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-defillama"
]
}
}
}
{
"mcpServers": {
"mcp-server-defillama": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-defillama"
]
}
}
}
{
"servers": {
"mcp-server-defillama": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-defillama"
]
}
}
}
MCP Server for DefiLlama config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-defillama": {
"command": "npx",
"args": [
"@mcp-dockmaster/mcp-server-defillama"
]
}
}
}
MCP Server for DefiLlama tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
Frequently asked questions
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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In