DefiLlama MCP server for AI agents
Let Claude, ChatGPT or your own agent read DefiLlama: 1 typed function through one MCP server. No DefiLlama API key needed.
- Site
- defillama.com
- Functions
- 1
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just DefiLlama
An MCP server for DefiLlama alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/defillamaEvery site
One MCP server for DefiLlama and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 1
protocolRaisesRecorded funding rounds and investors of a crypto project, by DefiLlama slug or name.Arguments
Name Type Required input{ protocol: string }Yes Returns
defillamaRaisesinterface defillamaRound { date: string | null; round: string | null; amountUsd: number | null; leadInvestors: string[]; otherInvestors: string[]; valuationUsd: number | null; } interface defillamaRaises { found: boolean; protocol: string; name: string | null; symbol: string | null; url: string | null; rounds: defillamaRound[]; investors: string[]; warnings: string[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/defillama/protocolRaisesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.defillama.protocolRaises({ protocol: "uniswap" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.defillama.protocolRaises({"protocol": "uniswap"}))curl -X POST https://api.bowmark.ai/v1/sites/defillama/protocolRaises \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"input":{"protocol":"uniswap"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.defillama.protocolRaises({ protocol: "uniswap" });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/defillama/<function> - OpenAPI
/v1/sites/defillama/openapi.json