Track New PancakeSwap Liquidity Pools
An MCP server tracking newly created PancakeSwap liquidity pools on BNB Smart Chain in real time.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Monitor PancakeSwap for newly created liquidity pools on the BNB Smart Chain. Get real-time data on pool metrics like TVL, volume, and transaction counts for DeFi analysis.
Outcomes
What it gets done
Fetch new PancakeSwap pools on BSC within a specified time range.
Extract detailed metrics including pool address, tokens, and financial data.
Configure the time range and number of pools to track.
Utilize The Graph API for data retrieval.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-pancakeswap-poolspy-mcp | bash Capabilities
Tools your agent gets
Retrieves a list of new PancakeSwap pools on BNB Smart Chain with customizable time range and metrics.
Overview
pancakeswap-poolspy-mcp server
This MCP server exposes a get_new_pools_bsc tool tracking newly created PancakeSwap liquidity pools on BNB Smart Chain, returning address, tokens, timestamp, volume, and TVL per pool. Use it to monitor newly created PancakeSwap pools within a configurable time window. Requires a The Graph API key to query the PancakeSwap subgraph.
What it does
An MCP server that tracks newly created liquidity pools on PancakeSwap (BNB Smart Chain), giving DeFi analysts, traders, and developers real-time visibility into fresh pool creation. It exposes a single tool, get_new_pools_bsc(time_range_seconds, limit), which fetches pools created within a lookback window (default 300 seconds / 5 minutes) up to a maximum count (default 100), returning a formatted string per pool listing its address, token pair, creation timestamp, block number, transaction count, volume in USD, and total value locked in USD - for example "Pool Address: 0x1234...5678, Tokens: WETH/USDC, Created At: 2025-03-16 12:00:00 UTC, Block Number: 12345678, Transaction Count: 10, Volume (USD): 1234.56, Total Value Locked (USD): 5678.90." Data is sourced from PancakeSwap's subgraph via The Graph.
When to use - and when NOT to
Use it for prompts like "list newly created PancakeSwap pools from the last hour" or "display PancakeSwap pools created within the last 2 minutes" - surfacing brand-new liquidity pools for monitoring, early-opportunity scanning, or research. It is scoped specifically to newly-created pools on BNB Smart Chain; it is not a general PancakeSwap analytics tool for existing pool history, price charts, or trading. It requires a The Graph API key to query the PancakeSwap subgraph, and returns an error message rather than data if the underlying query fails.
Capabilities
Tool signature: get_new_pools_bsc(time_range_seconds: int = 300, limit: int = 100). Both parameters are optional and independently adjustable - a caller can widen the lookback window without raising the result cap, or vice versa, to balance freshness against response size.
How to install
npx -y @smithery/cli install @kukapay/pancakeswap-poolspy-mcp --client claude
Or manually: clone the repository, install dependencies with uv add mcp[cli] httpx dotenv, and configure a client with the THEGRAPH_API_KEY environment variable pointing at your own API key from The Graph:
{
"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" }
}
}
}
Requires Python 3.10 or higher. For local development, run mcp dev main.py to launch the MCP Inspector and interact with get_new_pools_bsc directly before wiring it into a client - useful for verifying custom time-range and limit combinations, such as the last 10 minutes capped at 50 pools, return correctly formatted results before deploying the server to a real client.
Who it's for
DeFi analysts, traders, and developers who want early visibility into newly created PancakeSwap liquidity pools on BNB Smart Chain - spotting fresh token pairs and their initial volume/TVL - without polling PancakeSwap's subgraph manually. Distributed under the MIT License.
Source README
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:
npx -y @smithery/cli install @kukapay/pancakeswap-poolspy-mcp --client claude
Clone the Repository:
git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git cd pancakeswap-poolspy-mcpInstall Dependencies:
Install the required Python packages using uv:uv add mcp[cli] httpx dotenvClient 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" } } } }
Usage
Running the Server
Run the server in development mode to test it locally:
mcp dev main.py
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):
get_new_pools_bsc()Newly Created Trading Pools (Last 5 Minutes, Limit: 100): Pool Address: 0x1234...5678 Tokens: WETH/USDC Created At: 2025-03-16 12:00:00 UTC Block Number: 12345678 Transaction Count: 10 Volume (USD): 1234.56 Total Value Locked (USD): 5678.90 Pool Address: 0x9abc...def0 Tokens: CAKE/BNB Created At: 2025-03-16 12:01:00 UTC Block Number: 12345679 Transaction Count: 5 Volume (USD): 789.12 Total Value Locked (USD): 3456.78Custom (last 10 minutes, up to 50 pools):
get_new_pools(600, 50)Newly Created Trading Pools (Last 10 Minutes, Limit: 50): [pool details...]
Example Prompts:
- "list newly created PancakeSwap pools from the last 1 hours."
- "Display PancakeSwap pools created within the last 2 minutes."
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.