Dune Analytics MCP Server
@kukapay
About Dune Analytics MCP Server
A mcp server that bridges Dune Analytics data to AI agents.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dune-analytics-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@kukapay/dune-analytics-mcp",
"--client",
"claude"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Dune Analytics MCP Server?
A Model Context Protocol server that bridges Dune Analytics data to AI agents, providing tools to fetch and execute Dune queries. It is designed for developers building AI-powered analytics applications.
How to use Dune Analytics MCP Server?
Install via Smithery or clone the repo, set the DUNE_API_KEY environment variable, then run with mcp dev main.py for development or mcp install main.py --name "Dune Analytics" for Claude Desktop. Use the tools get_latest_result(query_id) and run_query(query_id) to retrieve CSV-formatted results.
Key features of Dune Analytics MCP Server
- Two tools:
get_latest_resultandrun_query - Results returned as CSV‑formatted strings
- Requires Python 3.10 or higher
- Integration via a Dune Analytics API key
- Installable via Smithery or manual setup
Use cases of Dune Analytics MCP Server
- Fetch latest results from a Dune dashboard inside an AI agent
- Execute a Dune query on demand from a conversational interface
- Automate blockchain data analysis through AI‑powered workflows
FAQ from Dune Analytics MCP Server
What Python version is required?
Python 3.10 or higher is required.
How do I get a Dune Analytics API key?
Obtain a free API key from the Dune Analytics settings page at https://dune.com/settings/api.
What tools does the server provide?
The server offers two tools: get_latest_result(query_id) and run_query(query_id).
How are results returned?
All results are returned as CSV‑formatted strings for easy processing.
How do I install it for Claude Desktop?
Run mcp install main.py --name "Dune Analytics" after setting up the environment variables.
Frequently asked questions
What Python version is required?
Python 3.10 or higher is required.
How do I get a Dune Analytics API key?
Obtain a free API key from the Dune Analytics settings page at https://dune.com/settings/api.
What tools does the server provide?
The server offers two tools: `get_latest_result(query_id)` and `run_query(query_id)`.
How are results returned?
All results are returned as CSV‑formatted strings for easy processing.
How do I install it for Claude Desktop?
Run `mcp install main.py --name "Dune Analytics"` after setting up the environment variables.
Basic information
More Data & Analytics MCP servers
Sugra API MCP
Sugra Systems, Inc.Official MCP server for the Sugra API, giving AI agents source-attributed access to 1,500+ endpoints across 36 data domains from 160+ primary sources. Covers markets, economics, company fundamentals, government, news, cl

Grabbit MCP
GrabbitRemote MCP server that helps AI agents find Reddit buyer-intent threads, check subreddit rules, read full conversations, and manage human-reviewed lead workflows.

SportsTrackLive
STL SolutionsSportsTrackLive is a remote MCP server available at https://mcp.sportstracklive.com. SportsTrackLive is a Live Tracking solution and let you record, share and relive your Tracks! SportsTrackLive provide a real-time tra

DPF
DPF AdminDPF (Data Prompt Forge) is an AI-powered platform for data ingestion, transformation and analytics using natural language. Describe your data and the shape you want and the AI infers the schema and generates the pipeline

Opinly
Track competitors, rankings, and how AI answers rank you — then write and publish the fix.
Comments