Dune Analytics MCP Server Overview
In the rapidly evolving landscape of data analytics and artificial intelligence, the Dune Analytics MCP Server stands as a pivotal tool, bridging the gap between raw data and intelligent insights. Designed to facilitate seamless integration between Dune Analytics data and AI agents, this server offers a robust platform for enterprises looking to leverage data-driven decision-making.
Key Features
1. Seamless Data Integration
The MCP Server acts as a conduit, allowing AI models to access and interact with Dune Analytics data effortlessly. By bridging this gap, businesses can harness the power of real-time data to drive strategic initiatives.
2. Powerful Tools
get_latest_result: This tool fetches the latest results of a Dune query by ID, ensuring that users have access to the most current data.run_query: Execute a Dune query by ID and retrieve results, enabling users to perform in-depth data analysis on demand.
3. CSV Output
All results are returned as CSV-formatted strings, simplifying the process of data manipulation and analysis. This feature is particularly beneficial for data scientists and analysts who require structured data for their workflows.
Use Cases
Business Intelligence
Enterprises can use the Dune Analytics MCP Server to integrate with AI agents, transforming raw data into actionable business intelligence. This capability allows for more informed decision-making and strategic planning.
Data-Driven Marketing
Marketing teams can leverage the server to analyze consumer behavior and trends, tailoring campaigns to meet the needs of their target audience more effectively.
Financial Analysis
Financial analysts can utilize the server to run complex queries on financial data, providing insights into market trends and investment opportunities.
Prerequisites
To get started with the Dune Analytics MCP Server, users need:
- Python 3.10+
- A valid Dune Analytics API key, obtainable from Dune Analytics
Installation and Usage
Installation
Clone the Repository:
git clone https://github.com/kukapay/dune-analytics-mcp.git cd dune-analytics-mcpSet Up Environment Variables: Create a
.envfile in the project root:DUNE_API_KEY=your_api_key_hereAlternatively, set it as a system environment variable:
export DUNE_API_KEY="your_api_key_here"
Running the Server
Development Mode:
mcp dev main.pyThis starts the server with hot reloading for development.
Install for Claude Desktop:
mcp install main.py --name "Dune Analytics"Installs the server as a service for use with Claude Desktop.
UBOS Platform Integration
UBOS, a full-stack AI Agent Development Platform, enhances the capabilities of the MCP Server by providing a comprehensive suite for AI agent orchestration. By integrating with UBOS, businesses can:
- Connect AI agents with enterprise data seamlessly.
- Build custom AI agents using LLM models and multi-agent systems.
- Streamline AI deployment across various business departments.
In conclusion, the Dune Analytics MCP Server is an indispensable tool for businesses aiming to harness the power of data analytics and AI. Its seamless integration capabilities, combined with the robust features offered by the UBOS platform, position it as a leader in the realm of data-driven intelligence.
Dune Analytics
Project Details
- kukapay/dune-analytics-mcp
- MIT License
- Last Updated: 4/16/2025
Recomended MCP Servers
WhatsApp Web MCP Server
mcp server for cloudflare flux schnell worker api.
为 Cursor、Windsurf、Cline 和其他 AI 驱动的编码工具提供访问飞书文档的能力,基于 Model Context Protocol 服务器实现。
The Shodan MCP Server by ADEO Cybersecurity Services provides cybersecurity professionals with streamlined access to Shodan's powerful reconnaissance...
DButils is an all-in-one MCP service that enables your AI to do data analysis by harnessing versatile types...
This is just a proof-of-concept of MCP. As I see it, there is much that can be done...
A server implementation for Wikidata API using the Model Context Protocol (MCP).
MCP server implementation for Keycloak user management. Enables AI-powered administration of Keycloak users and realms through the Model...





