Dune Analytics MCP Server

by ekailabs
MIT License
  • Apple

Integrations

  • Supports environment variable configuration for storing API keys and other sensitive information needed to access Dune Analytics.

  • Optimized for running with the Bun JavaScript runtime, offering improved performance for the MCP server.

  • Provides access to DEX metrics and token pair liquidity data across Ethereum and other blockchains, enabling AI agents to analyze trading pairs and liquidity information.

Dune Analytics MCP 서버

Dune Analytics 데이터를 AI 에이전트에 연결하는 모델 컨텍스트 프로토콜(MCP) 서버로, DEX 지표, EigenLayer 연산자, AVS 통계, 그리고 Solana의 토큰 잔액에 대한 액세스를 제공합니다. 이 도구는 Dune에서 제공하는 사전 설정된 엔드포인트와 에코 엔드포인트를 활용합니다.

특징

  • 도구 :
    • get_dex_pair_metrics : 특정 체인의 주어진 토큰 쌍에 대한 필수 메타데이터 및 통계 데이터를 가져옵니다.
    • get_token_pairs_liquidity : 주어진 체인에서 가장 높은 USD 유동성을 가진 토큰 쌍을 찾습니다.
    • get_svm_token_balances : Solana의 특정 지갑 주소에 대한 토큰 잔액을 가져옵니다.
    • get_eigenlayer_avs_metrics : 특정 AVS에 대한 통계를 가져옵니다.
    • get_eigenlayer_operator_metrics : 특정 AVS의 모든 연산자에 대한 통계를 가져옵니다.
  • 데이터 형식 : 모든 결과는 쉬운 처리를 위해 구조화된 JSON 형식으로 반환됩니다.

필수 조건

  • Node.js 16 이상 또는 Bun 1.0 이상
  • 유효한 Dune Analytics API 키( Dune Analytics 에서 하나 받음)

설치

  1. 저장소 복제 :지엑스피1
  2. 종속성 설치 : Bun 사용:
    bun install
    또는 npm을 사용합니다.
    npm install
  3. 환경 변수 설정 : .env.example 기반으로 프로젝트 루트에 .env 파일을 만듭니다.
    DUNE_API_KEY=your_api_key_here
    또는 시스템 환경 변수로 설정합니다.
    export DUNE_API_KEY="your_api_key_here"

용법

서버 실행

Bun 사용:

# Development mode with hot reload bun dev # Production mode bun start # Or build and run bun build src/index.ts --outdir dist bun dist/index.js

npm 사용하기:

# Development mode with hot reload npm run dev # Production mode npm start # Or build and run npm run build npm run start:prod

데스크톱용 Claude에 추가

Claude for Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "dune": { "command": "bun", "args": [ "/ABSOLUTE/PATH/TO/dune-mcp-server/src/index.ts", "stdio" ] } } }

도구 사용

  1. get_dex_pair_metrics(chain, token_pair)
    • 설명 : 주어진 토큰 쌍에 대한 필수 메타데이터 및 통계 데이터를 검색합니다.
    • 입력 :
      • chain (문자열) - DEX 통계를 가져올 블록체인
      • token_pair (문자열) - DEX 통계를 가져올 토큰 쌍
    • 출력 : DEX 메트릭을 포함하는 JSON 객체
  2. get_token_pairs_liquidity(chain)
    • 설명 : 주어진 체인에서 가장 높은 USD 유동성을 가진 토큰 쌍을 식별합니다.
    • 입력 : chain (문자열) - DEX 통계를 가져올 블록체인
    • 출력 : 상위 토큰 쌍 메트릭을 포함하는 JSON 객체
  3. get_svm_token_balances(wallet_address)
    • 설명 : Solana 블록체인에서 특정 지갑 주소의 잔액을 가져옵니다.
    • 입력 : wallet_address (문자열) - 잔액을 가져올 지갑의 주소
    • 출력 : 토큰 잔액의 JSON 배열
  4. get_eigenlayer_avs_metrics(avs_name)
    • 설명 : 특정 AVS에 대한 통계를 가져옵니다.
    • 입력 : avs_name (문자열) - 통계를 가져올 AVS의 이름
    • 출력 : AVS 메트릭을 포함하는 JSON 객체
  5. get_eigenlayer_operator_metrics(avs_name)
    • 설명 : 특정 AVS의 모든 운영자에 대한 통계를 가져옵니다.
    • 입력 : avs_name (문자열) - 운영자 통계를 가져올 AVS의 이름
    • 출력 : 연산자 메트릭을 포함하는 JSON 객체

Claude for Desktop의 예제 명령

  • "이더리움에서 'USDC-WETH' 토큰 쌍의 유동성을 알려주시겠어요?"
  • "아비트럼에서 가장 높은 유동성을 가진 토큰 쌍을 보여주세요"
  • "EigenDA 운영자의 지분 분포를 표시해 주시겠습니까?"
  • "EigenDA AVS에는 몇 명의 스테이커가 있나요?"

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

감사의 말

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

AI 에이전트를 Dune Analytics 데이터에 연결하여 구조화된 도구를 통해 DEX 메트릭, EigenLayer 통계 및 Solana 토큰 잔액에 대한 액세스를 제공하는 모델 컨텍스트 프로토콜 서버입니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. 용법
          1. 서버 실행
          2. 데스크톱용 Claude에 추가
          3. 도구 사용
          4. Claude for Desktop의 예제 명령
        2. 특허
          1. 감사의 말

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.
              Last updated -
              84
              36
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.
              Last updated -
              19
              TypeScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides seamless interaction with Workato's API through custom AI tools, enabling management of recipes, connections, connectors, folders, and activity logs.
              Last updated -
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.
              Last updated -
              46
              2
              Python
              • Linux
              • Apple

            View all related MCP servers

            ID: xbukfictk0