espn-ff-manager
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@espn-ff-managerWho should I start at flex this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
espn-ff-manager
An MCP server for managing an ESPN fantasy football team after the draft: waivers, lineups, injuries, trades, playoff odds, and K/D:ST streaming.
Built on espn-api (unofficial ESPN API wrapper). Read-only: it never makes roster moves on your ESPN account.
Security design
Credentials never pass through the model. Your
espn_s2/SWIDcookies are read from the environment or a.envfile — there is deliberately noauthenticatetool, so cookie values never appear in chat history.Credential values are redacted from error messages before they reach the model.
The league ID is pinned in config, not accepted from the model.
Related MCP server: Fantasy Football MCP Server
Tools
Tool | What it does |
| Settings, standings with divisions, current week |
| Any team's roster with projections and injury status |
| Full box score: starters, bench, actual vs. projected |
| Top available players with weekly + ROS projections |
| Optimal legal lineup vs. your current one, with start/sit moves |
| Injured / questionable / bye-week players on a roster |
| League transaction feed (adds, drops, trades) |
| Rest-of-season projection deltas for both sides of a trade |
| Monte Carlo playoff odds from scoring profiles + schedule |
| Best available K or D/ST for a week vs. yours |
| Free agents ranked by upgrade over your weakest player |
| Deterministic VORP draft board with tiers, from your league's real slots |
| Force-refresh cached league data (default TTL 15 min) |
optimize_lineup also reports per-slot margins and contested slots (close
calls or injury-flagged starters) — useful as the escalation trigger for
agent-based start/sit research. Before the season starts it degrades to
season-average projections instead of erroring.
Headless report CLI
The same data is available as plain JSON on stdout, for cron jobs and agent scripts that don't speak MCP:
uv run python -m espn_ff_manager.report league
uv run python -m espn_ff_manager.report lineup [--week N]
uv run python -m espn_ff_manager.report draft-board [--size N]
uv run python -m espn_ff_manager.report free-agents [--position RB]
uv run python -m espn_ff_manager.report history --year 2025Setup
Requires uv (which manages Python for you).
cd espn-ff-manager-mcp
cp .env.example .env # then edit .env with your league ID + cookies
uv sync
uv run pytest # optional: run the test suiteRegister with Claude Code
claude mcp add espn-ff -- uv --directory /path/to/espn-ff-manager-mcp run espn-ff-managerRegister with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"espn-ff": {
"command": "uv",
"args": ["--directory", "/path/to/espn-ff-manager-mcp", "run", "espn-ff-manager"]
}
}
}Notes
ESPN has no official public API; this uses the same unofficial endpoints as the espn-api library and can break without notice when ESPN changes things.
Weekly projections come from ESPN's own projection feed.
analyze_tradeROS math covers the regular season only; check playoff-week schedules separately before accepting a trade.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP
Read-only ESPN, Sleeper, and Fantrax fantasy leagues for Claude, ChatGPT, and other AI tools.
- NFL MCPOAuthcom.nflmcp
NFL analytics tools for AI agents: stats, fantasy, injuries, schedules, and advanced analysis.
Live NFL, MLB, and NBA sports intelligence: injury signals, identity resolution, projections.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceConnect 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.19MIT
- AlicenseNot gradedqualityCmaintenanceAI-powered Yahoo Fantasy Football assistant for lineup optimization, draft strategy, and league management with player enhancement and multi-league support.82MIT
- FlicenseAqualityCmaintenanceEnables natural language interaction with Sleeper Fantasy Football API data, allowing queries about leagues, players, matchups, draft results, and trade analysis.1319-
- FlicenseNot gradedqualityBmaintenanceAutonomous ESPN Fantasy Baseball manager that optimizes lineups, handles waivers, and proposes trades using live stats.-