An MCP server that tracks newly created liquidity pools on Pancake Swap, providing real-time data for DeFi analysts, traders, and developers. - 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
Add this skill
npx mdskills install kukapay/pancakeswap-poolspy-mcpWell-documented DeFi tool with clear setup and useful pool tracking capabilities
1# PancakeSwap PoolSpy MCP Server23An MCP server that tracks newly created liquidity pools on Pancake Swap, providing real-time data for DeFi analysts, traders, and developers.45[](https://opensource.org/licenses/MIT)6[](https://www.python.org/)7[](https://smithery.ai/server/@kukapay/pancakeswap-poolspy-mcp)89## Features1011- **Real-Time Pool Tracking**: Fetches pools created within a specified time range (default: 5 minutes).12- **Customizable Queries**: Adjust the time range (in seconds) and the number of pools returned (default: 100).13- **Detailed Metrics**: Includes pool address, tokens, creation timestamp, block number, transaction count, volume (USD), and total value locked (USD).1415## Prerequisites1617- **Python 3.10+**: Ensure Python is installed on your system.18- **The Graph API Key**: Obtain an API key from [The Graph](https://thegraph.com/) to access the PancakeSwap subgraph.1920## Installation2122### Installing via Smithery2324To install PancakeSwap PoolSpy for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@kukapay/pancakeswap-poolspy-mcp):2526```bash27npx -y @smithery/cli install @kukapay/pancakeswap-poolspy-mcp --client claude28```29301. **Clone the Repository**:31 ```bash32 git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git33 cd pancakeswap-poolspy-mcp34 ```35362. **Install Dependencies**:37 Install the required Python packages using uv:38 ```bash39 uv add mcp[cli] httpx dotenv40 ```41423. **Client Configuration**43 ```json44 {45 "mcpServers": {46 "PancakeSwap-PoolSpy": {47 "command": "uv",48 "args": ["--directory", "path/to/pancakeswap-poolspy-mcp", "run", "main.py"],49 "env": {50 "THEGRAPH_API_KEY": "your api key from The Graph"51 }52 }53 }54 }55 ```5657## Usage5859### Running the Server6061Run the server in development mode to test it locally:62```bash63mcp dev main.py64```65This launches the MCP Inspector, where you can interact with the `get_new_pools_bsc` tool.6667### Available Tool6869#### `get_new_pools_bsc(time_range_seconds: int = 300, limit: int = 100)`7071Fetches a list of newly created PancakeSwap pools on BNB Smart Chain.7273- **Parameters**:74 - `time_range_seconds` (int): Time range in seconds to look back for new pools. Default is 300 seconds (5 minutes).75 - `limit` (int): Maximum number of pools to return. Default is 100 pools.7677- **Returns**: A formatted string listing pool details or an error message if the query fails.7879- **Example Outputs**:80 - Default (last 5 minutes, up to 100 pools):81 ```bash82 get_new_pools_bsc()83 ```84 ```85 Newly Created Trading Pools (Last 5 Minutes, Limit: 100):86 Pool Address: 0x1234...567887 Tokens: WETH/USDC88 Created At: 2025-03-16 12:00:00 UTC89 Block Number: 1234567890 Transaction Count: 1091 Volume (USD): 1234.5692 Total Value Locked (USD): 5678.909394 Pool Address: 0x9abc...def095 Tokens: CAKE/BNB96 Created At: 2025-03-16 12:01:00 UTC97 Block Number: 1234567998 Transaction Count: 599 Volume (USD): 789.12100 Total Value Locked (USD): 3456.78101 ```102103 - Custom (last 10 minutes, up to 50 pools):104 ```bash105 get_new_pools(600, 50)106 ```107 ```108 Newly Created Trading Pools (Last 10 Minutes, Limit: 50):109 [pool details...]110 ```111112### **Example Prompts**:113114 - "list newly created PancakeSwap pools from the last 1 hours."115 - "Display PancakeSwap pools created within the last 2 minutes."116117## License118119This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.120
Full transparency — inspect the skill content before installing.