Skip to main content
Glama

dune-analytics-mcp

Dune Analytics MCP サーバー

Dune Analytics データを AI エージェントに橋渡しする MCP サーバー。

特徴

  • ツール:
    • get_latest_result : ID で Dune クエリの最新の結果を取得します。
    • run_query : ID で Dune クエリを実行し、結果を取得します。
  • CSV 出力: すべての結果は、簡単に処理できるように CSV 形式の文字列として返されます。

前提条件

  • Python 3.10以上
  • 有効な Dune Analytics API キー ( Dune Analyticsから取得)

インストール

  1. リポジトリのクローンを作成します:
    git clone https://github.com/kukapay/dune-analytics-mcp.git cd dune-analytics-mcp
  2. 環境変数の設定: プロジェクト ルートに.envファイルを作成します。
    DUNE_API_KEY=your_api_key_here
    あるいは、システム環境変数として設定します。
    export DUNE_API_KEY="your_api_key_here"

使用法

サーバーの実行

  • 開発モード:
    mcp dev main.py
    これにより、開発用にホット リロードでサーバーが起動します。
  • Claude Desktop のインストール:
    mcp install main.py --name "Dune Analytics"
    Claude Desktop で使用するためにサーバーをサービスとしてインストールします。

ツールの使用

  1. get_latest_result(query_id)
    • 説明: 指定された Dune クエリの最新の結果を取得します。
    • 入力: query_id (int) - Dune クエリの ID。
    • 出力: クエリ結果の CSV 形式の文字列。
    • get_latest_result(query_id=4853921)
  2. run_query(query_id)
    • 説明: Dune クエリを実行し、結果を返します。
    • 入力: query_id (int) - 実行する Dune クエリの ID。
    • 出力: クエリ結果の CSV 形式の文字列。
    • run_query(query_id=1215383)

Claude Desktopのコマンド例

  • 「砂丘クエリ1215383の最新結果を取得」
  • 「デューンクエリ1215383を実行」

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については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.

Dune Analytics データを AI エージェントに橋渡しする MCP サーバー。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 使用法
          1. サーバーの実行
          2. ツールの使用
          3. Claude Desktopのコマンド例
        2. ライセンス

          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
            17
            17
            TypeScript
            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 -
            179
            Python
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            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
            5
            JavaScript
          • -
            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

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/dune-analytics-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server