Skip to main content
Glama
pancakeswap-poolspy-mcp

pancakeswap-poolspy-mcp

by kukapay

팬케이크스왑 풀스파이 MCP 서버

Pancake Swap에서 새로 생성된 유동성 풀을 추적하는 MCP 서버로, DeFi 분석가, 트레이더, 개발자에게 실시간 데이터를 제공합니다.

특허 파이썬

특징

  • 실시간 풀 추적 : 지정된 시간 범위(기본값: 5분) 내에 생성된 풀을 가져옵니다.

  • 사용자 정의 가능한 쿼리 : 시간 범위(초)와 반환되는 풀 수(기본값: 100)를 조정합니다.

  • 자세한 지표 : 풀 주소, 토큰, 생성 타임스탬프, 블록 번호, 거래 수, 거래량(USD), 총 잠금 가치(USD)가 포함됩니다.

Related MCP server: hyperliquid-whalealert-mcp

필수 조건

  • Python 3.10+ : Python이 시스템에 설치되어 있는지 확인하세요.

  • Graph API 키 : PancakeSwap 하위 그래프에 액세스하려면 Graph 에서 API 키를 받으세요.

설치

  1. 저장소 복제 :

    지엑스피1

  2. 종속성 설치 : uv를 사용하여 필요한 Python 패키지를 설치합니다.

    uv add mcp[cli] httpx dotenv
  3. 클라이언트 구성

    {
      "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 검사기가 시작되고, 여기서 get_new_pools_bsc 도구와 상호 작용할 수 있습니다.

사용 가능한 도구

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

BNB Smart Chain에 새로 생성된 PancakeSwap 풀 목록을 가져옵니다.

  • 매개변수 :

    • time_range_seconds (정수): 새 풀을 다시 검토할 시간 범위(초). 기본값은 300초(5분)입니다.

    • limit (정수): 반환할 최대 풀 수입니다. 기본값은 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 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 라이선스 파일을 참조하세요.

Available Tools

1 tool
get_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

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined and distinct.

    Naming Consistency5/5

    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.

    Tool Count2/5

    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.

    Completeness2/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers