Skip to main content
Glama
pancakeswap-poolspy-mcp

pancakeswap-poolspy-mcp

by kukapay

PancakeSwap PoolSpy MCP-Server

Ein MCP-Server, der neu erstellte Liquiditätspools auf Pancake Swap verfolgt und Echtzeitdaten für DeFi-Analysten, Händler und Entwickler bereitstellt.

Lizenz Python Schmiedeabzeichen

Merkmale

  • Echtzeit-Pool-Tracking : Ruft Pools ab, die innerhalb eines angegebenen Zeitraums erstellt wurden (Standard: 5 Minuten).

  • Anpassbare Abfragen : Passen Sie den Zeitbereich (in Sekunden) und die Anzahl der zurückgegebenen Pools an (Standard: 100).

  • Detaillierte Kennzahlen : Enthält Pooladresse, Token, Erstellungszeitstempel, Blocknummer, Transaktionsanzahl, Volumen (USD) und gesperrten Gesamtwert (USD).

Related MCP server: hyperliquid-whalealert-mcp

Voraussetzungen

  • Python 3.10+ : Stellen Sie sicher, dass Python auf Ihrem System installiert ist.

  • Der Graph-API-Schlüssel : Erhalten Sie einen API-Schlüssel von The Graph, um auf den PancakeSwap-Subgraphen zuzugreifen.

Installation

Installation über Smithery

So installieren Sie PancakeSwap PoolSpy für Claude Desktop automatisch über Smithery :

npx -y @smithery/cli install @kukapay/pancakeswap-poolspy-mcp --client claude
  1. Klonen Sie das Repository :

    git clone https://github.com/kukapay/pancakeswap-poolspy-mcp.git
    cd pancakeswap-poolspy-mcp
  2. Abhängigkeiten installieren : Installieren Sie die erforderlichen Python-Pakete mit uv:

    uv add mcp[cli] httpx dotenv
  3. Client-Konfiguration

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

Verwendung

Ausführen des Servers

Führen Sie den Server im Entwicklungsmodus aus, um ihn lokal zu testen:

mcp dev main.py

Dadurch wird der MCP Inspector gestartet, wo Sie mit dem Tool get_new_pools_bsc interagieren können.

Verfügbares Werkzeug

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

Ruft eine Liste neu erstellter PancakeSwap-Pools auf BNB Smart Chain ab.

  • Parameter :

    • time_range_seconds (int): Zeitspanne in Sekunden, in der nach neuen Pools gesucht werden soll. Der Standardwert ist 300 Sekunden (5 Minuten).

    • limit (int): Maximale Anzahl der zurückzugebenden Pools. Der Standardwert ist 100 Pools.

  • Gibt zurück : Eine formatierte Zeichenfolge mit Pooldetails oder eine Fehlermeldung, wenn die Abfrage fehlschlägt.

  • Beispielausgaben :

    • Standard (letzte 5 Minuten, bis zu 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
      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
    • Benutzerdefiniert (letzte 10 Minuten, bis zu 50 Pools):

      get_new_pools(600, 50)
      Newly Created Trading Pools (Last 10 Minutes, Limit: 50):
      [pool details...]

Beispiel-Eingabeaufforderungen :

  • "Liste der neu erstellten PancakeSwap-Pools der letzten 1 Stunde auf."

  • „PancakeSwap-Pools anzeigen, die innerhalb der letzten 2 Minuten erstellt wurden.“

Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert. Weitere Informationen finden Sie in der Datei LICENSE .

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
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers