Dune MCP Server

Dune Analytics MCP Server

Local serverstdio

What is the Dune MCP Server?

Dune Analytics MCP Server

What the server does

A Model Context Protocol (MCP) server that bridges Dune Analytics data to AI agents, providing access to DEX metrics, EigenLayer operators and AVS stats, and token balances on Solana. The tools utilize the preset endpoints and echo endpoints provided by Dune.

  • get_dex_pair_metrics: Get essential metadata and statistical data for a given token pair on a specific chain
  • get_token_pairs_liquidity: Find the token pair with the highest USD liquidity on a given chain
  • get_svm_token_balances: Get token balances for a specific wallet address on Solana
  • get_eigenlayer_avs_metrics: Get statistics for a specific AVS
  • get_eigenlayer_operator_metrics: Get statistics for all operators in a specific AVS
  • Data Formats — All results are returned in structured JSON format for easy processing

Credentials and setup notes

  • Node.js 16+ or Bun 1.0+ - 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.

How to install the Dune MCP Server

{
  "mcpServers": {
    "dune": {
      "command": "bun",
      "args": [
        "/ABSOLUTE/PATH/TO/dune-mcp-server/src/index.ts",
        "stdio"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 16+ or Bun 1.0+ - A valid Dune Analytics API key (get one from Dune Analytics)

Example prompts to try

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

Frequently asked questions

Dune Analytics MCP Server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.