dune-analytics-mcp
Dune Analytics MCP サーバー
Dune Analytics データを AI エージェントに橋渡しする MCP サーバー。
特徴
ツール:
get_latest_result: ID で Dune クエリの最新の結果を取得します。run_query: ID で Dune クエリを実行し、結果を取得します。
CSV 出力: すべての結果は、簡単に処理できるように CSV 形式の文字列として返されます。
Related MCP server: dune-mcp
前提条件
Python 3.10以上
有効な Dune Analytics API キー ( Dune Analyticsから取得)
インストール
リポジトリのクローンを作成します:
git clone https://github.com/kukapay/dune-analytics-mcp.git cd dune-analytics-mcp環境変数の設定: プロジェクト ルートに
.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 で使用するためにサーバーをサービスとしてインストールします。
ツールの使用
get_latest_result(query_id)説明: 指定された Dune クエリの最新の結果を取得します。
入力:
query_id(int) - Dune クエリの ID。出力: クエリ結果の CSV 形式の文字列。
例:
get_latest_result(query_id=4853921)
run_query(query_id)説明: Dune クエリを実行し、結果を返します。
入力:
query_id(int) - 実行する Dune クエリの ID。出力: クエリ結果の CSV 形式の文字列。
例:
run_query(query_id=1215383)
Claude Desktopのコマンド例
「砂丘クエリ1215383の最新結果を取得」
「デューンクエリ1215383を実行」
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides agents access to the KeldynAI platform
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server for the Z1N Protocol - on-chain identity for AI agents on Polygon
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that provides cryptocurrency project data to AI agents11MIT
- AlicenseAqualityDmaintenanceDune MCP Server connects your AI assistant to Dune Analytics, the leading platform for blockchain data. Execute SQL queries across Ethereum, Solana, and 20+ chains to analyze DEX trades, token transfers, NFT sales, and wallet activity. Manage saved queries, upload custom datasets, and access curate19MIT
- AlicenseNot gradedqualityDmaintenanceThis project implements a Model Context Protocol (MCP) server that combines the power of Dune Analytics and Blockscout APIs, providing comprehensive blockchain data analysis capabilities for LLM agents and MCP clients.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides DeFi data tools (crypto prices, whale concentration, funding rates) for AI agents via the x402 protocol.1MIT