卧铺 API MCP
该模型上下文协议 (MCP) 服务器提供对 Sleeper Fantasy Football API 的访问。它使代理能够从 Sleeper 平台获取有关用户、联赛、选秀、球员名单、对阵和球员信息的数据。
特征
访问用户信息和联赛
检索联赛详细信息、名单和用户
获取比赛信息和季后赛对阵表
查看交易和交易选秀权
访问选秀信息和选秀权
获取玩家数据和趋势玩家信息
无需 API 密钥(Sleeper API 是只读的)
设置
要求
用法
将此 MCP 放置在名为
mcp_sleeper
的目录中使用以下
.cursor/mcp.json
代码片段配置 Cursor:
使用以下命令启动 MCP:
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 检索数据:
速率限制
请注意 API 调用的频率。根据 Sleeper 的文档,每分钟 API 调用次数应保持在 1000 次以下,以免被 IP 封禁。
进一步阅读
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
该模型上下文协议服务器提供对 Sleeper Fantasy Football API 的访问,使代理无需 API 密钥即可获取有关用户、联赛、选秀、名册、对决和球员信息的数据。
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that provides a simple sleep/wait tool, useful for adding delays between operations such as waiting between API calls or testing eventually consistent systems.Last updated -1216
- AsecurityAlicenseAqualityA 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 -1658MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables integration with the Teamtailor API, allowing users to list, filter, and retrieve candidate information from their Teamtailor recruitment platform.Last updated -212MIT License