mcpField
M
Moltllama

Moltllama

Remote
github.com/moltllamaData & Analytics0Updated 33w ago
Repository

About Moltllama

Moltllama serves DeFi data from DeFiLlama to AI agents and other HTTP consumers, with a dashboard for browsing. It covers protocol metrics and contract interfaces on Ethereum and Base.

Key features

  1. 01Protocol TVL, fees, and revenue
  2. 02Token prices and chain statistics
  3. 03Yield opportunities and DEX volumes
  4. 04Contract addresses, ABIs, and signatures
  5. 05MCP, REST API, and web dashboard

Use cases

  1. 01Review protocol TVL and fee data
  2. 02Find yield opportunities across protocols
  3. 03Inspect contract interfaces on Ethereum and Base

MCP support

Its MCP API exposes tools and DeFi data, including protocols, yields, prices, DEX volumes, fees, and contract details, to AI agents.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://moltllama.com/api/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

8
ParameterTypeRequiredDescription
chainstringNoFilter by chain slug (e.g. 'base', 'ethereum')
categorystringNoFilter by protocol category (e.g. 'lending', 'dex')
minTvlnumberNoMinimum TVL in USD
limitnumberNoMaximum number of results (default 100, max 500)
sortenumNoSort field (default 'tvl')tvl | change_1d | change_7d

Details

From the project README

MoltLlama

DeFi data and contract interfaces for AI agents that execute real tasks.

Live at moltllama.com

What it does

MoltLlama aggregates DeFi protocol data from DeFiLlama into three surfaces:

  • MCP API — Machine Context Protocol endpoints for AI agents to discover and call DeFi tools (protocols, yields, prices, DEX volumes, fees, contracts)
  • REST API — JSON endpoints at /api/mcp/* for any HTTP consumer
  • Dashboard — Web UI for browsing protocols, yields, DEX volumes, and contract interfaces

Supported chains: Ethereum, Base. Protocols include Aave V3, Uniswap V3, Compound V3, Aerodrome, Morpho, and Moonwell.

Quick start

npm install
cp .env.example .env.local
npm run dev

The app runs at localhost:3000. No environment variables are required for development — caching falls back to in-memory LRU.

MCP integration

Add to your AI agent's MCP config:

{
  "mcpServers": {
    "moltllama": {
      "url": "https://moltllama.com/api/mcp"
    }
  }
}

API endpoints

EndpointDescription
GET /api/mcp/protocolsList all tracked protocols with TVL
GET /api/mcp/protocols/[slug]Protocol detail (TVL, fees, revenue)
GET /api/mcp/pricesCurrent token prices
GET /api/mcp/chains/[chain]Chain TVL and stats
GET /api/mcp/yieldsYield opportunities across protocols
GET /api/mcp/dexsDEX trading volumes
GET /api/mcp/feesProtocol fee data
GET /api/mcp/contractsContract addresses, ABIs, and function signatures

Environment variables

VariableRequiredDescription
UPSTASH_REDIS_REST_URLProductionRedis cache URL
UPSTASH_REDIS_REST_TOKENProductionRedis cache token
DEFILLAMA_API_KEYNoDeFiLlama Pro API key
COINGECKO_API_KEYNoCoinGecko Pro API key (fallback provider)
BASE_RPC_URLNoBase chain RPC endpoint
ETHEREUM_RPC_URLNoEthereum RPC endpoint

Tech stack

Next.js 14 (App Router) · TypeScript · Tailwind CSS · Recharts · Radix UI · SWR · Zod · Upstash Redis

License

All rights reserved.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.