Dune Analytics MCP Server
Description
# 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…
About
# 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**: -…
Details
- Author
- ekailabs
- GitHub stars
- 2
- Downloads
- 259
- Categories
- Database, Other, Search
Jump to
- get_dex_pair_metrics: Retrieve metadata and stats for a token pair on a chain
- get_token_pairs_liquidity: Find the token pair with highest USD liquidity on a chain
- get_svm_token_balances: Get token balances for a Solana wallet address
- get_eigenlayer_avs_metrics: Get statistics for a specific AVS
- get_eigenlayer_operator_metrics: Get statistics for all operators in a specific AVS
- All results returned in structured JSON format
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Dune Analytics MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, install dependencies (Bun or npm), set the DUNE_API_KEY environment variable, then run the server with bun dev or npm run dev. Add the server configuration to Claude for Desktop’s claude_desktop_config.json to start using the tools via natural language.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"dune analytics mcp server": {
"dune-mcp-server": {
"command": "bun",
"args": [
"dev"
]
}
}
}
}
McpServers
{
"dune-mcp-server": {
"command": "bun",
"args": [
"dev"
]
}
}
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:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




