KF

kukapay/funding-rates-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

8 stars 9 forks 품질 55 트렌드 7MIT

MCP 서버는 주요 암호화 거래소의 실시간 펀딩 비율 데이터를 제공합니다.

개요

MCP 서버는 주요 암호화 거래소의 실시간 펀딩 속도 데이터를 제공하므로 에이전트가 arbitrage 기회를 감지 할 수 있습니다. - : 바이낸스, OKX, Bybit, Bitget, Gate, CoinEx를 통한 Fetches 전류 펀딩. - : 행, 열 교환, 최대 펀딩 비율 차이를 위한 Divergence 칼럼을 포함합니다. - : 대화형 쿼리를 위한 MCP 서버로 실행합니다. - Python 3.10+ - uv for Dependency management - 클라드 데스크탑 (선택 사항, 상호 작용 쿼리) - Git Claude Desktop에서 사용하려면: 1. Claude 구성 파일을 편집합니다. - : ~/Library/Application Support/Claude/claude desktop config.json - : %APPDATA%\Claude\claude desktop config.json 2. MCP 서버를 추가하십시오: 3. 나머지 Claude 데스크탑. 통합을 확인하기 위해 hammer 아이콘을 찾습니다.

개요(AI 번역)

MCP 서버는 주요 암호화 거래소의 실시간 펀딩 속도 데이터를 제공하므로 에이전트가 arbitrage 기회를 감지 할 수 있습니다.

특징

-Real-Time Funding Rates: 바이낸스, OKX, 바이비트, 비트, 게이트, 코인엑스에서 Fetches 현재 자금 조달. -Pivoted 테이블 출력: 행으로 기호를 표시하고, 열로 교환하고, 최대 펀딩 비율 차이를 위한 Divergence 열을 포함합니다.

  • Claude Desktop Integration: 대화형 쿼리를 위한 MCP 서버로 실행합니다.

설치

# 필수품

  • 파이썬 3.10+
  • 신뢰성 관리에 대한 uv
  • Claude 데스크톱 (선택 사항, 대화형 쿼리에 대한)
  • 지

단계

  1. ** 저장소를 복제 **:

  2. ** uv를 가진 의존도 설정 **:

  3. ** Claude Desktop 구성 **:

Claude 데스크탑을 사용하려면:

  1. Claude 윤곽 파일을 편집하십시오: -macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 윈도우: %APPDATA%\Claude\claude_desktop_config.json
  1. MCP 서버를 추가하십시오:

  2. 나머지 Claude 데스크탑. 통합을 확인하기 위해 hammer 아이콘을 찾습니다.

사용법

도구

서버는 다음과 같은 MCP 도구를 제공합니다.

-compare_funding_rates:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Funding Rates MCP

An MCP server that provides real-time funding rate data across major crypto exchanges, enabling agents to detect arbitrage opportunities.

Features

  • Real-Time Funding Rates: Fetches current funding across Binance, OKX, Bybit, Bitget, Gate and CoinEx.
  • Pivoted Table Output: Displays symbols as rows, exchanges as columns, and includes a Divergence column for max funding rate difference.
  • Claude Desktop Integration: Runs as an MCP server for interactive queries.

Installation

Prerequisites

  • Python 3.10+
  • uv for dependency management
  • Claude Desktop (optional, for interactive queries)
  • Git

Steps

  1. Clone the Repository:

    git clone https://github.com/kukapay/funding-rates-mcp.git
    cd funding-rates-mcp
    
  2. Set Up Dependencies with uv:

    uv sync
    
  3. Configuring Claude Desktop:

    To use with Claude Desktop:

    1. Edit the Claude configuration file:
      • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
      • Windows: %APPDATA%\Claude\claude_desktop_config.json
    2. Add the MCP server:
      {
        "mcpServers": {
          "funding-rates-mcp": {
            "command": "uv",
            "args": ["--directory", "/absolute/path/to/funding-rates-mcp", "run", "funding-rates-mcp"]
          }
        }
      }
      
    3. Restart Claude Desktop. Look for the hammer icon to confirm integration.

Usage

Tools

The server provides the following MCP tool for querying funding rates:

  • compare_funding_rates:
    • Description: Compares current funding rates for multiple symbols across specified exchanges, returning a pivoted Markdown table with a Divergence column showing the maximum funding rate difference for each symbol.
    • Parameters:
      • symbols (List[str]): List of trading pairs (e.g., ["BTC/USDT:USDT", "ETH/USDT:USDT"]). Required.
      • exchanges (List[str], optional): List of exchanges to compare (e.g., ["binance", "okx"]). Defaults to all supported exchanges (binance, okx, bybit, bitget, gate, coinex).
      • params (Dict, optional): Additional parameters for the API call. Defaults to {}.
    • Returns: A Markdown table with symbols as rows, exchanges as columns, funding rates as values (formatted as percentages), and a Divergence column.
    • Example: See the Examples section below.

Prompts

The server includes the following MCP prompt for generating natural language queries:

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "funding-rates-mcp": { "command": "uv", "args": ["--directory", "/absolute/path/to/funding-rates-mcp", "run", "funding-rates-mcp"] } } }