Creativity · MCP — server
MCP Dune Analytics Server
Dune Analytics indexes every major EVM chain and exposes SQL over that data. The MCP Dune Server lets Claude trigger Dune query executions, fetch results, and enumerate saved queries — ideal for crypto research assistants, tokenomics dashboards, and DeFi monitoring agents.
MCP facts
- Kind
- server
- Ecosystem
- anthropic-mcp
- Language
- Python
- Transports
- stdio
Capabilities
- Tools: list_queries, execute_query, get_execution_results
- Supports CSV/JSON result fetching
- Respects Dune API rate limits
Install
pip install mcp-dune Configuration
{
"mcpServers": {
"dune": {
"command": "uvx",
"args": ["mcp-dune"],
"env": {
"DUNE_API_KEY": "<api-key>"
}
}
}
} Frequently asked questions
Can it write new Dune SQL?
Some servers only execute already-saved queries; richer ones can create queries via the Dune API. Check the specific package you install.
Which chains are covered?
Dune indexes Ethereum mainnet, L2s (Arbitrum, Optimism, Base), Polygon, Solana, and more. The MCP surface is chain-agnostic — it's the SQL underneath that matters.
What's a good use case?
Let Claude answer 'top 10 wallets by USDC volume this week' by running a parameterized Dune query and summarizing the CSV.
Sources
- Dune API Documentation — accessed 2026-04-20
- Model Context Protocol — accessed 2026-04-20