dune-analytics-mcp

Integrations

  • Supports environment variable management through .env files to securely store and access the Dune Analytics API key required for authentication.

  • Provides access to the Dune Analytics MCP server codebase hosted on GitHub, which can be cloned from the kukapay/dune-analytics-mcp repository.

  • Built on Python 3.10+, utilizing Python's capabilities to bridge Dune Analytics data to AI agents through MCP tools.

Dune Analytics MCP-Server

Ein MCP-Server, der Dune Analytics-Daten mit KI-Agenten verbindet.

Merkmale

  • Werkzeuge :
    • get_latest_result : Ruft die neuesten Ergebnisse einer Dune-Abfrage nach ID ab.
    • run_query : Führen Sie eine Dune-Abfrage nach ID aus und rufen Sie Ergebnisse ab.
  • CSV-Ausgabe : Alle Ergebnisse werden zur einfachen Verarbeitung als Zeichenfolgen im CSV-Format zurückgegeben.

Voraussetzungen

  • Python 3.10+
  • Ein gültiger Dune Analytics API-Schlüssel (erhalten Sie einen von Dune Analytics )

Installation

Installation über Smithery

So installieren Sie Dune Analytics für Claude Desktop automatisch über Smithery :

npx -y @smithery/cli install @kukapay/dune-analytics-mcp --client claude

Manuelle Installation

  1. Klonen Sie das Repository :
    git clone https://github.com/kukapay/dune-analytics-mcp.git cd dune-analytics-mcp
  2. Umgebungsvariablen einrichten : Erstellen Sie eine .env Datei im Projektstammverzeichnis:
    DUNE_API_KEY=your_api_key_here
    Alternativ können Sie es als Systemumgebungsvariable festlegen:
    export DUNE_API_KEY="your_api_key_here"

Verwendung

Ausführen des Servers

  • Entwicklungsmodus :
    mcp dev main.py
    Dadurch wird der Server mit Hot Reloading für die Entwicklung gestartet.
  • Für Claude Desktop installieren :
    mcp install main.py --name "Dune Analytics"
    Installiert den Server als Dienst zur Verwendung mit Claude Desktop.

Werkzeugnutzung

  1. get_latest_result(query_id)
    • Beschreibung : Ruft die neuesten Ergebnisse einer angegebenen Dune-Abfrage ab.
    • Eingabe : query_id (int) – Die ID der Dune-Abfrage.
    • Ausgabe : CSV-formatierte Zeichenfolge der Abfrageergebnisse.
    • Beispiel :
      get_latest_result(query_id=4853921)
  2. run_query(query_id)
    • Beschreibung : Führt eine Dune-Abfrage aus und gibt die Ergebnisse zurück.
    • Eingabe : query_id (int) – Die ID der auszuführenden Dune-Abfrage.
    • Ausgabe : CSV-formatierte Zeichenfolge der Abfrageergebnisse.
    • Beispiel :
      run_query(query_id=1215383)

Beispielbefehle in Claude Desktop

  • „Neueste Ergebnisse für die Dünenabfrage 1215383 abrufen“
  • „Führen Sie die Dune-Abfrage 1215383 aus“

Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert – Einzelheiten finden Sie in der Datei LICENSE .

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Ein MCP-Server, der Dune Analytics-Daten mit KI-Agenten verbindet.

  1. Merkmale
    1. Voraussetzungen
      1. Installation
        1. Installation über Smithery
        2. Manuelle Installation
      2. Verwendung
        1. Ausführen des Servers
        2. Werkzeugnutzung
        3. Beispielbefehle in Claude Desktop
      3. Lizenz

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          MCP-compatible server that enables AI assistants to interact with Lightdash analytics data, providing tools to list and retrieve projects, spaces, charts, dashboards, and metrics through a standardized interface.
          Last updated -
          13
          419
          10
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          An MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.
          Last updated -
          132
          Python
          MIT License
          • Apple
          • Linux
        • -
          security
          -
          license
          -
          quality
          A specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.
          Last updated -
          31
          1
          TypeScript
        • -
          security
          A
          license
          -
          quality
          An MCP server that extends AI agents' context window by providing tools to store, retrieve, and search memories, allowing agents to maintain history and context across long interactions.
          Last updated -
          5
          TypeScript
          MIT License

        View all related MCP servers

        ID: 9vkyyc8sth