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から取得)
インストール
リポジトリのクローンを作成します:
環境変数の設定: プロジェクト ルートに
.env
ファイルを作成します。あるいは、システム環境変数として設定します。
使用法
サーバーの実行
開発モード:
これにより、開発用にホット リロードでサーバーが起動します。
Claude Desktop のインストール:
Claude Desktop で使用するためにサーバーをサービスとしてインストールします。
ツールの使用
get_latest_result(query_id)
説明: 指定された Dune クエリの最新の結果を取得します。
入力:
query_id
(int) - Dune クエリの ID。出力: クエリ結果の CSV 形式の文字列。
例:
run_query(query_id)
説明: Dune クエリを実行し、結果を返します。
入力:
query_id
(int) - 実行する Dune クエリの ID。出力: クエリ結果の CSV 形式の文字列。
例:
Claude Desktopのコマンド例
「砂丘クエリ1215383の最新結果を取得」
「デューンクエリ1215383を実行」
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
This server cannot be installed
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 サーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server that connects AI agents to Chargebee Platform.Last updated -24313MIT License
- -securityFlicense-qualityA flexible server that enables communication between AI models and tools, supporting multiple MCP servers and compatible with Claude, MCP Dockmaster, and other MCP clients.Last updated -181
- -securityAlicense-qualityAn MCP server that enables AI applications to interact with DiceDB databases.Last updated -5MIT License
- -securityAlicense-qualityA Model Context Protocol server that connects AI agents to Dune Analytics data, providing access to DEX metrics, EigenLayer statistics, and Solana token balances through structured tools.Last updated -2MIT License