Skip to content
MCP server
Registry

defillama-mcp MCP Server

DefiLlama DeFi data: chain/protocol TVL, yields, stablecoins, token prices. No API key.

defillama-mcp scores 56 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 6 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 93 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by glebenjoyMITTypeScript0 stars
Trust score
56Fair
Trust score 56 of 100, Fair

Fair trust

56 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 56 comes from

22 + 10 + 0 + 10 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "glebenjoy-defillama-mcp": {      "command": "npx",      "args": [        "-y",        "defillama-mcp@1.0.2"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools6Tool docs quality grade C

All capabilities

About

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

ToolWhat it does
get_chains_tvlTVL across all blockchains, ranked
search_protocolsSearch protocols by name / symbol / category, ranked by TVL
get_protocolTVL, 1d/7d change, chains, category for one protocol
get_token_pricesCurrent USD price for one or more tokens (DefiLlama coin ids)
get_yield_poolsTop yield pools by APY, filter by chain / project / min TVL
get_stablecoinsLargest stablecoins by circulating supply + peg type

Install

No install needed. It runs straight from npm via npx.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "defillama": {
      "command": "npx",
      "args": ["-y", "defillama-mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "defillama": {
      "command": "npx",
      "args": ["-y", "defillama-mcp"]
    }
  }
}

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

npm install
npm run dev     # run from TypeScript source over stdio
npm test        # run the unit tests
npm run build   # compile to dist/

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?

Built by Gleb.

Frequently asked questions

What is defillama-mcp MCP Server?

DefiLlama DeFi data: chain/protocol TVL, yields, stablecoins, token prices. No API key.

How do I install defillama-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. defillama-mcp MCP Server runs locally from the npm package defillama-mcp with the command npx -y defillama-mcp@1.0.2.

Is defillama-mcp MCP Server free and open source?

Yes. defillama-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does defillama-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for defillama-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does defillama-mcp MCP Server provide?

defillama-mcp MCP Server provides 6 tools, including get_chains_tvl, get_protocol, get_stablecoins, and get_token_prices. See the full tool list for descriptions and parameters.

How is defillama-mcp MCP Server's trust score calculated?

defillama-mcp MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server