uniswap-poolspy-mcp
An MCP server that tracks newly created liquidity pools on Uniswap across nine blockchain networks.
Documentation
Uniswap PoolSpy MCP Server
An MCP server that tracks newly created liquidity pools on Uniswap across nine blockchain networks — Ethereum, Base, Optimism, Arbitrum, Polygon, BNB Smart Chain (BSC), Avalanche, Celo, and Blast — providing real-time data for DeFi analysts, traders, and developers.
Features
- Monitors Uniswap V3 pool creation across 9 blockchain networks.
- Customizable time range and result limits for querying new pools.
- Supports sorting by timestamp, transaction count, volume, or TVL.
Prerequisites
- Python 3.10 or higher
- uv for package management
- A valid The Graph API key
- MCP-compatible environment (e.g., Claude Desktop) for full functionality
Installation
1. Clone the Repository:
git clone https://github.com/yourusername/uniswap-poolspy-mcp.git
cd uniswap-poolspy-mcp2. Set Up Environment:
Install `uv` if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh3. Install Dependencies:
Use `uv` to sync dependencies from `pyproject.toml`:
uv sync4. Configure API Key:
Create a `.env` file in the project root:
echo "THEGRAPH_API_KEY=your-api-key-here" > .envReplace `your-api-key-here` with your actual The Graph API key.
Usage
Running the Server
Start the MCP server:
uv run main.pyFor development with MCP Inspector:
uv run mcp dev main.pyIntegrating with Claude Desktop
Install the server as an MCP plugin:
uv run mcp install main.py --name "UniswapPoolSpy"Configuration
To make the server discoverable by MCP clients (e.g., Claude Desktop), configure it in an `mcpServers` file:
{
"mcpServers": {
"Uniswap-PoolSpy": {
"command": "uv",
"args": ["--directory", "path/to/uniswap-poolspy-mcp", "run", "main.py"],
"env": {
"THEGRAPH_API_KEY": "your api key from The Graph"
}
}
}
}Querying New Pools
Use the `get_new_pools` tool in Claude Desktop with natural language queries like:
- "Show me new pools on Ethereum from the last 10 minutes"
- "List pools on Base sorted by volume, limit to 50"
- "What pools were created on Polygon in the past hour, ordered by TVL?"
The tool accepts these parameters:
- `chain`: Blockchain network (e.g., "ethereum", "base", "optimism")
- `order_by`: Sort field ("timestamp", "txcount", "volume", "tvl")
- `time_range_seconds`: Lookback period in seconds (default: 300)
- `limit`: Maximum number of pools to return (default: 100)
Example Output
Newly Created Trading Pools (Last 5 Minutes, Limit: 100):
Pool Address: 0x1234...abcd
Tokens: WETH/USDC
Created At: 2025-03-18 12:34:56
Block Number: 12345678
Transaction Count: 5
Volume (USD): 15000.25
Total Value Locked (USD): 50000.75
Pool Address: 0x5678...efgh
Tokens: DAI/USDT
Created At: 2025-03-18 12:33:45
Block Number: 12345670
Transaction Count: 3
Volume (USD): 8000.50
Total Value Locked (USD): 25000.00Supported Chains
- Ethereum
- Base
- Optimism
- Arbitrum
- Polygon
- BNB Smart Chain (BSC)
- Avalanche
- Celo
- Blast
License
This project is licensed under the MIT License - see the LICENSE file for details.
Frequently asked questions
What is uniswap-poolspy-mcp?
uniswap-poolspy-mcp is An MCP server that tracks newly created liquidity pools on Uniswap across nine blockchain networks.
How do I install uniswap-poolspy-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is uniswap-poolspy-mcp open source?
Yes — it is hosted on GitHub at https://github.com/kukapay/uniswap-poolspy-mcp and has 6 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP