sleeper-mcp
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., "@sleeper-mcpWhat's the current NFL week and season?"
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
An MCP (Model Context Protocol) server for the Sleeper Fantasy Sports API. Gives Claude, Cursor, VS Code Copilot, and any other MCP-compatible AI client read access to Sleeper's public API — no API key required.
What you can do
Ask your AI assistant things like:
"What leagues am I in this season?" (give it your Sleeper username)
"Show me the standings and rosters for my league"
"Who won the championship bracket?"
"What trades happened this week?"
"Which players are being added the most right now?"
"Show me all first-round draft picks from my 2024 draft"
Related MCP server: Sleeper Fantasy MCP
Available Tools
Tool | Description |
| Look up a user's profile by username or user ID |
| Current NFL week, season type, and season year |
| All leagues a user is in for a given sport/season |
| Full league details including scoring and roster settings |
| All rosters with win/loss records and player lists |
| All managers in a league with their team names |
| Weekly matchup scores for any week |
| Playoff championship bracket |
| Consolation / toilet bowl bracket |
| Trades, waiver claims, and FA adds/drops by week |
| All traded draft picks in a league |
| All drafts a user participated in |
| All drafts for a league |
| Full draft details (type, order, slot mapping) |
| Every pick in a draft with player and position info |
| Picks that were traded within a draft |
| Full NFL player database with filtering by position, team, or name |
| Most-added or most-dropped players over a time window |
Prerequisites
A Sleeper account is helpful but not required (the API is fully public)
Installation
git clone https://github.com/yooitsgreg/sleeper-mcp.git
cd sleeper-mcp
# pick your package manager:
npm install # or: pnpm install / yarn / bun installThe install triggers a prepare hook that compiles TypeScript to dist/. No separate build step needed.
Configuration
Pick the section for your AI client.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"sleeper": {
"command": "node",
"args": ["/absolute/path/to/sleeper-mcp/dist/index.js"]
}
}
}Claude Code (CLI)
Edit ~/.claude/claude.json:
{
"mcpServers": {
"sleeper": {
"command": "node",
"args": ["/absolute/path/to/sleeper-mcp/dist/index.js"]
}
}
}VS Code (GitHub Copilot / MCP extension)
Create or edit .vscode/mcp.json in your workspace:
{
"servers": {
"sleeper": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/sleeper-mcp/dist/index.js"]
}
}
}Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"sleeper": {
"command": "node",
"args": ["/absolute/path/to/sleeper-mcp/dist/index.js"]
}
}
}After editing the config, restart your AI client.
Development
npm run dev # watch mode (tsx), recompiles on save
npm run build # compile TypeScript → dist/
npm run clean # remove dist/Project structure
src/
├── index.ts # Entry point — wires up McpServer + StdioServerTransport
├── constants.ts # API base URL, timeouts, character limits
├── types.ts # TypeScript interfaces for all Sleeper API responses
├── services/
│ └── sleeperClient.ts # Shared axios client and error handler
└── tools/
├── users.ts # sleeper_get_user
├── leagues.ts # All league tools (9 tools)
├── drafts.ts # All draft tools (5 tools)
├── players.ts # sleeper_get_nfl_players, sleeper_get_trending_players
└── state.ts # sleeper_get_nfl_stateNotes
No authentication required — Sleeper's API is free and public.
Rate limit — Sleeper asks that you stay under 1,000 requests/minute.
sleeper_get_nfl_playersfetches ~5 MB of data. Use theposition_filter,team_filter, orsearchparameters to keep responses manageable. Sleeper recommends caching this data and only refreshing once per day.All tools are read-only — this server never writes to Sleeper.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/yooitsgreg/sleeper-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server