PancakeSwap PoolSpy MCP Server
An MCP server that tracks newly created liquidity pools on Pancake Swap, providing real-time data for DeFi analysts, traders, and developers.
Features
- Real-Time Pool Tracking: Fetches pools created within a specified time range (default: 5 minutes).
- Customizable Queries: Adjust the time range (in seconds) and the number of pools returned (default: 100).
- Detailed Metrics: Includes pool address, tokens, creation timestamp, block number, transaction count, volume (USD), and total value locked (USD).
Prerequisites
- Python 3.10+: Ensure Python is installed on your system.
- The Graph API Key: Obtain an API key from The Graph to access the PancakeSwap subgraph.
Installation
Installing via Smithery
To install PancakeSwap PoolSpy for Claude Desktop automatically via Smithery:
- Clone the Repository:
- Install Dependencies:
Install the required Python packages using uv:
- Client Configuration
Usage
Running the Server
Run the server in development mode to test it locally:
This launches the MCP Inspector, where you can interact with the get_new_pools_bsc
tool.
Available Tool
get_new_pools_bsc(time_range_seconds: int = 300, limit: int = 100)
Fetches a list of newly created PancakeSwap pools on BNB Smart Chain.
- Parameters:
time_range_seconds
(int): Time range in seconds to look back for new pools. Default is 300 seconds (5 minutes).limit
(int): Maximum number of pools to return. Default is 100 pools.
- Returns: A formatted string listing pool details or an error message if the query fails.
- Example Outputs:
- Default (last 5 minutes, up to 100 pools):
- Custom (last 10 minutes, up to 50 pools):
- Default (last 5 minutes, up to 100 pools):
Example Prompts:
- "list newly created PancakeSwap pools from the last 1 hours."
- "Display PancakeSwap pools created within the last 2 minutes."
License
This project is licensed under the MIT License. See the LICENSE file for details.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server that tracks newly created liquidity pools on Pancake Swap.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates with Hyperliquid exchange, providing access to crypto market data including mid prices, historical candles, and L2 order books.Last updated -325925TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that tracks newly created liquidity pools on Uniswap across nine blockchain networks.Last updated -5PythonMIT License
- -securityAlicense-qualityAn MCP server that tracks and analyzes DEX liquidity pools to power intelligent DeFi agents and automated strategies.Last updated -2PythonMIT License
- AsecurityAlicenseAqualityMCP Server for Monarch Money, utilizing an unofficial api.Last updated -1111PythonMIT License