Server data from the Official MCP Registry
DefiLlama DeFi data: chain/protocol TVL, yields, stablecoins, token prices. No API key.
DefiLlama DeFi data: chain/protocol TVL, yields, stablecoins, token prices. No API key.
DefiLlama MCP is a well-constructed, security-conscious server that safely exposes public DeFi data from free APIs. Authentication is not required because DefiLlama's public API requires no credentials. The codebase demonstrates good practices: proper input validation via Zod, graceful error handling, no hardcoded secrets, no dangerous operations, and appropriate permission scope limited to HTTP network access. Minor quality observations include broad exception handling and lack of request logging, but these do not raise security concerns for a read-only data aggregator. Supply chain analysis found 5 known vulnerabilities in dependencies (2 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-glebenjoy-defillama-mcp": {
"args": [
"-y",
"defillama-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
An MCP server that gives Claude, Cursor, and any MCP-compatible agent live DeFi data from DefiLlama — chain and protocol TVL, token prices, yield/farming pools, and stablecoin supply.
No API key. No signup. The public DefiLlama API is free.
Most "MCP for X" repos are half-finished and break on the second request. This one ships with tests and graceful error handling so an agent can actually rely on it.
Ask things like:
coingecko:bitcoin,coingecko:ethereum)| Tool | What it does |
|---|---|
get_chains_tvl | TVL across all blockchains, ranked |
search_protocols | Search protocols by name / symbol / category, ranked by TVL |
get_protocol | TVL, 1d/7d change, chains, category for one protocol |
get_token_prices | Current USD price for one or more tokens (DefiLlama coin ids) |
get_yield_pools | Top yield pools by APY, filter by chain / project / min TVL |
get_stablecoins | Largest stablecoins by circulating supply + peg type |
No install needed. It runs straight from npm via npx.
Add to claude_desktop_config.json:
{
"mcpServers": {
"defillama": {
"command": "npx",
"args": ["-y", "defillama-mcp"]
}
}
}
Add to .cursor/mcp.json:
{
"mcpServers": {
"defillama": {
"command": "npx",
"args": ["-y", "defillama-mcp"]
}
}
}
Restart the client and the defillama tools appear.
get_token_prices uses DefiLlama coin ids, comma-separated:
coingecko:bitcoin, coingecko:ethereumchain:0xcontract, e.g. ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 (WETH)npm install
npm run dev # run from TypeScript source over stdio
npm test # run the unit tests
npm run build # compile to dist/
MIT — see LICENSE.
I build custom MCP servers and AI systems (multi-agent, RAG, automation). Need a connector for your own API, or a full AI integration?
Built by Gleb.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.