sleeper-mcp
Sleeper MCP
Un servidor Model Context Protocol de solo lectura para la API pública de Sleeper. Expone usuarios, ligas, alineaciones, partidos, transacciones, drafts, jugadores, actividad de tendencias, cuadros de playoffs, selecciones intercambiadas y estado deportivo a través de herramientas FastMCP asíncronas.
Sleeper no requiere clave de API. Respeta sus pautas documentadas para mantenerte por debajo de 1000 solicitudes por minuto. La respuesta completa de jugadores ocupa varios megabytes y, por lo general, no debería obtenerse más de una vez al día.
Instalación
Requiere Python 3.11 o superior y uv.
uv syncRelated MCP server: flaim
Ejecución
El servidor usa el transporte stdio de MCP por defecto:
uv run sleeper-mcpEl comando de módulo equivalente es:
uv run python -m sleeper_mcp.serverDocker
La imagen se basa en alpine:latest y ejecuta el servidor MCP sobre stdio. Mantén -i para que el cliente pueda hablar con el proceso en stdin.
docker build -t sleeper-mcp .
docker run --rm -i sleeper-mcpCursor (Docker)
{
"mcpServers": {
"sleeper": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"sleeper-mcp"
]
}
}
}Claude (Docker)
{
"mcpServers": {
"sleeper": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"sleeper-mcp"
]
}
}
}Configurar un cliente MCP
Usa la ruta absoluta de tu espacio de trabajo en la configuración de tu cliente (o los comandos de Docker anteriores).
Cursor
Añade el servidor a tu configuración MCP de Cursor:
{
"mcpServers": {
"sleeper": {
"command": "uv",
"args": [
"--directory",
"/Users/talweiss/Desktop/codeProjects/sleeper-mcp",
"run",
"sleeper-mcp"
]
}
}
}Claude Desktop
Añade la misma entrada bajo mcpServers en la configuración de Claude Desktop:
{
"mcpServers": {
"sleeper": {
"command": "uv",
"args": [
"--directory",
"/Users/talweiss/Desktop/codeProjects/sleeper-mcp",
"run",
"sleeper-mcp"
]
}
}
}Reinicia el cliente después de cambiar su configuración.
Desarrollo
uv run pytestEl paquete sigue un diseño en capas:
client.pygestiona las solicitudes HTTP y la URL base de Sleeper.service.pydocumenta los endpoints de la API.tools.pydocumenta y expone los métodos del servicio como herramientas MCP.server.pyconecta las capas e inicia FastMCP.
Maintenance
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
- AlicenseNot gradedqualityNot gradedmaintenanceProvides 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.
- AlicenseNot gradedqualityCmaintenanceConnect 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.12MIT
- AlicenseAqualityBmaintenanceProvides read-only access to the Sleeper Fantasy Sports API for league info, rosters, matchups, drafts, transactions, and player data.18271MIT
- 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
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).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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