Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-server-defillama": {
"args": [
"@mcp-dockmaster/mcp-server-defillama"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@mcp-dockmaster/mcp-server-defillama' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @mcp-dockmaster/mcp-server-defillama against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol server for building an investor agent
AI agents get on-chain identity, credentials, reputation, escrow, and persistent memory on XRPL.
Remote MCP server to integrate and validate self-hosted PayRam deployments.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Defillama and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
The MCP server exposes the following tools to Claude:
defillama_get_protocols: List all protocols tracked by DefiLlamadefillama_get_protocol_tvl: Get TVL data for a specific protocoldefillama_get_chain_tvl: Get TVL data for a specific chaindefillama_get_token_prices: Get current prices of tokensdefillama_get_historical_prices: Get historical prices of tokensdefillama_get_stablecoins: List all stablecoins tracked by DefiLlamadefillama_get_stablecoin_data: Get data for a specific stablecoinPrerequisites
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.
Clone this repository:
git clone https://github.com/mcp-dockmaster/mcp-server-defillama.git
Install dependencies:
npm install
Build the project:
npm run build
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"
]
}
}
}