- Home
- MCP servers
- PancakeSwap PoolSpy
PancakeSwap PoolSpy
- python
7
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"kukapay-pancakeswap-poolspy-mcp": {
"command": "uv",
"args": [
"--directory",
"path/to/pancakeswap-poolspy-mcp",
"run",
"main.py"
],
"env": {
"THEGRAPH_API_KEY": "YOUR_API_KEY"
}
}
}
}You can deploy PancakeSwap PoolSpy MCP Server to monitor newly created liquidity pools on PancakeSwap in real time. This MCP server exposes a straightforward tool that returns pool details such as addresses, tokens, creation timestamps, block numbers, transaction counts, and liquidity metrics, helping analysts, developers, and traders stay informed about fresh liquidity on the platform.
How to use
Use an MCP client to interact with PancakeSwap PoolSpy. The server provides a single tool named get_new_pools_bsc that retrieves recently created pools on the Binance Smart Chain within a configurable time window. You can adjust the time range in seconds and the maximum number of pools returned. The output includes pool address, tokens, creation time, block number, transaction count, and liquidity metrics.
How to install
Prerequisites you need before installing the MCP server.
• Python 3.10+ installed on your system.
• The Graph API key required to access the PancakeSwap subgraph.
Install and configure the MCP client connection as shown below.
{
"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"
}
}
}
}
Additional notes
Running locally in development mode lets you test the server and interact with the get_new_pools_bsc tool. You will typically run the MCP server via the specified runtime command and then use your MCP client to call the available tool.
Available tools
get_new_pools_bsc
Fetches a list of newly created PancakeSwap pools on BNB Smart Chain within a specified time range. You can set time_range_seconds and limit to control the window and the number of pools returned.