pancakeswap-poolspy-mcp
PancakeSwap PoolSpy MCP 服务器
MCP 服务器用于跟踪 Pancake Swap 上新创建的流动性池,为 DeFi 分析师、交易员和开发人员提供实时数据。
特征
实时池跟踪:获取在指定时间范围内创建的池(默认值:5 分钟)。
可定制的查询:调整时间范围(以秒为单位)和返回的池数(默认值:100)。
详细指标:包括池地址、代币、创建时间戳、区块号、交易数量、交易量(美元)和锁定的总价值(美元)。
Related MCP server: hyperliquid-whalealert-mcp
先决条件
Python 3.10+ :确保您的系统上安装了 Python。
The Graph API 密钥:从The Graph获取 API 密钥以访问 PancakeSwap 子图。
安装
克隆存储库:
git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git cd pancakeswap-poolspy-mcp安装依赖项:使用 uv 安装所需的 Python 包:
uv add mcp[cli] httpx dotenv客户端配置
{ "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" } } } }
用法
运行服务器
以开发模式运行服务器以在本地进行测试:
mcp dev main.py这将启动 MCP Inspector,您可以在其中与get_new_pools_bsc工具进行交互。
可用工具
get_new_pools_bsc(time_range_seconds: int = 300, limit: int = 100)
获取 BNB 智能链上新创建的 PancakeSwap 池列表。
参数:
time_range_seconds(int):查询新池的时间范围(以秒为单位)。默认值为 300 秒(5 分钟)。limit(int):返回的最大池数量。默认值为 100 个池。
返回:列出池详细信息的格式化字符串或查询失败时的错误消息。
示例输出:
默认(最后 5 分钟,最多 100 个池):
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.78自定义(最后 10 分钟,最多 50 个池):
get_new_pools(600, 50)Newly Created Trading Pools (Last 10 Minutes, Limit: 50): [pool details...]
示例提示:
“列出过去 1 小时内新创建的 PancakeSwap 池。”
“显示过去 2 分钟内创建的 PancakeSwap 池。”
执照
本项目遵循 MIT 许可证。详情请参阅LICENSE文件。
Available Tools
1 toolget_new_pools_bscA
Returns a list of trading pools created in the specified time range on Pancake Swap V3 BNB Smart Chain.
Parameters: time_range_seconds (int): The time range in seconds to look back for new pools. Default is 300 seconds (5 minutes). limit (int): The maximum number of pools to return. Default is 100 pools.
Inputs: time_range_seconds, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct.
A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name follows a clear verb_noun pattern.
One tool is too few for a server focused on monitoring PancakeSwap pools, as it lacks essential operations like retrieving pool details, tracking updates, or analyzing liquidity. This severely limits functionality.
The tool surface is severely incomplete for monitoring pools; it only fetches new pools without supporting queries for existing pools, pool metadata, or historical data, leaving significant gaps in coverage.
Maintenance
Related MCP Connectors
Crypto market intelligence, token rug-checks, and wallet verification in one MCP server.
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Official CoinMarketCap MCP server: real-time crypto prices, market cap, rankings and exchange data.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that tracks newly created liquidity pools on Uniswap across nine blockchain networks.110MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides real-time whale alerts on Hyperliquid.113MIT
- AlicenseAqualityDmaintenanceAn MCP server that tracks and analyzes DEX liquidity pools to power intelligent DeFi agents and automated strategies.12MIT
- AlicenseAqualityDmaintenanceAn MCP server that analyzes wallets’ trading activity and profitability on Pump.fun and PumpSwap.42MIT