Sleeper API MCP

by einreke

슬리퍼 API MCP

이 모델 컨텍스트 프로토콜(MCP) 서버는 Sleeper Fantasy Football API에 대한 액세스를 제공합니다. 에이전트는 이를 통해 Sleeper 플랫폼에서 사용자, 리그, 드래프트, 로스터, 매치업 및 선수 정보에 대한 데이터를 가져올 수 있습니다.

특징

  • 사용자 정보 및 리그에 액세스하세요
  • 리그 세부 정보, 명단 및 사용자 검색
  • 경기 정보와 플레이오프 대진표를 확인하세요
  • 거래 및 거래된 픽 보기
  • 드래프트 정보 및 픽에 액세스하세요
  • 플레이어 데이터 및 플레이어 추세 정보 가져오기
  • API 키가 필요하지 않습니다(Sleeper API는 읽기 전용입니다)

설정

요구 사항

지엑스피1

용법

  1. 이 MCP를 mcp_sleeper 라는 디렉토리에 넣으세요.
  2. 다음 .cursor/mcp.json 스니펫으로 커서를 구성하세요.
{ "mcpServers": { "sleeper": { "command": "python server.py" } } }
  1. MCP를 시작하려면 다음을 사용하세요.
cursor run-mcp sleeper

API 메서드

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

사용자 데이터

  • getUserInfo : 사용자 이름 또는 user_id로 사용자 정보를 가져옵니다.
  • getUserLeagues : 지정된 스포츠 및 시즌에 대한 사용자의 모든 리그를 가져옵니다.
  • getUserDrafts : 특정 스포츠 및 시즌에 대한 사용자의 모든 초안을 가져옵니다.

리그 데이터

  • getLeagueInfo : 특정 리그에 대한 정보를 가져옵니다.
  • getLeagueRosters : 리그의 모든 명단을 가져옵니다.
  • getLeagueUsers : 리그의 모든 사용자를 가져옵니다.
  • getLeagueMatchups : 특정 주 리그의 매치업을 가져옵니다.
  • getLeagueWinnersBracket : 리그의 플레이오프 승자 브래킷을 가져옵니다.
  • getLeagueLosersBracket : 리그의 플레이오프 패배자 대진표를 가져옵니다.
  • getLeagueTransactions : 특정 주 동안 리그의 거래 내역을 가져옵니다.
  • getLeagueTradedPicks : 리그에서 거래된 모든 픽을 가져옵니다.
  • getLeagueDrafts : 리그의 모든 드래프트를 가져옵니다.

초안 데이터

  • getDraftInfo : 특정 초안에 대한 정보를 가져옵니다.
  • getDraftPicks : 드래프트의 모든 픽을 가져옵니다.
  • getDraftTradedPicks : 드래프트에서 거래된 모든 픽을 가져옵니다.

플레이어 데이터

  • getAllPlayers : 특정 스포츠의 모든 플레이어에 대한 정보를 가져옵니다.
  • getTrendingPlayers : 추가/드롭 활동을 기반으로 인기 있는 플레이어를 가져옵니다.

상태 데이터

  • getNFLState : 현재 NFL 상태를 가져옵니다.

사용 예

에이전트가 이 MCP를 사용하여 Sleeper에서 데이터를 검색하는 방법은 다음과 같습니다.

# Get user information user_info = getUserInfo({"username_or_user_id": "sleeper_username"}) # Get user's leagues for the 2023 NFL season leagues = getUserLeagues({"user_id": user_info["user_id"], "sport": "nfl", "season": "2023"}) # Get information about a specific league league_info = getLeagueInfo({"league_id": leagues[0]["league_id"]}) # Get rosters for a league rosters = getLeagueRosters({"league_id": league_info["league_id"]}) # Get matchups for a specific week matchups = getLeagueMatchups({"league_id": league_info["league_id"], "week": 1}) # Get trending players trending_players = getTrendingPlayers({"sport": "nfl", "type": "add", "lookback_hours": 24, "limit": 10})

속도 제한

API 호출 속도에 유의하세요. Sleeper 설명서에 따르면 IP 차단을 피하려면 분당 API 호출 횟수를 1,000회 미만으로 유지해야 합니다.

추가 자료

-
security - not tested
F
license - not found
-
quality - not tested

이 모델 컨텍스트 프로토콜 서버는 Sleeper Fantasy Football API에 대한 액세스를 제공하여 에이전트가 API 키가 없어도 사용자, 리그, 드래프트, 명단, 매치업 및 플레이어 정보에 대한 데이터를 가져올 수 있도록 합니다.

  1. 특징
    1. 설정
      1. 요구 사항
      2. 용법
    2. API 메서드
      1. 사용자 데이터
      2. 리그 데이터
      3. 초안 데이터
      4. 플레이어 데이터
      5. 상태 데이터
    3. 사용 예
      1. 속도 제한
        1. 추가 자료

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that allows Claude to make API requests on your behalf, providing tools for testing various APIs including HTTP requests and OpenAI integrations without sharing your API keys in the chat.
            Last updated -
            Python
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides access to Fantasy Premier League data, allowing users to compare players, find team information, view gameweek data, and get FPL-related advice through Claude for Desktop and other MCP-compatible clients.
            Last updated -
            7
            Python
            MIT License
            • Apple
          • -
            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
          • -
            security
            F
            license
            -
            quality
            Provides structured access to NHL data including teams, players, standings, schedules, and statistics through the Model-Context Protocol pattern.
            Last updated -
            TypeScript

          View all related MCP servers

          ID: kobyamwiqz