Skip to main content
Glama
tweiss777

sleeper-mcp

by tweiss777

Sleeper MCP

공개 Sleeper API를 위한 읽기 전용 Model Context Protocol 서버입니다. 비동기 FastMCP 도구를 통해 사용자, 리그, 로스터, 매치업, 트랜잭션, 드래프트, 선수, 트렌드 활동, 플레이오프 대진표, 트레이드된 픽, 스포츠 상태를 제공합니다.

Sleeper는 API 키가 필요 없습니다. 문서화된 지침에 따라 분당 1,000회 미만의 요청을 유지해 주세요. 전체 선수 응답은 수 메가바이트이므로 일반적으로 하루에 한 번 이상 가져오지 않는 것이 좋습니다.

Install

Python 3.11 이상과 uv가 필요합니다.

uv sync

Related MCP server: flaim

Run

서버는 기본적으로 MCP의 stdio 전송을 사용합니다:

uv run sleeper-mcp

동일한 모듈 명령은 다음과 같습니다:

uv run python -m sleeper_mcp.server

Docker

이미지는 alpine:latest를 기반으로 하며 stdio를 통해 MCP 서버를 실행합니다. 클라이언트가 stdin에서 프로세스와 통신할 수 있도록 -i를 유지하세요.

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

클라이언트 구성에서 워크스페이스의 절대 경로를 사용하세요(또는 위의 Docker 명령어를 사용하세요).

Cursor

이 서버를 Cursor MCP 구성에 추가하세요:

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

Claude Desktop

Claude Desktop 구성의 mcpServers 아래에 동일한 항목을 추가하세요:

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

구성을 변경한 후 클라이언트를 다시 시작하세요.

Development

uv run pytest

패키지는 계층형 설계를 따릅니다:

  • client.py는 HTTP 관련 사항과 Sleeper 기본 URL을 담당합니다.

  • service.py는 메서드를 문서화된 API 엔드포인트에 매핑합니다.

  • tools.py는 서비스 메서드를 문서화하고 MCP 도구로 노출합니다.

  • server.py는 계층을 연결하고 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