PancakeSwap PoolSpy MCP Server

Monitor new PancakeSwap liquidity pools in real time and power your DeFi analytics, trading, or alerting with the PancakeSwap PoolSpy MCP Server.

PancakeSwap PoolSpy MCP Server

What does “PancakeSwap PoolSpy” MCP Server do?

PancakeSwap PoolSpy MCP Server is a Model Context Protocol (MCP) server designed to track newly created liquidity pools on PancakeSwap, one of the leading decentralized exchanges on the Binance Smart Chain. The server provides real-time data relevant to DeFi analysts, traders, and developers by fetching information about pools created within a specified time range (defaulting to the last 5 minutes). It enables AI assistants and development tools to programmatically query and analyze pool creation events, access detailed pool metrics (such as pool address, tokens, creation timestamp, block number, transaction count, volume in USD, and total value locked in USD), and customize queries by adjusting the time range and the number of pools returned. By integrating this server, users can enhance their workflows with up-to-date DeFi insights and automate tasks related to liquidity pool monitoring on PancakeSwap.

List of Prompts

No specific prompt templates are mentioned in the available documentation or repository files.

List of Resources

No explicit resource primitives are described in the repository or documentation.

List of Tools

  • Real-Time Pool Tracking Tool
    Fetches PancakeSwap liquidity pools created within a specified time range. Allows for customizable queries including time window and number of pools, and returns detailed metrics such as pool address, token information, creation timestamp, block number, transaction count, volume (USD), and total value locked (USD).

Use Cases of this MCP Server

  • DeFi Pool Monitoring
    Developers and analysts can monitor newly created liquidity pools in real-time, enabling timely insights into market activities and trends on PancakeSwap.
  • Automated Trading Strategies
    Algorithmic traders can programmatically detect new pools and potentially act on arbitrage or liquidity provision opportunities as soon as they appear.
  • Data Analytics and Reporting
    Data scientists can collect and analyze metrics from new pools to identify emerging tokens, trading patterns, or shifts in liquidity.
  • Alerting Systems
    Build alerting or notification systems that inform users or bots when pools matching certain criteria are created.
  • Research Dashboards
    Integrate pool creation data into dashboards or research tools to visualize and explore the evolving DeFi ecosystem on PancakeSwap.

How to set it up

Windsurf

  1. Ensure Prerequisites: Install Python 3.10+ and obtain an API key from The Graph.
  2. Clone the Repository:
    git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git
    cd pancakeswap-poolspy-mcp
    
  3. Install Dependencies:
    uv add mcp[cli] httpx dotenv
    
  4. Edit Configuration: Add the MCP server to the Windsurf configuration JSON:
    {
      "mcpServers": {
        "PancakeSwap-PoolSpy": {
          "command": "uv",
          "args": ["--directory", "path/to/pancakeswap-poolspy-mcp", "run", "main.py"],
          "env": {
            "THEGRAPH_API_KEY": "your api key from The Graph"
          }
        }
      }
    }
    
  5. Save and Restart Windsurf, then verify the server is available.

Claude

  1. Ensure Prerequisites: Install Python 3.10+ and obtain The Graph API key.
  2. Clone the Repository & Install:
    git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git
    cd pancakeswap-poolspy-mcp
    uv add mcp[cli] httpx dotenv
    
  3. Configure MCP Server:
    {
      "mcpServers": {
        "PancakeSwap-PoolSpy": {
          "command": "uv",
          "args": ["--directory", "path/to/pancakeswap-poolspy-mcp", "run", "main.py"],
          "env": {
            "THEGRAPH_API_KEY": "your api key from The Graph"
          }
        }
      }
    }
    
  4. Save Configuration and restart Claude Desktop.

Cursor

  1. Install Prerequisites: Python 3.10+, The Graph API key.
  2. Clone and Install:
    git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git
    cd pancakeswap-poolspy-mcp
    uv add mcp[cli] httpx dotenv
    
  3. Edit Cursor Configuration:
    {
      "mcpServers": {
        "PancakeSwap-PoolSpy": {
          "command": "uv",
          "args": ["--directory", "path/to/pancakeswap-poolspy-mcp", "run", "main.py"],
          "env": {
            "THEGRAPH_API_KEY": "your api key from The Graph"
          }
        }
      }
    }
    
  4. Save and Restart Cursor.

Cline

  1. Install Python 3.10+ and get your API key from The Graph.
  2. Clone and Prepare:
    git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git
    cd pancakeswap-poolspy-mcp
    uv add mcp[cli] httpx dotenv
    
  3. Update Cline Configuration:
    {
      "mcpServers": {
        "PancakeSwap-PoolSpy": {
          "command": "uv",
          "args": ["--directory", "path/to/pancakeswap-poolspy-mcp", "run", "main.py"],
          "env": {
            "THEGRAPH_API_KEY": "your api key from The Graph"
          }
        }
      }
    }
    
  4. Save and Restart the client.

Securing API Keys

Use environment variables in the “env” section for sensitive data. Example configuration:

{
  "mcpServers": {
    "PancakeSwap-PoolSpy": {
      "command": "uv",
      "args": ["--directory", "path/to/pancakeswap-poolspy-mcp", "run", "main.py"],
      "env": {
        "THEGRAPH_API_KEY": "your api key from The Graph"
      }
    }
  }
}

How to use this MCP inside flows

Using MCP in FlowHunt

To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

FlowHunt MCP flow

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:

{
  "PancakeSwap-PoolSpy": {
    "transport": "streamable_http",
    "url": "https://yourmcpserver.example/pathtothemcp/url"
  }
}

Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “PancakeSwap-PoolSpy” to the actual name of your MCP server and replace the URL with your own MCP server URL.


Overview

SectionAvailabilityDetails/Notes
OverviewDetailed in README.md
List of PromptsNot described
List of ResourcesNot described
List of ToolsReal-time pool tracking tool described in features
Securing API KeysEnvironment variable method shown in documentation
Sampling Support (less important in evaluation)Not mentioned

Based on the available documentation, PancakeSwap PoolSpy MCP provides a clear overview, secure API key management, and a well-documented core tool, but lacks details on prompts, resources, and sampling or roots support. It is suitable for developers needing real-time pool monitoring in DeFi contexts but would benefit from expanded documentation on MCP-specific primitives.


MCP Score

Has a LICENSE✅ (MIT)
Has at least one tool
Number of Forks2
Number of Stars4

Rating:
I would rate this MCP server a 5/10. It fulfills its core purpose well and is open source, but the lack of documented prompt templates, resources, sampling/roots support, and additional tools limits its broader usability and integration potential.

Frequently asked questions

What is PancakeSwap PoolSpy MCP Server?

It's an MCP server that tracks and analyzes newly created liquidity pools on PancakeSwap (Binance Smart Chain), providing real-time data for DeFi analytics, trading, and automation.

What kind of information can I fetch?

You can obtain pool address, tokens, creation timestamp, block number, transaction count, volume in USD, total value locked (TVL) in USD, and more, filtered by a customizable time window.

Who should use this MCP server?

DeFi analysts, developers, traders, or anyone building tools that benefit from real-time insights into new liquidity pools on PancakeSwap.

How do I secure my API keys?

Add your The Graph API key as an environment variable in the 'env' section of your MCP configuration, instead of hardcoding it.

Does it support prompt templates or resource primitives?

No, the current documentation does not specify any prompt templates or resource primitives for this MCP server.

What are typical use cases?

Use cases include DeFi pool monitoring, automated trading strategies, analytics and reporting, alerting systems, and research dashboards.

Integrate PancakeSwap PoolSpy with FlowHunt

Enhance your DeFi workflow with real-time PancakeSwap pool tracking. Integrate this MCP server into your FlowHunt flows or automation tools today.

Learn more