Dune Analytics
Summary
The Dune Analytics MCP Server provides AI assistants with direct access to blockchain data through the Dune Analytics API. Built with Python using the FastMCP framework, it offers two key tools: retrieving the latest results from existing Dune queries and executing queries on demand, with all results returned in CSV format for easy processing. The server requires a Dune Analytics API key for authentication and includes robust error handling for API requests. This implementation is particularly valuable for workflows requiring real-time blockchain analytics within AI assistant conversations, allowing users to access on-chain data and metrics without leaving their conversation interface.
Available Actions(2)
get_latest_result
Retrieves the latest results of a specified Dune query. Input: query_id (int) - The ID of the Dune query. Output: CSV-formatted string of the query results.
run_query
Executes a Dune query and returns the results. Input: query_id (int) - The ID of the Dune query to run. Output: CSV-formatted string of the query results.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요