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. - Monitors Uniswap V3 pool creation across 9 blockchain networks. - Customizable time range and result limits for querying new pools.
Add this skill
npx mdskills install kukapay/uniswap-poolspy-mcpWell-documented MCP server for tracking Uniswap V3 pool creation across 9 chains with clear setup
1# Uniswap PoolSpy MCP Server23An 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.456789## Features1011- Monitors Uniswap V3 pool creation across 9 blockchain networks.12- Customizable time range and result limits for querying new pools.13- Supports sorting by timestamp, transaction count, volume, or TVL.1415## Prerequisites1617- Python 3.10 or higher18- [uv](https://github.com/astral-sh/uv) for package management19- A valid [The Graph API key](https://thegraph.com/studio/apikeys/)20- MCP-compatible environment (e.g., Claude Desktop) for full functionality2122## Installation23241. **Clone the Repository**:25 ```bash26 git clone https://github.com/yourusername/uniswap-poolspy-mcp.git27 cd uniswap-poolspy-mcp28 ```29302. **Set Up Environment**:31 Install `uv` if you haven't already:32 ```bash33 curl -LsSf https://astral.sh/uv/install.sh | sh34 ```35363. **Install Dependencies**:37 Use `uv` to sync dependencies from `pyproject.toml`:38 ```bash39 uv sync40 ```41424. **Configure API Key**:43 Create a `.env` file in the project root:44 ```bash45 echo "THEGRAPH_API_KEY=your-api-key-here" > .env46 ```47 Replace `your-api-key-here` with your actual The Graph API key.4849## Usage5051### Running the Server5253Start the MCP server:54```bash55uv run main.py56```5758For development with MCP Inspector:59```bash60uv run mcp dev main.py61```6263### Integrating with Claude Desktop6465Install the server as an MCP plugin:66```bash67uv run mcp install main.py --name "UniswapPoolSpy"68```6970### Configuration7172To make the server discoverable by MCP clients (e.g., Claude Desktop), configure it in an `mcpServers` file:7374```json75{76 "mcpServers": {77 "Uniswap-PoolSpy": {78 "command": "uv",79 "args": ["--directory", "path/to/uniswap-poolspy-mcp", "run", "main.py"],80 "env": {81 "THEGRAPH_API_KEY": "your api key from The Graph"82 }83 }84 }85}86 ```878889### Querying New Pools9091Use the `get_new_pools` tool in Claude Desktop with natural language queries like:92- "Show me new pools on Ethereum from the last 10 minutes"93- "List pools on Base sorted by volume, limit to 50"94- "What pools were created on Polygon in the past hour, ordered by TVL?"9596The tool accepts these parameters:97- `chain`: Blockchain network (e.g., "ethereum", "base", "optimism")98- `order_by`: Sort field ("timestamp", "txcount", "volume", "tvl")99- `time_range_seconds`: Lookback period in seconds (default: 300)100- `limit`: Maximum number of pools to return (default: 100)101102### Example Output103```104Newly Created Trading Pools (Last 5 Minutes, Limit: 100):105Pool Address: 0x1234...abcd106Tokens: WETH/USDC107Created At: 2025-03-18 12:34:56108Block Number: 12345678109Transaction Count: 5110Volume (USD): 15000.25111Total Value Locked (USD): 50000.75112113Pool Address: 0x5678...efgh114Tokens: DAI/USDT115Created At: 2025-03-18 12:33:45116Block Number: 12345670117Transaction Count: 3118Volume (USD): 8000.50119Total Value Locked (USD): 25000.00120```121122## Supported Chains123124- Ethereum125- Base126- Optimism127- Arbitrum128- Polygon129- BNB Smart Chain (BSC)130- Avalanche131- Celo132- Blast133134## License135136This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.137138
Full transparency — inspect the skill content before installing.