Dune Analytics MCP Server

A mcp server that bridges Dune Analytics data to AI agents.

Local serverstdioPython

What is the Dune Analytics MCP Server?

A mcp server that bridges Dune Analytics data to AI agents.

What it actually does

To install Dune Analytics for Claude Desktop automatically via Smithery:

  • get_latest_result: Fetch the latest results of a Dune query by ID
  • run_query: Execute a Dune query by ID and retrieve results
  • CSV Output — All results are returned as CSV-formatted strings for easy processing

Configuration

  • Python 3.10+ - A valid Dune Analytics API key (get one from Dune Analytics)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.10+ - A valid Dune Analytics API key (get one from Dune Analytics)
VariableDescriptionRequired
DUNE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Dune Analytics to Description.”
  • “Use Dune Analytics to Input.”
  • “Use Dune Analytics to Output.”

Frequently asked questions

Obtain a free API key from the Dune Analytics settings page at https://dune.com/settings/api.