Dex Metrics MCP Server

An MCP server that tracks trading volume metrics segmented by DEX, blockchain, aggregator, frontend, and Telegram bot, powered by Dune Analytics.

Local serverstdioPython

What is the Dex Metrics MCP MCP server?

An MCP server that tracks trading volume metrics segmented by DEX, blockchain, aggregator, frontend, and Telegram bot, powered by Dune Analytics. The dex metrics mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

  • Latest 24-hour and 7-day trading volumes by DEX and aggregator
  • Daily, weekly, and monthly trading volumes by DEX and blockchain
  • Year-over-year monthly trading volume by aggregator
  • Solana-specific weekly trading volume by DEX
  • 7-day trading volume by frontend and daily trading volume by Telegram bot

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Configuration

You will need one environment variable: DUNE_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.10 or higher - uv (recommended package manager) - A Dune Analytics API key (obtainable from Dune Analytics)

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the dex metrics mcp mcp server does with a few real requests.

When to reach for it

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by kukapay; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Dex Metrics MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Configuration

  • Python 3.10 or higher - uv (recommended package manager) - A Dune Analytics API key (obtainable from Dune Analytics)
VariableDescriptionRequired
DUNE_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Dex Metrics MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Dex Metrics MCP directly.