Skip to main content
Glama
tweiss777

sleeper-mcp

by tweiss777

Sleeper MCP

A read-only Model Context Protocol server for the public Sleeper API. It exposes users, leagues, rosters, matchups, transactions, drafts, players, trending activity, playoff brackets, traded picks, and sport state through async FastMCP tools.

Sleeper requires no API key. Please respect its documented guidance to stay below 1,000 requests per minute. The full players response is several megabytes and should generally be fetched no more than once per day.

Install

Requires Python 3.11 or newer and uv.

uv sync

Related MCP server: flaim

Run

The server uses MCP's stdio transport by default:

uv run sleeper-mcp

The equivalent module command is:

uv run python -m sleeper_mcp.server

Docker

The image is based on alpine:latest and runs the MCP server over stdio. Keep -i so the client can talk to the process on stdin.

docker build -t sleeper-mcp .
docker run --rm -i sleeper-mcp

Cursor (Docker)

{
  "mcpServers": {
    "sleeper": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "sleeper-mcp"
      ]
    }
  }
}

Claude Desktop (Docker)

{
  "mcpServers": {
    "sleeper": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "sleeper-mcp"
      ]
    }
  }
}

Configure an MCP client

Use the workspace's absolute path in your client configuration (or the Docker commands above).

Cursor

Add this server to your Cursor MCP configuration:

{
  "mcpServers": {
    "sleeper": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/talweiss/Desktop/codeProjects/sleeper-mcp",
        "run",
        "sleeper-mcp"
      ]
    }
  }
}

Claude Desktop

Add the same entry under mcpServers in Claude Desktop's configuration:

{
  "mcpServers": {
    "sleeper": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/talweiss/Desktop/codeProjects/sleeper-mcp",
        "run",
        "sleeper-mcp"
      ]
    }
  }
}

Restart the client after changing its configuration.

Development

uv run pytest

The package follows a layered design:

  • client.py owns HTTP concerns and the Sleeper base URL.

  • service.py maps methods to documented API endpoints.

  • tools.py documents and exposes service methods as MCP tools.

  • server.py wires the layers together and starts FastMCP.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides read-only access to TrustLayer's public API, enabling users to query and retrieve data about parties, documents, projects, and other TrustLayer entities through MCP-compatible tools.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Connect ESPN & Yahoo fantasy leagues to AI assistants via MCP. Read-only tools for rosters, standings, matchups, free agents, and league info across football and baseball.
    12
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides read-only access to the Sleeper Fantasy Sports API for league info, rosters, matchups, drafts, transactions, and player data.
    18
    27
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides read-only access to Sleeper fantasy football leagues, enabling team snapshots, available players, matchups, trade context, and league history through standardized MCP tools.
    MIT

View all related MCP servers

Related MCP Connectors

  • Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP

  • ESPN MCP — keyless multi-sport live scores, teams, and news via ESPN's public site API.

  • MLB Stats API MCP — official MLB statistics (keyless).

View all MCP Connectors

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/tweiss777/sleeper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server