dune-mcp-server

dune-mcp-server

1

Dune Analytics MCP Server is a Model Context Protocol server that facilitates the integration of Dune Analytics data with AI agents. It offers tools to access DEX metrics and statistics on different blockchains with results formatted in JSON for easy processing.

Dune Analytics MCP Server

A Model Context Protocol (MCP) server providing integration of Dune Analytics data with AI agents. Key features include accessing DEX metrics, EigenLayer operators and AVS stats, and token balances on Solana using preset endpoints.

Features

  • Access statistical data for specific token pairs on blockchains.
  • Identify token pairs with high USD liquidity.
  • Retrieve token balances on Solana.
  • Obtain AVS and operator statistics.
  • Results delivered in JSON format.

Prerequisites

  • Node.js 16+ or Bun 1.0+
  • Valid Dune Analytics API key

Usage

  1. Clone the repository.
  2. Install dependencies via Bun or npm.
  3. Set up environment variables.
  4. Run the server in development or production mode using Bun or npm.

Tool Usage

  • Use commands to access data such as DEX pair liquidity, token balances, and AVS metrics.

Example Commands

  • Inquire about token pair liquidity, operator stake plots, and AVS stakers.

License

MIT License.