maxpreps-mcp

v1.2.0
io.github.chrischall/maxpreps-mcp Checked 12 hours ago Published 27 days ago

MaxPreps MCP — high school schedules, scores, records, rosters and stat leaders

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

maxpreps_get_school Get a MaxPreps school profile

School profile: identifiers, location, state athletic association, partner flags, plus nearby schools and recent articles/videos. Take the path from maxpreps_search. Read-only.

ParameterTypeDescription
school *stringSchool site path or maxpreps.com URL, e.g. nc/charlotte/myers-park-mustangs
includeNearbybooleanInclude the nearby-schools list

maxpreps_list_teams List a school’s teams

Every team path a school publishes, with sport, gender and level. Call this before any team tool — the sport path segments are not guessable (the default gender varies by sport, so girls golf is "golf/girls" while boys golf is "golf/spring", and field hockey has no gender segment at all). Passing a team path instead of a school path returns that team’s seasons. Read-only.

ParameterTypeDescription
school *stringSchool site path or maxpreps.com URL, e.g. nc/charlotte/myers-park-mustangs
levelstringFilter on level, e.g. "Varsity", "JV", "Freshman"
sportstringCase-insensitive filter on the sport name, e.g. "football"

maxpreps_get_team Get a MaxPreps team season

Team overview for one season: sport/level/season identifiers, the win-loss record and points for/against, conference standing, rankings, and the full list of seasons this team has on MaxPreps (roughly 20 years). Use it to confirm a record without summing a schedule. Read-only.

ParameterTypeDescription
team *stringTeam site path or URL, e.g. nc/charlotte/myers-park-mustangs/football
includeSeasonsbooleanInclude the list of available seasons
seasonstringSeason label, e.g. 25-26. Omit for the current season.

maxpreps_get_schedule Get a MaxPreps team schedule and scores

Every game for a team season, with the result and both scores. Scores are oriented team-vs-opponent (`teamScore`/`opponentScore`); the raw `resultString` MaxPreps renders is winner-first, so a loss reads "L 20-13" even when the team scored 13. Soft-deleted contests are hidden by default, matching the site. Before opening day a current season legitimately has no results — check a prior season. Also returns any playoff or championship tournaments the season fed into. Read-only.

ParameterTypeDescription
team *stringTeam site path or URL, e.g. nc/charlotte/myers-park-mustangs/football
includeDeletedbooleanInclude soft-deleted contests the site hides
includeTournamentsbooleanInclude playoff/championship tournament entries the schedule references
playedstringFilter to games with a result, games without one, or both
seasonstringSeason label, e.g. 25-26. Omit for the current season.

maxpreps_get_roster Get a MaxPreps team roster

Players on a team for one season: jersey, name, class year, positions, height and weight. Soft-deleted entries (duplicates and departed players the site hides) are excluded by default — a roster payload often carries substantially more rows than the page shows. Height and weight are null when the school did not publish them. Read-only.

ParameterTypeDescription
team *stringTeam site path or URL, e.g. nc/charlotte/myers-park-mustangs/football
includeDeletedbooleanInclude soft-deleted roster entries the site hides
positionstringCase-insensitive filter on position, e.g. "QB"
seasonstringSeason label, e.g. 25-26. Omit for the current season.

maxpreps_get_stat_leaders Get MaxPreps team stat leaders

Statistical leaders for a team season — each entry names the athlete, the stat, its value and the athlete's career URL. Also returns the qualifying minimums and the stat refresh time. Coverage varies by sport and by how diligently the school reports; an empty result is normal, not an error. Read-only.

ParameterTypeDescription
team *stringTeam site path or URL, e.g. nc/charlotte/myers-park-mustangs/football
seasonstringSeason label, e.g. 25-26. Omit for the current season.

maxpreps_get_athlete Get a MaxPreps athlete career

One athlete’s career page: season history, sports played, and available data. Pass the `careerCanonicalUrl` from maxpreps_search verbatim — it carries the required `careerid` parameter, without which the page cannot be addressed. Read-only.

ParameterTypeDescription
athlete *stringAthlete career path or URL, including ?careerid=… (use search’s careerCanonicalUrl)
careerIdstringcareerid, if not already present in the path

maxpreps_get_rankings Get MaxPreps team rankings

Ranked leaderboard of teams for a sport — nationally, or within one state. Each entry carries the rank, rating, overall record, movement, and a `teamPath` ready to pass to the other team tools, so this is the way to discover teams rather than look one up. Results are paginated 25 at a time. Omitting `season` uses the current one, which is empty before that sport is under way. Read-only.

ParameterTypeDescription
sport *stringSport slug as used in MaxPreps URLs, e.g. football, basketball
pageNumberinteger1-based page; 25 teams per page
seasonstringSeason label, e.g. 25-26. Omit for the current season.
statestringTwo-letter state code, e.g. NC. Omit for national rankings.

maxpreps_get_team_rankings Get one team’s rankings

Where a single team sits in each ranking MaxPreps publishes for it — typically national, state, state division/class, and metro area — along with the teams ranked immediately around it. Use this for "how good is this team"; use maxpreps_get_rankings to browse a whole leaderboard. Read-only.

ParameterTypeDescription
team *stringTeam site path or URL, e.g. nc/charlotte/myers-park-mustangs/football
seasonstringSeason label, e.g. 25-26. Omit for the current season.

maxpreps_get_standings Get conference standings

The standings table a team sits in — every team in the conference with its conference and overall records and placement, not just this team's own line (maxpreps_get_team gives that). Also returns the ranked statistical leaders MaxPreps highlights for the season. Read-only.

ParameterTypeDescription
team *stringTeam site path or URL, e.g. nc/charlotte/myers-park-mustangs/football
seasonstringSeason label, e.g. 25-26. Omit for the current season.

maxpreps_list_stat_categories List MaxPreps stat leaderboard categories

Which statistical leaderboards exist for a sport, with the path to each one plus the national and in-scope averages and the games-played minimum. **Call this before maxpreps_get_stat_leaderboard** — the leaf path is not derivable from the stat name (Total TDs lives at `touchdowns/tot-tds`, Sacks at `sacks/tot-sacks`), so the path must come from here. Read-only.

ParameterTypeDescription
sport *stringSport slug as used in MaxPreps URLs, e.g. football
seasonstringSeason label, e.g. 25-26. Omit for the current season.
statestringTwo-letter state code, e.g. NC. Omit for national leaders.

maxpreps_get_stat_leaderboard Get a MaxPreps stat leaderboard

The ranked athletes for one statistical category across a state or nationally — up to 200 per board, each with their full stat line, school, and a `teamPath` for the other team tools. Take `path` from maxpreps_list_stat_categories rather than constructing it. If MaxPreps changes the row shape the rows are returned undecoded with a warning rather than mislabelled. Read-only.

ParameterTypeDescription
path *stringLeaderboard path from maxpreps_list_stat_categories, e.g. nc/football/25-26/stat-leaders/offense/passing/yds
limitintegerMax athletes to return

maxpreps_healthcheck Check MaxPreps connectivity

Verify MaxPreps is reachable and that the site build id — which every data route embeds and which changes on each deploy — resolves. Also probes a real data route, so a pass means tools will work. Reports a failure rather than throwing. No credentials are required by this server. Read-only.

maxpreps_get_page Get raw MaxPreps page data

Escape hatch: return the raw server-rendered data for any public MaxPreps page, undecoded. Use when a dedicated tool does not cover what you need (playoff brackets, conference standings, article listings). Note that positional payloads — team rosters and schedules — arrive as bare arrays here with no field names; use maxpreps_get_roster / maxpreps_get_schedule for those. Roster rows (athleteData) are always projected to public roster fields (name, jersey, positions, class, height, weight). Read-only.

ParameterTypeDescription
path *stringSite path or maxpreps.com URL
keysOnlybooleanReturn only the top-level prop names and their types — cheap way to explore a page