---
title: "Use DexData in ChatGPT, Claude and Cursor · DexData Docs"
description: "Connect DexData's free MCP server to ChatGPT, Claude, Cursor, VS Code, Codex, or Gemini CLI to look up live token prices, charts, and socials in chat."
image: "https://dexdata.org/og/docs.png?v=5"
url: "https://docs.dexdata.org/ai-agents"
agent:
  instructions: "Use this site's search API instead of crawling individual pages: send a token's name, symbol or contract address (on Solana, Elysium, Robinhood Chain, Ethereum, BNB Chain, Base, Arbitrum, Monad, Ink or HyperEVM), or a question about dexdata. Results are returned in Markdown. Every page is also available as Markdown: request it with Accept: text/markdown, or add .md to its path (/token/{mint}.md on Solana, /token/{chain}/{address}.md on another chain, the home page /index.md)."
  endpoint: "https://dexdata.org/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Use DexData in ChatGPT, Claude and Cursor

> Connect DexData's free MCP server to ChatGPT, Claude, Cursor, VS Code, Codex, or Gemini CLI to look up live token prices, charts, and socials in chat.

Web page: https://docs.dexdata.org/ai-agents

Connect DexData to ChatGPT, Claude, Cursor, VS Code, Codex, Gemini CLI, or any MCP-compatible AI app and ask about any token in plain language, such as "look up $BONK on DexData". You get live prices, a price chart, market stats, and the team's Enhanced Token Data links inside the chat.

The DexData MCP server runs at `https://dexdata.org/mcp` over Streamable HTTP with no authentication required.

## What the token card shows

![DexData token card for Bonk on Solana rendered inside an AI chat with live price, 1D/7D/30D price chart, market cap, liquidity, 24h volume, holders, and Open on DexData button](https://docs.dexdata.org/docs-media/ai-token-card.webp?w=960&h=850)

In apps that support MCP Apps (such as Claude and ChatGPT), `lookup_token` renders an interactive token card showing the live price, 24h change, a 1D, 7D, or 30D price chart, market cap, liquidity, 24h volume, holder count, and short-term price moves. When the token's team has published [Enhanced Token Data](https://docs.dexdata.org/enhanced-token-data), the card includes their description and links. Clients that do not render interactive cards receive the same data as clean Markdown.

## How do I add DexData to ChatGPT?

On the ChatGPT web app, open **Plugins**, click **+**, and select **Add custom MCP server**. Name it `DexData`, paste `https://dexdata.org/mcp` under Connection, select no authentication, and save. In any chat, type `@` and pick `DexData` before asking your question. Custom MCP server support depends on your ChatGPT plan.

## How do I add DexData to Claude?

Open **Customize**, go to **Connectors**, click **+ Add**, and select **Add custom connector**. Name it `DexData`, paste `https://dexdata.org/mcp`, select **No sign in**, and click **Add**. On Team and Enterprise plans, an organization owner adds the connector under Organization settings first.

## Setup for coding tools and other MCP clients

### Claude Code

```bash
claude mcp add --transport http --scope user dexdata https://dexdata.org/mcp
```

### Cursor

Add this entry to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project):

```json
{
  "mcpServers": {
    "dexdata": { "url": "https://dexdata.org/mcp" }
  }
}
```

### VS Code (GitHub Copilot)

Run **Chat: Open Customizations**, choose **MCP Servers**, then **Add Server**, then **HTTP**, or edit `~/.copilot/mcp-config.json`:

```json
{
  "mcpServers": {
    "dexdata": { "type": "http", "url": "https://dexdata.org/mcp" }
  }
}
```

### Codex

Add this section to `~/.codex/config.toml`:

```toml
[mcp_servers.dexdata]
url = "https://dexdata.org/mcp"
```

### Gemini CLI

Add this entry to `~/.gemini/settings.json`:

```json
{
  "mcpServers": {
    "dexdata": { "httpUrl": "https://dexdata.org/mcp" }
  }
}
```

Any other MCP client can connect using Streamable HTTP at `https://dexdata.org/mcp` with no authentication.

## Available MCP tools

| Tool | What it does |
| --- | --- |
| `lookup_token` | Looks up a token by `$TICKER`, name, or contract address on any supported chain. Renders an interactive token card in MCP Apps hosts and lists other copies when a ticker matches multiple tokens. |
| `get_price_chart` | Returns price history over `1d`, `7d`, or `30d` along with the percentage change, high, and low. |
| `list_tokens` | Returns a chain's `trending`, `top`, `gainers`, `new`, or Solana `graduated` list over the requested window. |
| `search_dexdata` | Searches live tokens, DexData site pages, and these docs in one query. |

## Example prompts

- "Look up $BONK on DexData"
- "Show me the 30-day chart for $WIF"
- "What is trending on Solana right now?"
- "Biggest gainers on Base in the last hour"
- "How do I check if a token is dex paid?"

Token prices move every second, so ask again when you need fresh figures. Nothing returned is financial advice.

## Can the DexData MCP connector trade or access my wallet?

No. Every MCP tool is read-only and only queries public market and profile data. Nothing in the connector can sign transactions, connect to your wallet, or buy or sell tokens.

## Does the MCP connector cost anything?

No. The connector is free and needs no account or API key. Requests are rate-limited per user.

## For agent builders

- **A2A:** Other agents can message DexData at `https://dexdata.org/a2a`, with its agent card at `https://dexdata.org/.well-known/agent-card.json`.
- **Search endpoint:** `GET https://dexdata.org/.well-known/search?q=<query>` searches live tokens and docs pages and returns Markdown.
- **Markdown on every page:** Append `.md` to any URL on `https://dexdata.org` or `https://docs.dexdata.org`, or request it with `Accept: text/markdown`.
- **Browser agents:** `https://dexdata.org` registers the same tools in-browser via WebMCP.
- **Directory files:** See `https://dexdata.org/llms.txt` and `https://docs.dexdata.org/llms.txt` for full indexes.

If you are building an app, bot, or chart that displays token profiles or DexData Paid badges to users, use the [Data API](https://docs.dexdata.org/api) with a free key from the [Developer console](https://console.dexdata.org).

---

DexData docs: https://docs.dexdata.org/index.md · Every docs page is Markdown at its URL plus .md · API reference for agents: https://dexdata.org/llms.txt
