sleeper-mcp
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., "@sleeper-mcpwho are the top free agents in my league right now?"
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.
sleeper-mcp
Self-hosted remote MCP for Sleeper fantasy football. Deploy your own Cloudflare Worker. Paste one URL into Grok, Cursor, Claude, or any MCP client.
This repo does not host a public multi-tenant proxy. You run it. You pay your Worker. Sleeper rate limits hit your account, not ours.
No Sleeper login. The public API is read-only. Identity is username + league_id.
Why this exists
Most Sleeper MCPs are local npx / stdio. Grok connectors and most remote harnesses want:
https://sleeper-mcp.<your-account>.workers.dev/mcpFree agents are computed here (NFL player map minus every rostered ID). Do not recommend a player unless get_free_agents returns them.
Related MCP server: Sleeper Fantasy Football MCP
Tools
Tool | Purpose |
| Week / season |
| Profile by username |
| User leagues for a season |
| Owners + named rosters |
| True waiver list by position |
| Adds / drops / trades for a week |
| Future pick movement |
| Position counts per team |
Deploy (Cloudflare Workers Builds)
Same path as porkbun-mcp: connect this GitHub repo on the Worker. Cloudflare deploys on push. No GitHub CLOUDFLARE_API_TOKEN.
Workers & Pages → sleeper-mcp → Settings → Build → Connect:
Setting | Value |
Git account |
|
Repository |
|
Production branch |
|
Enable Preview builds | on |
Build command | (empty) |
Deploy command |
|
Leave the API token on the default Cloudflare-generated Builds token. Runtime identity stays on Settings → Variables and Secrets as encrypted secrets, not in GitHub and not in [vars]. Empty SLEEPER_USERNAME / SLEEPER_LEAGUE_ID in wrangler.toml overwrite secrets of the same name on deploy. Season is not a Worker var; list_leagues uses Sleeper's current NFL season unless the caller passes season.
First-time KV (already done for merimeesoftware):
npx wrangler kv namespace create sleeper-mcp-cachePut the returned id in wrangler.toml under kv_namespaces[0].id.
Optional defaults (or pass IDs on every tool call):
npx wrangler secret put SLEEPER_USERNAME
npx wrangler secret put SLEEPER_LEAGUE_IDLeague ID is the number in https://sleeper.com/leagues/<id>/....
Manual deploy from a logged-in machine:
npm run deployMCP URL:
https://sleeper-mcp.<your-subdomain>.workers.dev/mcpConnect
Grok: grok.com → Connectors → New → Custom → paste the full /mcp URL, including https://. The field can crop the left side (leeper-mcp...); confirm the stored value is not missing https:// before Add.
Streamable HTTP is POST-only. GET /mcp returns 405 immediately (Allow: POST) so clients that probe SSE do not hang.
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"sleeper": {
"url": "https://sleeper-mcp.<your-subdomain>.workers.dev/mcp"
}
}
}Grok CLI:
grok mcp add --transport http sleeper https://sleeper-mcp.<your-subdomain>.workers.dev/mcpLocal
npm run devInspector: npx @modelcontextprotocol/inspector@latest → http://localhost:8787/mcp
Limits
Sleeper: stay under ~1000 req/min. Player dump is cached 24h in KV.
Read-only. Cannot add, drop, or trade.
Do not point a public Worker at the world without your own rate limit.
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.
ESPN MCP — keyless multi-sport live scores, teams, and news via ESPN's public site API.
SportsDataIO MCP — wraps SportsDataIO's Big-Six sports data API (sportsdata.io)
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides read-only access to Sleeper fantasy football leagues, enabling team snapshots, available players, matchups, trade context, and league history through standardized MCP tools.MIT
- AlicenseAqualityCmaintenanceA 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
- FlicenseAqualityCmaintenanceEnables read-only access to Sleeper fantasy sports data, including users, leagues, rosters, matchups, transactions, drafts, players, trending activity, playoff brackets, traded picks, and sport state via MCP tools.18-
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server that provides access to public Sleeper NFL fantasy data, including leagues, rosters, matchups, waivers, drafts, and player information. It enables AI clients to retrieve fantasy football details without requiring authentication or account modifications.-