KP

kukapay/pancakeswap-poolspy-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 6 forks 품질 65 트렌드 0MIT

새로 만든 유동성 풀을 추적하는 MCP 서버 Pancake Swap

개요

새로 만든 유동성 풀을 추적하는 MCP 서버 Pancake Swap에서, DeFi 분석가, 상인 및 개발자를위한 실시간 데이터를 제공합니다. - : 지정된 시간 범위 내에서 생성 된 Fetches 풀 (기본값 : 5 분). - : 시간 범위를 조정 (초) 및 풀의 수는 반환 (과태: 100). - : 풀 주소, 토큰, 생성 타임스탬프, 블록 번호, 거래 수, 볼륨 (USD), 총 값 잠금 (USD). - : Python을 시스템에 설치합니다. - : 그래프에서 API 키를 얻어 PancakeSwap subgraph에 액세스합니다. PancakeSwap PoolSpy를 설치하려면 Claude Desktop을 자동으로 설치하십시오. Smithery : 2. : uv를 사용하여 필요한 Python 패키지 설치 : 개발 모드에서 서버를 실행하여 로컬 테스트: MCP Inspector를 출시하면 get new pools bsc 도구와 상호 작용할 수 있습니다. 새로 생성 된 PancakeSwap 풀의 목록을 BNB 스마트 체인에.

개요(AI 번역)

새로 만든 유동성 풀을 추적하는 MCP 서버 Pancake Swap에서, DeFi 분석가, 상인 및 개발자를위한 실시간 데이터를 제공합니다.

특징

  • Real-Time Pool Tracking: 지정된 시간 범위 내에서 생성된 Fetches Pools (과태: 5 분).
  • Customizable Queries: 시간 범위를 조정 (초) 풀의 수 (과태: 100).
  • Detailed Metrics: 풀 주소, 토큰, 생성 타임스탬프, 블록 번호, 거래 수, 볼륨 (USD), 총 값 잠금 (USD) 포함.

필수품

-Python 3.10+: Python을 시스템에 설치합니다.

  • ** 그래프 API Key**: 그래프에서 API키를 얻어 PancakeSwap subgraph에 접속합니다.

설치

Smithery를 통해 설치

PancakeSwap PoolSpy를 설치하려면 Claude Desktop을 자동으로 설치하십시오. Smithery :

  1. ** 저장소를 복제 **:

  2. **모든 종점 **: uv를 사용하여 필요한 Python 패키지 설치:

  3. ** 클라이언트 구성**

사용법

서버 실행

개발 모드에서 서버를 실행하여 로컬 테스트:

이 MCP Inspector를 출시, 당신은 get_new_pools_bsc 도구와 상호 작용할 수 있습니다.

유효한 공구

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

PancakeSwap PoolSpy MCP Server

An MCP server that tracks newly created liquidity pools on Pancake Swap, providing real-time data for DeFi analysts, traders, and developers.

Features

  • Real-Time Pool Tracking: Fetches pools created within a specified time range (default: 5 minutes).
  • Customizable Queries: Adjust the time range (in seconds) and the number of pools returned (default: 100).
  • Detailed Metrics: Includes pool address, tokens, creation timestamp, block number, transaction count, volume (USD), and total value locked (USD).

Prerequisites

  • Python 3.10+: Ensure Python is installed on your system.
  • The Graph API Key: Obtain an API key from The Graph to access the PancakeSwap subgraph.

Installation

Installing via Smithery

To install PancakeSwap PoolSpy for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kukapay/pancakeswap-poolspy-mcp --client claude
  1. Clone the Repository:

    git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git
    cd pancakeswap-poolspy-mcp
    
  2. Install Dependencies: Install the required Python packages using uv:

    uv add mcp[cli] httpx dotenv
    
  3. Client Configuration

    {
      "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"
          }
        }
      }
    }
    

Usage

Running the Server

Run the server in development mode to test it locally:

mcp dev main.py

This launches the MCP Inspector, where you can interact with the get_new_pools_bsc tool.

Available Tool

get_new_pools_bsc(time_range_seconds: int = 300, limit: int = 100)

Fetches a list of newly created PancakeSwap pools on BNB Smart Chain.

  • Parameters:

    • time_range_seconds (int): Time range in seconds to look back for new pools. Default is 300 seconds (5 minutes).
    • limit (int): Maximum number of pools to return. Default is 100 pools.
  • Returns: A formatted string listing pool details or an error message if the query fails.

  • Example Outputs:

    • Default (last 5 minutes, up to 100 pools):
      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
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install @kukapay/pancakeswap-poolspy-mcp --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" } } } }