PancakeSwap PoolSpy MCP Server
An MCP server that tracks newly created liquidity pools on Pancake Swap
Overview
PancakeSwap PoolSpy MCP is an MCP server designed to track newly created liquidity pools on Pancake Swap, providing real-time data for DeFi analysts, traders, and developers.
To use the server, clone the repository, install the required dependencies, and run the server in development mode. You can then interact with the get_new_pools_bsc tool to fetch newly created pools.
- Real-Time Pool Tracking: Fetches pools created within a specified time range (default: 5 minutes). - Customizable Queries: Adjust the time range and the number of pools returned. - Detailed Metrics: Provides pool address, tokens, creation timestamp, block number, transaction count, volume (USD), and total value locked (USD).
- Analyzing new liquidity pools for investment opportunities.
- Monitoring DeFi market trends and activities.
- Assisting developers in building applications that require real-time pool data.
Add to your AI client
Use these steps to connect PancakeSwap PoolSpy MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"pancakeswap-poolspy-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pancakeswap-poolspy-mcp-kukapay"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"pancakeswap-poolspy-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pancakeswap-poolspy-mcp-kukapay"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"pancakeswap-poolspy-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pancakeswap-poolspy-mcp-kukapay"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"pancakeswap-poolspy-mcp-kukapay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pancakeswap-poolspy-mcp-kukapay"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pancakeswap-poolspy-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pancakeswap-poolspy-mcp-kukapay"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"pancakeswap-poolspy-mcp-kukapay": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pancakeswap-poolspy-mcp-kukapay"
]
}
}
}FAQ
What programming language is used for this project?
The project is built using Python 3.10+.
Do I need an API key to use this tool?
Yes, you need to obtain an API key from The Graph to access the PancakeSwap subgraph.
Is this project open-source?
Yes, it is licensed under the MIT License.