
DefiLlama
STDIOMCP server providing proxy access to DefiLlama API for AI assistants
MCP server providing proxy access to DefiLlama API for AI assistants
This package provides a Model Context Protocol (MCP) server that acts as a proxy to the public DefiLlama API. It allows AI assistants (like Cursor) to interact with the DefiLlama API through the defined OpenAPI specification.
callTool
requests into HTTP requests to the DefiLlama API.Once published to npm, you can configure clients like Cursor to automatically download and run the server using npx
. Add an entry to your client's MCP configuration (e.g., mcp.json
):
{ "mcpServers": { "defillama": { "command": "npx", "args": [ "-y", "@nic0xflamel/defillama-mcp-server" ] } } }
Replace "defillama"
with your desired server name key.
To install automatically via Smithery:
npx -y @smithery/cli install @nic0xflamel/defillama-mcp-server --client claude
npm install
.npm run build
.npm start
or use the linked command defillama-mcp-server
(after running npm link
).stdio
using the appropriate command (see npx
example above, adapting for local paths or linked command if not using npx
).MIT (A LICENSE file exists in the project root)