
sourknives/sleeper-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Claude Desktop을 제공하는 모델 Context Protocol (MCP) 서버는 Sleeper Fantasy Football API 데이터에 액세스 할 수 있습니다.
개요
Claude Desktop을 제공하는 모델 Context Protocol (MCP) 서버는 Sleeper Fantasy Football API 데이터에 액세스 할 수 있습니다. 이 서버는 사용자가 리그 정보, 플레이어 데이터, matchups 및 Claude와 자연 언어 상호 작용을 통해 초안 결과를 쿼리 할 수 있습니다. - : Query leagues, rosters, user, and league settings - : 픽업 포지션, keeper status 및 팀 attribution과 함께 완전한 초안 결과 - 모든 라운드 및 픽업으로 전체 초안 역사 - 플레이어 초안 메타 데이터 표시 원본 초안 위치 및 팀 - Keeper 식별 - undrafted 플레이어를위한 무료 에이전트 추적 - : 검색 플레이어, 통계를 얻을, 및 추세 데이터 - : 실시간 scoring을 가진 현재 및 역사적인 일치 - TTL 기반 API를 사용하여 TTL 기반 API를 다시 시작하십시오. - Python 3.10 이상 - Claude 데스크톱 응용 프로그램 3. 명세.
개요(AI 번역)
Claude Desktop을 제공하는 모델 Context Protocol (MCP) 서버는 Sleeper Fantasy Football API 데이터에 액세스 할 수 있습니다. 이 서버는 사용자가 리그 정보, 플레이어 데이터, matchups 및 Claude와 자연 언어 상호 작용을 통해 초안 결과를 쿼리 할 수 있습니다.
특징
- 리그 관리: Query 리그, 로터, 사용자, 리그 설정 -Draft Analysis: 픽업 포지션, 키퍼 상태, 팀 포티베이션을 통한 완전한 초안 결과
- 모든 라운드와 선택과 함께 전체 초안 역사
- 플레이어 초안 메타데이터 원본 초안 위치 및 팀보기
- Keeper ID와 Keeper 지표
- undrafted 선수를 위한 무료 대리인 추적
- Player 정보: 검색 플레이어, 통계 및 동향 데이터 -Matchup Analysis: 실시간 득점을 가진 현재와 역사적인 matchups 보기
- Intelligent Caching: TTL 기반 캐싱과 최적화된 API 사용 -Rate Limiting: Sleeper API 제한을 exponential 백오프로 재구성합니다.
설치
# 필수품
- Python 3.10 이상
- Claude 데스크탑 응용
소스에서 설치
-
저장소를 복제:
-
포장을 설치하십시오:
-
시험과 linting 공구를 가진 발달을 위해:
구성
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Sleeper MCP Server
A Model Context Protocol (MCP) server that provides Claude Desktop with access to Sleeper Fantasy Football API data. This server enables users to query league information, player data, matchups, and draft results through natural language interactions with Claude.
Features
- League Management: Query leagues, rosters, users, and league settings
- Draft Analysis: Complete draft results with pick positions, keeper status, and team attribution
- Full draft history with all rounds and picks
- Player draft metadata showing original draft position and team
- Keeper identification with 🔒 indicators
- Free agent tracking for undrafted players
- Player Information: Search players, get statistics, and trending data
- Matchup Analysis: View current and historical matchups with real-time scoring
- Intelligent Caching: Optimized API usage with TTL-based caching
- Rate Limiting: Respects Sleeper API limits with exponential backoff
Installation
Prerequisites
- Python 3.10 or higher
- Claude Desktop application
Install from Source
- Clone the repository:
git clone
cd sleeper-mcp-server
- Install the package:
pip install -e .
- For development with testing and linting tools:
pip install -e ".[dev]"
Configuration
Claude Desktop MCP Configuration
Add the following configuration to your Claude Desktop MCP settings file:
Location of config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Basic Configuration:
{
"mcpServers": {
"sleeper": {
"command": "python",
"args": ["-m", "sleeper_mcp_server"],
"disabled": false,
"autoApprove": [
"get_user_leagues",
"get_league_info",
"search_players",
"get_trending_players",
"get_nfl_state"
]
}
}
}
Auto-approving every tool:
{
"mcpServers": {
"sleeper": {
"command": "python",
"args": ["-m", "sleeper_mcp_server"],
"disabled": false,
"autoApprove": [
"get_user_leagues",
"get_league_info",
"get_league_rosters",
"get_league_rosters_with_draft_info",
"get_league_users",
"get_roster_user_mapping",
"get_league_draft",
"search_players",
"get_trending_players",
"get_player_stats",
"get_matchups",
"get_matchup_scores",
"get_nfl_state"
]
}
}
}
Available MCP Tools
League Tools
get_user_leagues
Get all leagues for a username in a specific season.
Parameters:
username(required): Sleeper username to look upseason(optional): Season year (defaults to current season)
Example Usage:
Show me all leagues for username "john_doe"
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"sleeper": {
"command": "python",
"args": ["-m", "sleeper_mcp_server"],
"disabled": false,
"autoApprove": [
"get_user_leagues",
"get_league_info",
"search_players",
"get_trending_players",
"get_nfl_state"
]
}
}
}