Dune Analytics MCP Server

Dune Analytics MCP Server

dune-mcp-server•byekailabs

A Model Context Protocol server that exposes Dune Analytics data on DEX metrics, EigenLayer operator and AVS statistics, and Solana token balances to AI agents.

License: MIT License•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides a tool to retrieve metadata and statistical data for a given token pair on a specific chain.
  • •Finds the token pair with the highest USD liquidity on a given chain.
  • •Returns token balances for a specific wallet address on Solana.
  • •Retrieves statistics for a specific EigenLayer AVS and for all operators in that AVS.

BEST FOR

  • •Looking up liquidity for a token pair such as USDC-WETH on a specific chain.
  • •Identifying the highest-liquidity token pair on a chain like Arbitrum.
  • •Analyzing EigenLayer operator stake distribution and staker counts.

ABOUT DUNE-MCP-SERVER

Dune Analytics MCP Server is cataloged as an MCP server attributed to ekailabs. A Model Context Protocol server that exposes Dune Analytics data on DEX metrics, EigenLayer operator and AVS statistics, and Solana token balances to AI agents. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Dune Analytics MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What format are the tool results returned in?

All results are returned in structured JSON format for easy processing.

What is required to run the server?

It requires Node.js 16+ or Bun 1.0+ and a valid Dune Analytics API key.

Upstream README

View this exact version on GitHub

README.md · 4bde64812112 · Fetched 2026-11-13 10:47:20 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Dune Analytics MCP Server

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.

Features

  • Tools:
    • 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

Prerequisites

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

Installation

  1. Clone the Repository:

    git clone https://github.com/ekailabs/dune-mcp-server.git
    cd dune-mcp-server
    
  2. Install Dependencies: Using Bun:

    bun install
    

    Or using npm:

    npm install
    
  3. Set Up Environment Variables: Create a .env file in the project root based on .env.example:

    DUNE_API_KEY=your_api_key_here
    

    Alternatively, set it as a system environment variable:

    export DUNE_API_KEY="your_api_key_here"
    

Usage

Running the Server

Using Bun:

# Development mode with hot reload
bun dev

# Production mode
bun start

# Or build and run
bun build src/index.ts --outdir dist
bun dist/index.js

Using npm:

# Development mode with hot reload
npm run dev

# Production mode
npm start

# Or build and run
npm run build
npm run start:prod

Add to Claude for Desktop

To use with Claude for Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

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

Tool Usage

  1. get_dex_pair_metrics(chain, token_pair)

    • Description: Retrieves essential metadata and statistical data for a given token pair
    • Input:
      • chain (string) - The blockchain to get the DEX stats for
      • token_pair (string) - The token pair to get the DEX stats for
    • Output: JSON object containing DEX metrics
  2. get_token_pairs_liquidity(chain)

    • Description: Identifies the token pair with the highest USD liquidity on a given chain
    • Input: chain (string) - The blockchain to get the DEX stats for
    • Output: JSON object containing top token pair metrics
  3. get_svm_token_balances(wallet_address)

    • Description: Gets the balances of a specific wallet address on the Solana blockchain
    • Input: wallet_address (string) - The address of the wallet to get the balance for
    • Output: JSON array of token balances
  4. get_eigenlayer_avs_metrics(avs_name)

    • Description: Gets the statistics for a specific AVS
    • Input: avs_name (string) - The name of the AVS to get the stats for
    • Output: JSON object containing AVS metrics
  5. get_eigenlayer_operator_metrics(avs_name)

    • Description: Gets the statistics for all operators in a specific AVS
    • Input: avs_name (string) - The name of the AVS to get operator stats for
    • Output: JSON object containing operator metrics

Example Commands in Claude for Desktop

  • "Can you please give me the liquidity of 'USDC-WETH' token pair on ethereum?"
  • "Show me the highest liquidity token pair on arbitrum"
  • "Can you please plot the stake distribution of EigenDA operators?"
  • "How many stakers are there on EigenDA AVS"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Running evals

The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be found here.

OPENAI_API_KEY=your-key  npx mcp-eval src/evals/evals.ts src/index.ts

Acknowledgments

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Dune Analytics MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/dune-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics