MCP server exposing Dune Analytics queries as easy-to-call tools (`get_latest_result`, `run_query`) that return CSV strings.
https://github.com/kukapay/dune-analytics-mcpIf you're building blockchain applications or analyzing crypto data, you know the drill: ask your AI assistant for insights, realize you need on-chain data, tab over to Dune Analytics, find the right query, wait for execution, export results, format for your AI tool, then finally get back to analysis. This MCP server eliminates that entire workflow.
Working with blockchain analytics means constantly jumping between tools. Your AI agent can reason about crypto markets, but it can't access the actual transaction data, DEX volumes, or token metrics you need. Meanwhile, Dune has the data but requires manual querying and formatting.
This creates a productivity bottleneck where simple questions like "What's the current TVL for top DeFi protocols?" require multiple tool switches and manual data wrangling.
The Dune Analytics MCP server bridges this gap with two straightforward tools:
get_latest_result: Grab cached results from any Dune query instantlyrun_query: Execute fresh queries and get real-time blockchain dataBoth return clean CSV strings that your AI agent can immediately process, analyze, and reason about.
Research workflows get dramatically faster. Instead of manually pulling data for market analysis, you can now ask: "Get the latest DEX volume data from query 1215383 and identify the top trending pairs this week." Your AI agent fetches the data and provides insights in one seamless conversation.
Due diligence becomes conversational. Working on a new DeFi protocol? Ask your agent to pull token distribution data, analyze holder patterns, and cross-reference with recent trading volume - all without leaving your chat interface.
Report generation speeds up significantly. Need weekly analytics reports? Your AI can pull multiple Dune queries, correlate the data, and generate summaries with the latest on-chain metrics automatically.
Installation takes minutes with Smithery:
npx -y @smithery/cli install @kukapay/dune-analytics-mcp --client claude
Add your Dune API key, and you're immediately querying blockchain data through natural language. No complex setup, no API wrestling - just direct access to Dune's analytics through your existing AI workflow.
The server handles caching intelligently, so frequently accessed queries return instantly while still allowing fresh data when you need it.
Whether you're building DeFi protocols, analyzing token economics, or researching market trends, this server turns your AI assistant into a blockchain data powerhouse. Your development team can access comprehensive on-chain analytics without context switching, making data-driven decisions faster than ever.
Ready to eliminate the friction between AI reasoning and blockchain data? Get the Dune Analytics MCP server running and transform how you work with crypto analytics.