fantasy-football-mcp-public
by derekrbreese·★ 34·综合分 45
雅虎梦幻足球 MCP 服务器,提供智能阵容优化、选秀辅助和联盟管理功能。
概述
这是一个专为雅虎梦幻足球设计的综合 MCP 服务器。它提供高级功能,包括多联盟支持、智能阵容优化算法、实时推荐功能的选秀辅助,以及增强型球员数据层来补充最新的表现数据。服务器与雅虎 API 获取联盟数据,与 Sleeper API 获取专家排名,并可选地集成 Reddit API 进行情感分析。它支持多种部署方式,包括 FastMCP、传统 stdio、Docker 和云平台。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您玩雅虎梦幻足球并希望将 AI 驱动的阵容优化、选秀辅助和联盟管理工具直接集成到您的 Claude Desktop 工作流中,请选择此服务器。
什么时候不要选它
如果您使用非雅虎梦幻足球平台,或者您希望支持多个平台的更通用梦幻足球管理工具,请不要选择此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具ff_get_leaguesList all leagues for your authenticated Yahoo account
ff_get_league_infoRetrieve detailed league metadata and team information
ff_get_standingsView current league standings with wins, losses, and points
ff_get_rosterInspect detailed roster information for any team
ff_get_matchupAnalyze weekly matchup details and projections
ff_build_lineupGenerate optimal lineups using advanced optimization algorithms
ff_get_playersBrowse available free agents with ownership percentages
ff_get_waiver_wireSmart waiver wire targets with expert analysis
ff_get_draft_recommendationAI-powered draft pick suggestions with strategy analysis
ff_analyze_reddit_sentimentSocial media sentiment analysis for player buzz and injury updates
ff_get_api_statusMonitor cache performance and Yahoo API rate limiting
ff_clear_cacheClear cached responses for fresh data
可对比工具
安装
安装
- 克隆仓库:
git clone https://github.com/derekrbreese/fantasy-football-mcp-public.git
cd fantasy-football-mcp-public
pip install -r requirements.txt- 创建雅虎 API 凭据的
.env文件:
YAHOO_CLIENT_ID=your_consumer_key_here
YAHOO_CLIENT_SECRET=your_consumer_secret_here
YAHOO_ACCESS_TOKEN=your_access_token
YAHOO_REFRESH_TOKEN=your_refresh_token
YAHOO_GUID=your_yahoo_guid- 完成 OAuth 认证:
cd utils
python setup_yahoo_auth.py对于 Claude Desktop,添加到 claude_desktop_config.json:
{
"mcpServers": {
"fantasy-football": {
"command": "python",
"args": ["/path/to/fantasy_football_multi_league.py"]
}
}
}FAQ
- 雅虎 API 令牌多久需要刷新一次?
- 雅虎 API 令每小时过期一次。使用 `refresh_yahoo_token.py` 脚本或运行 `python utils/refresh_yahoo_token.py` 自动更新它们。
- 我可以将此服务器用于非雅虎的梦幻足球联盟吗?
- 不可以,此服务器专为雅虎梦幻足球设计,需要雅虎 API 凭据才能运行。
fantasy-football-mcp-public 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。