DefiLlama MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IQ_GATEWAY_KEY | No | IQ Gateway API key; sent as x-api-key to the gateway. | |
| IQ_GATEWAY_URL | No | IQ Gateway base URL. When set together with IQ_GATEWAY_KEY, all upstream calls are proxied through the gateway (adds caching). | |
| DEFILLAMA_API_KEY | No | DefiLlama API key; sent as x-api-key on direct calls. | |
| DEFILLAMA_MCP_TOOLS | No | Set to 'dynamic' to register the four additional endpoint-dispatch tools alongside the default two. Equivalent to passing --tools=dynamic. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| executeA | Run async JavaScript against a pre-wired DefiLlama client. Define |
| search_docsA | Search DefiLlama SDK docs to find the right methods, parameters, and example code. Use before writing execute() code when you're unsure of the API. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |