Skip to main content
Glama

Sleeper API MCP

by einreke
mcp.json8.36 kB
{ "name": "sleeper", "version": "1.0.0", "description": "Sleeper API MCP for fantasy football data retrieval", "transports": ["stdio"], "tools": [ { "name": "getUserInfo", "description": "Fetches user information by username or user_id", "parameters": { "type": "object", "properties": { "username_or_user_id": { "type": "string", "description": "The username or user_id of the user to retrieve" } }, "required": ["username_or_user_id"] } }, { "name": "getUserLeagues", "description": "Fetches all leagues for a user for a specified sport and season", "parameters": { "type": "object", "properties": { "user_id": { "type": "string", "description": "The user_id of the user to retrieve leagues for" }, "sport": { "type": "string", "description": "The sport to retrieve leagues for (e.g., 'nfl')", "default": "nfl" }, "season": { "type": "string", "description": "The season to retrieve leagues for (e.g., '2023')" } }, "required": ["user_id", "season"] } }, { "name": "getLeagueInfo", "description": "Fetches information about a specific league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve" } }, "required": ["league_id"] } }, { "name": "getLeagueRosters", "description": "Fetches all rosters in a league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve rosters from" } }, "required": ["league_id"] } }, { "name": "getLeagueUsers", "description": "Fetches all users in a league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve users from" } }, "required": ["league_id"] } }, { "name": "getLeagueMatchups", "description": "Fetches matchups in a league for a specific week", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve matchups from" }, "week": { "type": "integer", "description": "The week for which to retrieve matchups" } }, "required": ["league_id", "week"] } }, { "name": "getLeagueWinnersBracket", "description": "Fetches the playoff winners bracket for a league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve the winners bracket from" } }, "required": ["league_id"] } }, { "name": "getLeagueLosersBracket", "description": "Fetches the playoff losers bracket for a league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve the losers bracket from" } }, "required": ["league_id"] } }, { "name": "getLeagueTransactions", "description": "Fetches transactions in a league for a specific week", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve transactions from" }, "week": { "type": "integer", "description": "The week for which to retrieve transactions" } }, "required": ["league_id", "week"] } }, { "name": "getLeagueTradedPicks", "description": "Fetches all traded picks in a league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve traded picks for" } }, "required": ["league_id"] } }, { "name": "getNFLState", "description": "Fetches the current NFL state", "parameters": { "type": "object", "properties": {} } }, { "name": "getUserDrafts", "description": "Fetches all drafts for a user for a specific sport and season", "parameters": { "type": "object", "properties": { "user_id": { "type": "string", "description": "The user_id of the user to retrieve drafts for" }, "sport": { "type": "string", "description": "The sport to retrieve drafts for (e.g., 'nfl')", "default": "nfl" }, "season": { "type": "string", "description": "The season to retrieve drafts for (e.g., '2023')" } }, "required": ["user_id", "season"] } }, { "name": "getLeagueDrafts", "description": "Fetches all drafts for a league", "parameters": { "type": "object", "properties": { "league_id": { "type": "string", "description": "The ID of the league to retrieve drafts for" } }, "required": ["league_id"] } }, { "name": "getDraftInfo", "description": "Fetches information about a specific draft", "parameters": { "type": "object", "properties": { "draft_id": { "type": "string", "description": "The ID of the draft to retrieve" } }, "required": ["draft_id"] } }, { "name": "getDraftPicks", "description": "Fetches all picks in a draft", "parameters": { "type": "object", "properties": { "draft_id": { "type": "string", "description": "The ID of the draft to retrieve picks for" } }, "required": ["draft_id"] } }, { "name": "getDraftTradedPicks", "description": "Fetches all traded picks in a draft", "parameters": { "type": "object", "properties": { "draft_id": { "type": "string", "description": "The ID of the draft to retrieve traded picks for" } }, "required": ["draft_id"] } }, { "name": "getAllPlayers", "description": "Fetches information about all players for a specific sport", "parameters": { "type": "object", "properties": { "sport": { "type": "string", "description": "The sport to retrieve players for (e.g., 'nfl')", "default": "nfl" } } } }, { "name": "getTrendingPlayers", "description": "Fetches trending players based on add/drop activity", "parameters": { "type": "object", "properties": { "sport": { "type": "string", "description": "The sport to retrieve trending players for (e.g., 'nfl')", "default": "nfl" }, "type": { "type": "string", "description": "The type of trend to retrieve ('add' or 'drop')", "enum": ["add", "drop"] }, "lookback_hours": { "type": "integer", "description": "Number of hours to look back (default is 24)", "default": 24 }, "limit": { "type": "integer", "description": "Number of results to return (default is 25)", "default": 25 } }, "required": ["type"] } } ], "schemas": {} }

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

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