
Defillama Mcp
io.github.GlebenjoyPublished by GitHub account Glebenjoyv1.0.2Updated Oct 24, 2026
DefiLlama DeFi data: chain/protocol TVL, yields, stablecoins, token prices. No API key.
Overview
Local MCP server that gives an assistant live DeFi data from DefiLlama: chain and protocol TVL, token prices, yield pools and stablecoins.
- What you can do
- Look up TVL across blockchains, ranked by size
- Search protocols by name, symbol or category and get one protocol's TVL, 1d/7d change, chains and category
- Fetch current USD prices for one or more tokens by DefiLlama coin id
- List top yield pools by APY, filtered by chain, project or minimum TVL
- List the largest stablecoins by circulating supply with peg type
- When to use it
- Useful when you want an assistant to answer questions about DeFi market data — chain rankings, a protocol's TVL trend, high-APY pools, token prices or stablecoin supply — without setting up an API key.
- Requirements
- Runs locally over stdio, started with npx from the npm package defillama-mcp, so Node.js and network access to the public DefiLlama API are needed. No API key, signup or environment variables are declared.
Installation
In SourceWeft
- Open Defillama Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
DefiLlama MCP
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.
What your agent can do
Ask things like:
- "Which chains have the most TVL right now?"
- "What's Aave's TVL and how did it move this week?"
- "Find the highest-APY stablecoin pools on Ethereum with at least $10M TVL."
- "Price of BTC and ETH?" (
coingecko:bitcoin,coingecko:ethereum) - "List the biggest stablecoins by circulating supply."
Tools
Install
No install needed. It runs straight from npm via npx.
Claude Desktop
Add to claude_desktop_config.json:
Cursor
Add to .cursor/mcp.json:
Restart the client and the defillama tools appear.
Coin ids for prices
get_token_prices uses DefiLlama coin ids, comma-separated:
- By CoinGecko id:
coingecko:bitcoin,coingecko:ethereum - By contract:
chain:0xcontract, e.g.ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2(WETH)
Develop
License
MIT — see LICENSE.
Hire me
I build custom MCP servers and AI systems (multi-agent, RAG, automation). Need a connector for your own API, or a full AI integration?
- Hire me on Upwork: https://www.upwork.com/freelancers/~01946645ed245c263d
- Or open an issue on this repo.
Built by Gleb.
Source: README.md at commit bfb6ffc
Tools
0Version history
1- v1.0.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts