sleeper-mcp
Sleeper MCP
公開の Sleeper API 向けの読み取り専用の Model Context Protocol サーバーです。users、leagues、rosters、matchups、transactions、drafts、players、trending activity、playoff brackets、traded picks、sport state を、非同期の FastMCP ツールを通じて公開します。
Sleeper は API キーを必要としません。文書化されたガイダンスに従い、1 分あたり 1,000 リクエスト未満に抑えてください。完全な players レスポンスは数メガバイトあり、通常は 1 日に 1 回を超えて取得しないでください。
インストール
Python 3.11 以降と uv が必要です。
uv syncRelated MCP server: flaim
実行
サーバーはデフォルトで MCP の stdio トランスポートを使用します:
uv run sleeper-mcp同等のモジュールコマンドは次のとおりです:
uv run python -m sleeper_mcp.serverDocker
イメージは alpine:latest をベースとしており、stdio 経由で MCP サーバーを実行します。クライアントが stdin でプロセスと通信できるように、-i を維持してください。
docker build -t sleeper-mcp .
docker run --rm -i sleeper-mcpCursor (Docker)
{
"mcpServers": {
"sleeper": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"sleeper-mcp"
]
}
}
}Claude Desktop (Docker)
{
"mcpServers": {
"sleeper": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"sleeper-mcp"
]
}
}
}MCP クライアントを設定する
クライアント設定では、ワークスペースの絶対パスを使用してください(または上記の Docker コマンドを使用します)。
Cursor
このサーバーを Cursor の MCP 設定に追加します:
{
"mcpServers": {
"sleeper": {
"command": "uv",
"args": [
"--directory",
"/Users/talweiss/Desktop/codeProjects/sleeper-mcp",
"run",
"sleeper-mcp"
]
}
}
}Claude Desktop
Claude Desktop の設定の mcpServers の下に同じエントリを追加します:
{
"mcpServers": {
"sleeper": {
"command": "uv",
"args": [
"--directory",
"/Users/talweiss/Desktop/codeProjects/sleeper-mcp",
"run",
"sleeper-mcp"
]
}
}
}設定を変更した後、クライアントを再起動してください。
開発
uv run pytestパッケージはレイヤー構造を採用しています:
client.pyは HTTP 関連の処理と Sleeper のベース URL を担当します。service.pyはメソッドを文書化された API エンドポイントにマッピングします。tools.pyはサービスメソッドを文書化し、MCP ツールとして公開します。server.pyはレイヤーを結び付け、FastMCP を起動します。
Maintenance
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
- AlicenseNot gradedqualityNot gradedmaintenanceProvides read-only access to TrustLayer's public API, enabling users to query and retrieve data about parties, documents, projects, and other TrustLayer entities through MCP-compatible tools.
- AlicenseNot gradedqualityCmaintenanceConnect ESPN & Yahoo fantasy leagues to AI assistants via MCP. Read-only tools for rosters, standings, matchups, free agents, and league info across football and baseball.12MIT
- AlicenseAqualityBmaintenanceProvides read-only access to the Sleeper Fantasy Sports API for league info, rosters, matchups, drafts, transactions, and player data.18271MIT
- AlicenseNot gradedqualityBmaintenanceProvides read-only access to Sleeper fantasy football leagues, enabling team snapshots, available players, matchups, trade context, and league history through standardized MCP tools.MIT
Related MCP Connectors
Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP
ESPN MCP — keyless multi-sport live scores, teams, and news via ESPN's public site API.
MLB Stats API MCP — official MLB statistics (keyless).
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/tweiss777/sleeper-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server