StatHead
Click on "Install 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., "@StatHeadCompare Bijan Robinson and Jahmyr Gibbs 2024 consistency"
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.
StatHead
An open NFL fantasy-football analytics platform — live data, machine-learned projections, dynasty values, and prospect grades, served as a web app and as an MCP server you can plug straight into Claude or any AI client.
🌐 Web app — stathead.app (QA mirror)
🤖 MCP server — 30 NFL tools for AI projects →
mcp/🧠 ML pipeline — projection / dynasty-value / prospect models trained from 10+ seasons of data
📦 MIT-licensed code. ⚠️ The data has its own terms — see
DATA_SOURCES.mdbefore redistributing anything.
Use it in your own AI project (MCP)
The fastest way to build on StatHead. No clone, no build:
npx -y stathead-mcpClaude Code:
claude mcp add stathead -- npx -y stathead-mcpClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"stathead": { "command": "npx", "args": ["-y", "stathead-mcp"] }
}
}Then ask things like "Compare Bijan Robinson's and Jahmyr Gibbs' weekly
consistency in 2024" or "Top 10 dynasty WRs by StatHead value, with their
ages." Full tool list and configuration: mcp/README.md.
Related MCP server: nfl-mcp
Run the web app locally
npm install
npm run dev # Vite dev serverOther useful scripts:
Script | What it does |
| Production build (semantic layer → features → tsc → vite → Pages post-build) |
| Bundle the MCP server → |
| Run the MCP server from source ( |
| ESLint |
| Download data sources for local work |
The repo is a TypeScript/React (Vite) front end plus a TypeScript + Python data
& ML pipeline under scripts/ and python/. The same
tool layer (src/tools.ts → src/data.ts) backs both the app and the MCP
server.
Data
StatHead pulls from many upstreams — open data (nflverse, DynastyProcess, CFBD), public APIs (Sleeper, ESPN, FantasyFootballCalculator), proprietary community values (KeepTradeCut, FantasyCalc), and derived features from paid scouting products. Licensing varies a lot by source.
👉 Read DATA_SOURCES.md before redistributing data,
publishing a dataset, or shipping a commercial product. The short version:
share the open sources and StatHead's own model outputs freely; fetch the rest
from the original source under your own access rather than rebundling it.
Data proxies (self-hosting)
Live KeepTradeCut, FantasyCalc, and ESPN data is fetched through small
Cloudflare Worker CORS proxies, because those upstream APIs block direct
browser requests. The worker source lives under workers/ and a
deploy workflow is in
.github/workflows/deploy-workers.yml.
By default the app points at the upstream project's workers, so it works as
soon as you clone it. If you deploy your own copy, stand up your own workers
(so you don't depend on — or get rate-limited by — someone else's) and override
the URLs via env vars. Copy .env.example to .env.local and set:
Var | Proxies |
| KeepTradeCut dynasty values ( |
| FantasyCalc values ( |
| ESPN player news/overview ( |
| Visitor analytics beacon ( |
Each falls back to the project's worker when unset. Deploy a worker with
cd workers/<name> && npx wrangler deploy (or use the deploy workflow).
Visitor analytics
The app sends a first-party, cookie-less pageview beacon per tab view to
workers/visit-tracker, which writes to Cloudflare
Workers Analytics Engine. No third parties, no identifiers stored in the
browser, no raw IPs kept — visitors are counted with a daily-rotating
anonymous hash, and Do Not Track / Global Privacy Control are honored.
Aggregates (daily views/visitors, top pages, referrers, countries) are served
by the worker's /stats endpoint and a small dashboard at its root URL. See
the worker's header comment for the data layout and the one-time
CLOUDFLARE_ANALYTICS_API_TOKEN setup.
Environments
Two deploy targets, fed by the same codebase:
Env | URL | Host | Base path | Trigger |
QA |
| GitHub Pages |
| push to the dev branch ( |
Production |
| Cloudflare Pages |
| push to |
The base path is set by the BASE_PATH env var in
vite.config.ts (default /stathead/); the prod
workflow builds with BASE_PATH=/. Everything in the app reads
import.meta.env.BASE_URL, so that one switch repoints every asset and
data URL.
Promote QA → prod by merging the dev branch into production. That
push builds for the root domain and uploads to Cloudflare Pages. See the
header of deploy-prod.yml for the
one-time Cloudflare Pages + DNS setup.
License
Code is MIT. Data is not covered by that license — see
DATA_SOURCES.md. The name "Stathead" may conflict with
Sports Reference's Stathead trademark; see the note in
that file.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceA server that integrates Sleeper fantasy sports data with Goose AI through the Machine Context Protocol (MCP), providing structured access to fantasy league information.Last updated
- Alicense-qualityAmaintenanceAn MCP server that provides access to over 12 years of NFL play-by-play data through a local DuckDB database. It enables users to query player performance, team statistics, and situational efficiency metrics like EPA and WPA using natural language.Last updated15MIT

@fantopy/fantopy-mcpofficial
FlicenseAqualityCmaintenanceMCP server enabling AI agents to play fantasy football on Solana through Fantopy Arena, with tools for contests, lineups, and payouts.Last updated12- Flicense-qualityDmaintenanceAn open-source MCP server that turns any AI assistant into a football data analytics and scouting platform, enabling natural language queries over 40+ stats, 20+ leagues, and 10,000+ players.Last updated1
Related MCP Connectors
Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP
Quant tools + an NFL fantasy draft assistant for AI agents — Kalshi & Polymarket EV, edge, ADP.
The hockey data API. Stats, odds, and everything between. REST API and MCP server.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dachhack/stathead'
If you have feedback or need assistance with the MCP directory API, please join our Discord server