Sleeper API MCP
スリーパー API MCP
このモデルコンテキストプロトコル(MCP)サーバーは、Sleeper Fantasy Football APIへのアクセスを提供します。これにより、エージェントはSleeperプラットフォームからユーザー、リーグ、ドラフト、ロスター、対戦、選手情報に関するデータを取得できます。
特徴
ユーザー情報とリーグにアクセスする
リーグの詳細、名簿、ユーザーを取得する
対戦情報とプレーオフの組み合わせ表を入手する
取引と取引されたピックを表示する
ドラフト情報とピックにアクセスする
プレイヤーデータとトレンドプレイヤー情報を取得する
APIキーは不要です(Sleeper APIは読み取り専用です)
Related MCP server: NBA MCP Server
設定
要件
pip install requests使用法
このMCPを
mcp_sleeperというディレクトリに配置します。次の
.cursor/mcp.jsonスニペットを使用して Cursor を構成します。
{
"mcpServers": {
"sleeper": {
"command": "python server.py"
}
}
}MCP を次のように開始します。
cursor run-mcp sleeperAPIメソッド
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ブロックを回避するには、1分あたりのAPI呼び出し数を1,000回以下に抑える必要があります。
さらに読む
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA server that integrates Sleeper fantasy sports data with Goose AI through the Machine Context Protocol (MCP), providing structured access to fantasy league information.
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables LLMs to retrieve NBA data including player stats, team information, game logs, and league standings through the nba_api library.101
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides read-only access to Yahoo Fantasy Sports data, enabling AI assistants to query league standings, player stats, matchups, and rosters.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI models to manage and query fantasy sports leagues through the Sleeper API, supporting tasks like player lookups, league activity, and draft management.27MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/einreke/sleeper-scraper-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server