Fantasy-Football-Draft-MCP
A live fantasy-football draft assistant MCP server that models player value from open NFL data, tracks your league's draft board, and tells you who to pick with reasoning and survival odds.
Manage leagues: create/update named leagues with scoring (PPR, half, standard), superflex, TE premium, roster slots, team count, rounds, draft slot, and consistency weighting; list, switch, or delete them.
Prepare data: rebuild the player board from source data and prewarm all caches before draft day.
Sync drafts: pull live boards from Sleeper, ESPN (public or private with cookies), or pasted text; manually record, undo, and reset picks.
Get recommendations: ask who to pick now, or list best available players sorted by draft score, raw value (VOR), consistency, projected points, or ADP bargain.
Track state: view draft status and your roster at any time.
Plan ahead: simulate your entire draft from your slot with balanced, zero-RB, hero-RB, or robust-RB strategies.
Analyze players: full player reports, head-to-head comparisons of 2–4 players, and rookie projections from draft capital.
Study context: team offensive environment (O-line, pace, run/pass split, schedule) and defensive strength against each position over five years.
Evaluate receivers: separation and route-efficiency reports (separation, YPRR, TPRR) from Next Gen Stats data.
Beat the market: identify undervalued/overvalued picks versus ADP, backtest draft value by round, and find players who persistently beat their draft cost.
Validate names: check how player names resolve before trusting a paste sync.
Tune the model: adjust pace, O-line, injury, schedule, and consistency weights and rebuild the board.
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., "@Fantasy-Football-Draft-MCP Sync my Sleeper draft and tell me who to pick."
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.
Fantasy Football Draft Analyst (MCP Server)
A live draft assistant. Connect it to Claude, sync your ESPN or Sleeper draft board, and ask "who should I pick?" at every turn. It answers with a recommendation, the reasoning, and the odds each player survives to your next pick.
Tested end to end against live data: 631 players (551 veterans, 80 rookies) modelled from 247,284 plays across five seasons, priced against real 2026 preseason consensus.
Quick start
git clone https://github.com/zacharytran26/Fantasy-Football-Draft-MCP.git
cd Fantasy-Football-Draft-MCP
# Use a virtual environment (required on macOS with Homebrew Python, and
# recommended everywhere else) -- see docs/quickstart.md if `pip`/`python`
# aren't found or you hit "externally-managed-environment".
#
# If this repo lives under an iCloud-synced folder (Desktop or Documents on
# macOS), put the venv somewhere NOT synced instead, e.g. ~/.venvs/ffdraft-mcp
# -- see docs/troubleshooting.md for why.
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
# One-time data build (~3-6 min; downloads 5 seasons, then caches)
python setup_data.pyAdd to claude_desktop_config.json:
{
"mcpServers": {
"fantasy-draft": {
"command": "/absolute/path/to/ff-draft-mcp/.venv/bin/python",
"args": ["-m", "ffdraft.server"],
"env": {
"FFDRAFT_SEASON": "2026",
"ESPN_SWID": "optional-for-private-espn-leagues",
"ESPN_S2": "optional-for-private-espn-leagues",
"PYTHONPATH": "/absolute/path/to/ff-draft-mcp/src"
}
}
}
}Use absolute paths for both command and PYTHONPATH — Claude Desktop launches the server
from an undefined working directory, so plain python or relative paths won't resolve.
PYTHONPATH is a deliberate belt-and-suspenders: on macOS with Python 3.13, an editable
install's .pth file can end up with the OS "hidden" flag set (cause varies), and Python
3.13 silently skips hidden .pth files at startup, which breaks the ffdraft import even
though pip install -e . succeeded. Pointing PYTHONPATH straight at src/ sidesteps that
mechanism entirely. See troubleshooting if the server still
doesn't appear.
Then in Claude:
Set up my home league: 10 teams, full PPR, I pick 4th.
Set up my work league: 13 teams, half PPR, I pick 11th.
Switch to home. Sync my Sleeper draft 1234567890. Who should I pick?Related MCP server: rag-nfl-analyst
Documentation
Guide | What's in it |
Install to first recommendation in ten minutes | |
Every tool, argument and environment variable | |
How projections work and why the defaults are what they are | |
When something looks wrong | |
A full draft session, prompt snippets, sample ADP file | |
ESPN cookies, network access, what's stored locally | |
Tests, lint, and the bar for model changes | |
Release history |
What it does
Recommends picks by opportunity cost, not raw value. Knowing a player is good is easy; knowing whether he'll still be there at your next turn is what decides who to take now. For each position the model walks the board top-down, accumulating the probability every better player is gone, and values a pick by its marginal gain over waiting.
At pick 6 with the top five off the board, that means recommending Amon-Ra St. Brown over Josh Allen — Allen grades as the highest-value player left, but has a 73% chance of lasting to pick 19, and the receiver has 8%.
Projects players from five seasons of open data. Offensive line from adjusted line yards and pressure allowed, neutral-script pace and run/pass split, five-year defensive strength by position, divisional schedule, injury history crossed with workload burden, positional aging curves. Computed from raw plays rather than scraped from ranking tables, so it recomputes under your scoring and doesn't break when a website changes its HTML.
Optimises for consistency. The default leans toward week-to-week reliability over raw ceiling. Tune it with one number.
Handles your actual leagues. PPR, half PPR, standard, superflex, TE premium, any size, any slot. Multiple leagues side by side with separate boards and drafts.
Separation and route efficiency from NGS tracking data — the open-data stand-in for paywalled charting. Validated against a published PFF table: TPRR within a few hundredths, ordering correct.
Rookies projected from draft capital, fitted to ten years of first-year outcomes.
Live sync from Sleeper (public API, no credentials), ESPN, or paste from anywhere.
Name matching that survives real drafts — JSN, CMC, Bijan, Hollywood Brown,
Joshua Palmer, and typos. Ambiguous names name their candidates rather than guessing.
Tools
Tool | What it does |
| Create or update a named league; makes it active |
| All your leagues and which is active |
| Change active league; board and draft resume instantly |
| Delete a league and its draft history |
| Rebuild the board from source. Run once before draft day |
| Pull the live board from Sleeper, ESPN, or pasted text |
| The main one. Sync, status, recommendation, round-scoped value, and matchup detail — one call |
| Recommendation + reasoning for the pick on the clock |
| Next best players, sortable by value, consistency, or ADP bargain |
| Manual board management |
| Your roster and where the draft stands |
| Build all caches before draft day so nothing computes on the clock |
| This year's rookie class, projected from draft capital |
| Check how names resolve before trusting a paste sync |
| Separation, cushion, YPRR, TPRR, plus a schedule-adjusted matchup score |
| (Context only, not in recommendations) Man vs zone splits for any WR/TE/RB (targets per snap, catch %, yards, EPA) against the position baseline |
| Which coverages feed which receiver roles, league-wide or for one team |
| True X / Z / Slot / Y leaders vs man or zone (2023-2025 rookie classes; needs a local build) |
| How dropbacks end by coverage, pressure and time to throw; team pressure rate allowed (context only) |
| Does last year's pressure predict a change in a TE/RB/WR's volume? (TE: yes, small) |
| Do players on a team with bad pass protection last year bounce back? (unconfirmed) |
| Does a player's man-vs-zone gap repeat year to year? (mostly no) |
| Does coverage improve next-season prediction beyond prior production? (no, for WR/TE/RB) |
| Where the model disagrees with the draft market |
| Backtest: preseason rank vs actual finish, by round and position |
| Backtest: does schedule-adjusted matchup score beat talent alone at predicting finish? |
| Backtest: does a team's red zone identity shift beat touchdown-luck alone at predicting finish? (2022-2025: no — stays informational) |
| Replay a real past ESPN draft: algorithm's pick vs. true optimal vs. what you actually took, round by round, with value verdicts and team context for each |
| Monte Carlo mock draft: the algorithm vs. many simulated ADP-bot opponents, averaged over N trials |
| What actually won your ESPN league each season, and which specific pick made the difference |
| Players who beat their draft cost year after year |
| Every modelled factor for one player |
| Head to head, up to four |
| O-line ranks, pace, run/pass split, schedule for an NFL team |
| Fantasy points allowed by position, 5-year view |
| Simulate all 16 of your picks from your slot |
| Retune factor weights |
Data attribution
This project computes everything from open sources and ships no third-party data:
nflverse — play-by-play, weekly stats, snap counts, injury reports, rosters, schedules, draft picks, combine.
NFL Next Gen Stats (mirrored by nflverse) — separation, cushion, YAC over expected.
dynastyprocess/data — FantasyPros expert consensus rank history.
Please respect the terms of those upstream projects. Nothing here scrapes paywalled sources, and no proprietary data is redistributed.
Available Tools
25 toolsbest_availableA
The next best players still on the board.
sort_by: draft_score (balanced), vor (raw value), consistency (floor), proj_points, or value (biggest gap between ADP and model rank).
Inputs: limit, sort_by, position. Returns: result
compare_playersA
Compare 2-4 players head to head. Pass a comma-separated list.
Inputs: names (required). Returns: result
configure_leagueB
Create or update a league, and make it the active one.
Give each league a name and you can keep as many as you like side by side — a 10-team full PPR and a 13-team half PPR hold separate boards, separate replacement levels and separate in-progress drafts.
scoring: ppr, half_ppr, or standard. Use superflex=1 for a second QB-eligible slot, and te_premium_bonus for extra points per tight end reception. consistency_weight trades expected points against week-to-week reliability (0 = pure upside, 1 = pure floor).
Inputs: qb, rb, te, wr, +11 more. Returns: result
defense_reportA
Defensive rankings against a position — fantasy points allowed, 5-year view.
Rank 1 = toughest matchup. This is what drives the schedule adjustment.
Inputs: limit, position. Returns: result
draft_statusB
Where the draft stands and what your roster looks like.
Inputs: no named parameters. Returns: result
draft_value_historyC
Backtest: how preseason consensus rank compared to where players actually finished.
Value is measured in points against what that draft slot actually returned, so "did RB5 capital buy RB5 production?" Rank movement would be unfair to early picks and would label whole rounds as busts, because undrafted breakouts push every drafted player down the final standings.
Inputs: seasons, group_by. Returns: result
list_leaguesA
Every league you've set up, and which one is active.
Inputs: no named parameters. Returns: result
model_settingsC
Tune how much each factor moves a player. Rebuilds the board.
Inputs: pace_weight, oline_weight, injury_weight, schedule_weight, +1 more. Returns: result
persistent_value_playersC
Players who beat their draft cost repeatedly, not once.
One outperformance is a season; three is a trait. This is the closest the data comes to naming players the market persistently misprices.
Inputs: limit, seasons, min_seasons. Returns: result
plan_my_draftA
Simulate your whole draft from your slot and return the projected lineup.
Runs the board forward pick by pick, using ADP to model who realistically falls to you at each turn, and applies the same recommendation logic at every stop. strategy: balanced, zero_rb, hero_rb, or robust_rb.
Inputs: strategy. Returns: result
player_reportA
Full breakdown of one player: production, role, environment, injury, consistency.
Inputs: player_name (required). Returns: result
prewarmA
Build every cache before draft day so nothing computes while you're on the clock.
The first query of a session pays for downloading and modelling five seasons. Every query after it is served from memory. Run this an hour before your draft, not during it.
Inputs: verbose. Returns: result
record_pickA
Log a pick that just happened. Use after every pick if you aren't auto-syncing.
Inputs: player_name (required), team_slot, overall_pick. Returns: result
refresh_dataB
Rebuild the player board from source data. Run once before draft day.
Inputs: force_download. Returns: result
remove_leagueA
Delete a league and its draft history. The board cache is left alone, since other leagues with the same format may share it.
Inputs: name (required). Returns: result
reset_draftA
Clear all recorded picks and start fresh.
Inputs: no named parameters. Returns: result
resolve_namesA
Check how names resolve against the board — useful before trusting a paste sync.
Reports the match type for each name so silent mismatches surface. A name that fails to resolve looks like a player who scored zero, which is the single most damaging failure mode in this whole pipeline.
Inputs: names_csv (required). Returns: result
rookie_reportA
Projected rookies for this season, from draft capital and landing spot.
Rookies have no NFL history, so they're projected off a curve fitted to how draft pick converted to first-year production across the last ten classes, then adjusted for the offence they landed in. Consistency is deliberately low for all of them: rookie roles move mid-season and the floor is a healthy scratch.
Treat these as the widest error bars on the board.
Inputs: limit, position. Returns: result
separation_reportA
Separation and route efficiency — the open-data version of a PFF SEP/YPRR table.
avg_separation is NFL Next Gen Stats tracking data: yards of daylight between receiver and nearest defender when the ball arrives. YPRR and TPRR use routes estimated from snap share times team dropbacks. Only players who cleared 250 routes and 50 targets in a season are included, so these are real workloads rather than flattering part-time rates.
Man-versus-zone splits are not reproducible from open data — that needs per-play coverage charting.
Inputs: limit, position, player_name. Returns: result
switch_leagueA
Make a different league active. Its board and draft resume where you left them.
Inputs: name (required). Returns: result
sync_draftA
Pull the current draft board from your platform.
platform="sleeper" with draft_id -- fully automatic, public API. platform="espn" with league_id -- works for public leagues; private ones need ESPN_SWID and ESPN_S2 environment variables from a logged-in browser session. platform="paste" with pasted_board -- paste the drafted list from any site.
Inputs: platform (required), season, draft_id, league_id, +1 more. Returns: result
team_contextC
Offensive environment for an NFL team: O-line, pace, run/pass split, schedule.
Inputs: team (required). Returns: result
undo_pickA
Remove the most recent pick — for when someone mis-enters the board.
Inputs: no named parameters. Returns: result
value_picksA
Where the model disagrees with the draft market, on draftable players only.
Positive gap means the model ranks a player higher than the room does — the players you can wait on and still get. Negative means the market is paying more than the model thinks they're worth.
Inputs: limit, direction. Returns: result
who_should_i_pickA
The live draft-analyst call: who to take right now, and why.
Weighs projected value, week-to-week consistency, your roster's open starting slots, and the odds each player survives to your next pick.
Inputs: limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have clearly distinct scopes (league management, draft syncing, player reports, historical analysis). However, best_available, who_should_i_pick, and value_picks all serve draft recommendation purposes, creating mild ambiguity despite detailed descriptions.
All names use lowercase snake_case and are readable, but they mix verb_noun patterns (configure_league, record_pick) with noun phrases (best_available, value_picks, separation_report). This is mostly consistent but not perfectly uniform.
At 25 tools, the count is borderline heavy but suits the broad domain of fantasy football drafting, covering league setup, live draft management, player research, backtesting, and simulation. Each tool serves a distinct purpose, so the size feels justified rather than bloated.
The tool set offers comprehensive lifecycle coverage: league CRUD, draft tracking (record/sync/undo/reset), multiple analysis perspectives (player, team, defense, rookies), historical value tools, and full-draft simulation. No major gaps are apparent for the stated draft-focused purpose.
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for accessing Glypse's prediction market analytics and research.
MCP server for generating rough-draft project plans from natural-language prompts.
Official Score VI MCP server: intrinsic value, fundamentals, and a stock screener.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that turns real NFL & fantasy data into a decisive edge, offering 70+ tools for draft assistance, start/sit recommendations, trade analysis, playoff odds, and more, with live league integration.MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for NFL fantasy football retrieval, providing access to NFL stats and Sleeper league data through retrieval-oriented tools.-
- AlicenseAqualityDmaintenanceA read-only MCP server that supplies live context from Sleeper fantasy-football leagues, including rosters, trade analysis, draft picks, and league settings via Sleeper's public API.11MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides fantasy football draft tools including ranked boards, best available, player comparisons, sleeper/bust flags, and ADP market gaps using a calibrated projection model.MIT