Skip to main content
Glama
Glebenjoy

dexscreener-mcp

by Glebenjoy
README.md
# DexScreener MCP

An [MCP](https://modelcontextprotocol.io) server that gives Claude, Cursor, and any
MCP-compatible agent **live on-chain market data from [DexScreener](https://dexscreener.com)** —
search pairs, inspect tokens and pools, and pull trending/boosted tokens across every chain.

No API key. No signup. The public DexScreener API is free (rate limited to ~60 req/min).

> Most "MCP for X" repos are half-finished and break on the second request. This one ships
> with tests and graceful error handling so an agent can actually rely on it.

## What your agent can do

Ask things like:

- "Search DexScreener for WIF and give me the top pairs by volume."
- "What's trending / getting boosted on Solana right now?"
- "Show me every pool for this token address on Base."
- "Compare 24h volume and liquidity for these three contracts."

## Tools

| Tool | What it does |
|------|--------------|
| `search_pairs` | Search pairs by symbol, name, or address across all chains |
| `get_token_pools` | All liquidity pools for a token on a chain |
| `get_tokens` | Market data for one or more token addresses (comma-separated) |
| `get_pair` | Details for a specific pair/pool address |
| `latest_token_profiles` | Freshly listed/updated tokens to watch |
| `top_boosted_tokens` | Currently top-promoted / trending tokens |

## Install

No install needed. It runs straight from npm via `npx`.

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "dexscreener": {
      "command": "npx",
      "args": ["-y", "dexscreener-mcp"]
    }
  }
}
```

### Cursor

Add to `.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "dexscreener": {
      "command": "npx",
      "args": ["-y", "dexscreener-mcp"]
    }
  }
}
```

Restart the client and the `dexscreener` tools appear.

## Develop

```bash
npm install
npm run dev     # run from TypeScript source over stdio
npm test        # run the unit tests
npm run build   # compile to dist/
```

## Supported chains

Any chain DexScreener indexes — `solana`, `ethereum`, `base`, `bsc`, `arbitrum`, `polygon`, and more.
Pass the chain id as `chainId`.

## License

MIT — see [LICENSE](./LICENSE).

---

## Hire me

I build custom MCP servers and AI systems (multi-agent, RAG, automation). Need a connector for your own API, or a full AI integration?

- Hire me on Upwork: https://www.upwork.com/freelancers/~01946645ed245c263d
- Or open an issue on this repo.

Built by Gleb.

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation4/5

Most tools target distinct data retrieval patterns: search, address lookups, pair details, and discovery lists. However, search_pairs and get_tokens both return pair data, which could cause confusion when an agent has a contract address.

Naming Consistency4/5

Predominantly verb_noun (search_pairs, get_token_pools, get_tokens, get_pair), but latest_token_profiles and top_boosted_tokens deviate from the verb pattern, making the set slightly inconsistent.

Tool Count5/5

Six tools cover the core DexScreener functionality without redundancy; the count is appropriate for a focused data provider.

Completeness4/5

The set covers search, direct address lookups, pair details, and discovery features. Missing historical/OHLC data but that's beyond the typical scope for first-level data access.

Maintenance

ActivityInactive
ResponsivenessNo issues