• DATA
  • ANALYSIS
  • REPORTING
  • HUMAN

How to monitor DEX swap activity with your AI

Connect The Graph to your AI client to pull live swap data across multiple chains. Once connected, your agent handles the indexing while you focus on the analysis.

Ask AI about this page

Short answer

How can I track DEX swaps using my AI?

Your AI uses The Graph to query real-time swap events and liquidity changes on EVM and Solana chains. It turns raw blockchain indexing into actionable data you can query in plain English. You get a direct line to on-chain movements.

The outcomes.

Where your data lands.

The AI processes raw indexer data into these specific outputs.

DATA

Live swap feeds

The AI pulls recent transaction logs and liquidity shifts. You get a clean stream of what just happened on-chain.

ANALYSIS

Trend identification

Your agent compares current swap volumes against recent history. It flags unusual spikes or sudden liquidity drains.

REPORTING

Structured summaries

The AI organizes messy swap data into readable lists or tables. You can ask for specific token pairs or wallet activity.

HUMAN

Manual trade execution

The AI identifies the moves, but you decide when to trade. It cannot execute swaps or move funds for you.

The workflow

What your AI does when the data arrives.

The AI acts as the bridge between the blockchain indexer and your chat interface.

  1. Fetch EVM swaps

    The AI queries the indexer for recent swap events on Ethereum-compatible chains.

    get_evm_swaps
  2. Fetch Solana swaps

    The AI pulls real-time swap data specifically from Solana DEX protocols.

    get_svm_swaps
  3. Filter movements

    Your agent sifts through the raw swap logs to find specific tokens or large volume shifts.

    get_evm_swapsget_svm_swaps
  4. Summarize activity

    The AI translates the technical swap data into a summary of market activity.

    get_evm_swapsget_svm_swaps

Try it

Copy these to start.

Use these prompts to begin monitoring activity immediately.

Starting points

Replace the bracketed text with the specific tokens or chains you want to watch.

The Graph Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_lKCcPQtDzEbLkEyQdpLNknTGhTDgro8TIiVVYvos/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — The Graph capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "the-graph-web3-indexing-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_lKCcPQtDzEbLkEyQdpLNknTGhTDgro8TIiVVYvos/mcp"
    }
  }
}
Copy into chat04
  • Show me the last 10 swaps for USDC on Ethereum.

  • What are the most recent large swaps happening on Solana right now?

  • List all recent swaps involving the WETH/USDT pair on EVM chains.

  • Are there any sudden spikes in swap volume for any tokens on Solana?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect The Graph once, then ask.

One click connects the indexer to your AI client. Your credentials stay encrypted, and you can start querying data immediately.

Connect The Graph to your AI

FAQ

How this task behaves.

  • 01

    Can my AI execute a swap for me?

    No. The AI can only read and report on swap data. You must use your own wallet or trading interface to move funds.

  • 02

    Does the AI provide real-time price feeds?

    The AI provides swap data which includes price information at the time of the trade, but it is not a dedicated price oracle.

  • 03

    Can it monitor any chain?

    It is limited to the chains supported by the tools, which are currently EVM and Solana.

  • 04

    Can the AI change my wallet settings?

    No. The AI has no write access to your wallet or any blockchain state.

  • 05

    How recent is the data?

    The data is as recent as the underlying indexer, providing access to the latest processed swap events.

  • More questions about The Graph? The Connector page answers them. See everything the The Graph Connector can do

Connect The Graph to Claude, Cursor, ChatGPT & more