mcp-ff2026
An MCP server that helps an AI agent run a Sleeper fantasy football team from draft night through the championship. It syncs league data, imports FantasyPros rankings, and recommends draft picks, lineups, waivers, and trades.
README
Sleeper Fantasy Football MCP 2026
An MCP server that helps an AI agent run a Sleeper fantasy football team from draft night through the championship. Sleeper is the read-only source of league state; recommendations, draft queues, decision history, and model data are stored locally in SQLite.
What it does
- Discovers your league, roster, and draft from one Sleeper username or user ID.
- Syncs rosters, drafts, picks, matchups, transactions, players, and league history.
- Imports FantasyPros rankings, ADP, projections, injuries, and news.
- Recommends draft picks and estimates who may survive to your next pick.
- Maintains a conflict-safe local draft queue.
- Optimizes lineups and analyzes waivers, FAAB, trades, and season strategy.
- Learns descriptive manager tendencies from historical league behavior.
- Preserves source snapshots, recommendations, actions, and outcomes for later evaluation.
The models expose their inputs and uncertainty. Heuristic survival, FAAB, and championship estimates are not presented as calibrated facts.
Requirements
- Python 3.12+
- uv
- A Sleeper username or user ID
- A FantasyPros API key for rankings and projections
Setup
uv sync
cp .env.example .env
Edit .env:
FF2026_SLEEPER_USER_ID=your-sleeper-username
FF2026_FANTASYPROS_API_KEY=your-api-key
Start the stdio MCP server:
uv run --env-file .env ff2026-mcp
State is stored in .data/ff2026.sqlite3. Credentials are read only from the environment and are
excluded from source control.
MCP configuration
{
"mcpServers": {
"ff2026": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp-ff2026",
"run",
"--env-file",
".env",
"ff2026-mcp"
]
}
}
}
First run
Ask the agent to perform these operations:
initialize_seasondiscovers and stores the league, roster, and draft defaults.get_season_contextconfirms the selection.sync_fantasyprosimports preseason rankings and projections using week0.get_provider_statusreports unresolved player identities.sync_league_historyimports previous seasons for manager analysis.
If the account has multiple leagues, initialize_season returns the choices instead of guessing.
During the draft
- Run
refresh_decision_inputswith week0. - Read
get_draft_stateand stop if it reports stale data. - Use
recommend_draft_pickand review the alternatives and survival ranges. - Update the local queue with
set_draft_queue_entry. - Record the chosen action, sync the draft, and repeat.
No tool makes picks or other changes in Sleeper.
During the season
Refresh inputs each week, then use the lineup, waiver, trade, value-change, simulation, and season strategy tools as needed. Record actions and outcomes so calibration reports can evaluate the system prospectively.
Create a transactionally consistent backup with:
uv run --env-file .env ff2026-backup
Development
uv run ruff format --check .
uv run ruff check .
uv run mypy
uv run pytest
Detailed design and contracts:
Additional data sources must be licensed for your use. Boris-style tiers are treated as a FantasyPros-derived benchmark, not as independent evidence.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.