Skip to content
Back to search

sleeper-mcp

Connect Sleeper to ChatGPT, Claude and other AI agents through Cotlet.dev.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/cotlet-connect--sleeper-mcp/badge.svg)](/listings/cotlet-connect--sleeper-mcp)

HTML

<a href="/listings/cotlet-connect--sleeper-mcp"><img src="/api/listings/cotlet-connect--sleeper-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 121 lines
  1. # Sleeper API and MCP server
  2. Sleeper has a public read-only API and no official MCP server. Cotlet.dev offers a hosted MCP connection to your signed-in Sleeper account with 13 tools, including six write operations for lineups, waivers, trades and league chat.
  3. ## What you can ask
  4. > Bench starters who are ruled out in every league.
  5. > Place a FAAB waiver bid after checking the available free agents.
  6. > Show my matchups and scores for this week.
  7. > Draft the weekly league recap for my chat.
  8. > Answer open trade offers after I approve the changes.
  9. ## Connect in 2 minutes
  10. Get your API key at https://cotlet.dev/app and export it as `COTLET_API_KEY`.
  11. ### Claude Code
  12. ```bash
  13. claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"
  14. ```
  15. ### ChatGPT
  16. Settings → Apps → add connector URL `https://cotlet.dev/mcp/v1`, then sign in with Cotlet.dev. No API key needed.
  17. ### Cursor
  18. Copy `.cursor/mcp.json` from this repo into your project:
  19. ```json
  20. {
  21. "mcpServers": {
  22. "cotlet": {
  23. "url": "https://cotlet.dev/mcp/v1",
  24. "headers": {
  25. "Authorization": "Bearer ${COTLET_API_KEY}"
  26. }
  27. }
  28. }
  29. }
  30. ```
  31. ## Run it locally (stdio)
  32. This repo is a real MCP server. It speaks MCP over stdio, lists its Sleeper tools without any key, and forwards every tool call to the hosted Cotlet.dev server. The hosted URL above stays the recommended way. Use this when your client only starts local servers.
  33. ```json
  34. {"mcpServers":{"sleeper":{"command":"uvx","args":["sleeper-mcp"],"env":{"COTLET_API_KEY":"your-key"}}}}
  35. ```
  36. Or with Docker:
  37. ```bash
  38. docker build -t sleeper-mcp .
  39. docker run -i --rm -e COTLET_API_KEY sleeper-mcp
  40. ```
  41. Tools: `sleeper_guide`, `sleeper_status`, `sleeper_open`, `sleeper_read`, `sleeper_click`, `sleeper_type`, `sleeper_close`. Without `COTLET_API_KEY` a tool call answers: "Set COTLET_API_KEY. Get a key at https://cotlet.dev/app".
  42. ## Command line
  43. Python 3.10+, nothing else to install. From PyPI:
  44. ```bash
  45. pip install sleeper-mcp # or run it once: uvx sleeper-mcp connect
  46. sleeper-mcp connect
  47. ```
  48. Or straight from this repo:
  49. ```bash
  50. export COTLET_API_KEY="your-key"
  51. python3 sleeper_agent.py connect # ready config for Claude Code, Cursor, ChatGPT
  52. python3 sleeper_agent.py status # is Sleeper ready in your Cotlet.dev account
  53. python3 sleeper_agent.py guide # Sleeper screens and sign-in link
  54. python3 sleeper_agent.py read # open Sleeper, read the page, close the browser
  55. python3 sleeper_agent.py tools # list Cotlet.dev tools
  56. python3 sleeper_agent.py serve # start the stdio MCP server (same as no argument)
  57. ```
  58. ## Questions from Sleeper users
  59. **Does Sleeper have an MCP server or an API?**
  60. Sleeper has a public read-only API and no official MCP server. Cotlet.dev offers 13 hosted tools over MCP and REST, including writes that ask for approval.
  61. **Which account do I connect?**
  62. Connect your own Sleeper account in its Cotlet Cloud Browser, sign in yourself and enable it for agents.
  63. **Which actions ask for approval?**
  64. Lineup changes, waiver bids, trades and league chat messages require your approval before they are sent.
  65. **Is this affiliated with Sleeper?**
  66. No. Cotlet.dev is independent and is not affiliated with, endorsed by or sponsored by Sleeper.
  67. ## Find it on
  68. - [Sleeper on Cotlet.dev](https://cotlet.dev/integrations/sleeper-api-mcp-server?utm_source=github&utm_medium=readme&utm_campaign=sleeper&utm_content=find)
  69. - [PyPI package sleeper-mcp](https://pypi.org/project/sleeper-mcp/)
  70. - [Odel](https://odel.app/modules/cotlet/sleeper)
  71. - [mcpbeat](https://mcpbeat.com/mcp-servers/cotlet/sleeper/)
  72. - [Step-by-step guide (PDF) on Internet Archive](https://archive.org/details/cotlet-connect-sleeper-to-ai-agents-guide)
  73. ## Also works with
  74. - [All apps connected through Cotlet.dev](https://github.com/cotlet-connect)
  75. ---
  76. More: https://cotlet.dev/integrations/sleeper-api-mcp-server?utm_source=github&utm_medium=readme&utm_campaign=sleeper
  77. Start free: https://cotlet.dev/signup?app=sleeper&utm_source=github&utm_medium=readme&utm_campaign=sleeper

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.