Dune Analytics MCP Server
Query blockchain data from Dune Analytics directly within your AI assistant.
Data last scanned today · Reviewed today
Overview
The Dune Analytics MCP Server enables AI agents to interact with the Dune Analytics API by executing queries and retrieving results. Users can pull data by providing a specific query ID, which the server returns in a CSV-formatted string for immediate data processing.
Our verdict
This server carries a high security risk level with a score of 23/100, primarily because it is community-maintained rather than official and lacks editorial review. Additionally, the project has not seen updates for over 490 days, which may impact reliability. Due to these factors, it is recommended for use only in non-critical environments by users capable of auditing the code.
- MIT licensed open source project
- Contains zero direct dependencies
- Provides clear documentation for query execution
- Not maintained by the official Dune Analytics team
- Last code commit occurred over 490 days ago
- Authentication methods have not been editorially reviewed
Tools
| Tool | Description | Risk |
|---|---|---|
| get_latest_result | Retrieves the latest results of a specified Dune query. | low |
| run_query | Executes a Dune query and returns the results. | medium |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›What are the system requirements for running this server?
You need Python 3.10 or higher installed on your machine.
›What configuration is required to authenticate with Dune Analytics?
You must provide a valid Dune Analytics API key, which can be configured via a .env file or as a system environment variable named DUNE_API_KEY.
›In what format does the server provide query data?
All query results are returned as CSV-formatted strings.
›What is the difference between the available tools?
The get_latest_result tool retrieves the most recently saved results of a query, while run_query executes the query to generate and return fresh results.
Badge
Maintain this server? Add the live badge to your README.