maxpreps-mcp
MCP server for MaxPreps that reads US high school team schedules, scores, records, rosters, stat leaders, and athlete careers without needing an account or API key.
README
maxpreps-mcp
MCP server for MaxPreps — read any US high school's team schedules, scores, records, rosters, stat leaders and athlete careers.
Developed and maintained by AI (Claude Code). Use at your own discretion.
No account, no API key, no browser extension. MaxPreps serves its pages with Next.js, and every public page has a companion JSON route carrying the same data the page was rendered from. This server reads those routes directly over plain HTTPS, so it works anywhere Node runs.
Install
npx maxpreps-mcp
Or add it to an MCP host:
{
"mcpServers": {
"maxpreps": {
"command": "npx",
"args": ["-y", "maxpreps-mcp"]
}
}
}
Tools
All fifteen are read-only; this server has no write path.
| Tool | What it does |
|---|---|
maxpreps_search |
Find a school or athlete by name — start here |
maxpreps_list_teams |
Every team path a school publishes, with sport/gender/level |
maxpreps_get_school |
School profile, identifiers, association, nearby schools |
maxpreps_get_team |
Season record, standings, rankings, and available seasons |
maxpreps_get_schedule |
Games with results and scores, plus a computed record |
maxpreps_get_roster |
Players with jersey, class, positions, height, weight |
maxpreps_get_stat_leaders |
Statistical leaders with qualifying minimums |
maxpreps_get_rankings |
Ranked leaderboard for a sport, national or by state |
maxpreps_get_team_rankings |
Where one team ranks nationally, by state, division, metro |
maxpreps_get_standings |
Conference table with every team's record |
maxpreps_list_stat_categories |
Which stat leaderboards exist, and their paths |
maxpreps_get_stat_leaderboard |
Ranked athletes for one stat, statewide or national |
maxpreps_get_athlete |
One athlete's career page |
maxpreps_healthcheck |
Connectivity plus site build-id resolution |
maxpreps_get_page |
Raw page data for anything the above doesn't cover |
Typical flow
Paths are not guessable, so resolve before you fetch:
maxpreps_search "myers park"→ the school'scanonicalUrlmaxpreps_list_teamson that path → real team pathsmaxpreps_get_schedule/_roster/_stat_leaders/_standingson a team path
To go the other way — discovering teams and athletes rather than looking one up —
maxpreps_get_rankings and maxpreps_get_stat_leaderboard return ranked lists whose entries
each carry a teamPath you can feed straight back in. Stat leaderboard paths are not
guessable either, so list the categories first.
Prior seasons are a season argument ("25-26"); roughly 20 years are available.
Configuration
Everything is optional — the server works with no configuration at all.
| Variable | Default | Purpose |
|---|---|---|
MAXPREPS_USER_AGENT |
built-in | Override the User-Agent sent to MaxPreps |
MAXPREPS_CACHE_TTL |
300 |
Seconds to reuse a fetched page; 0 disables |
MAXPREPS_MIN_INTERVAL_MS |
250 |
Minimum spacing between requests |
MAXPREPS_TIMEOUT_MS |
20000 |
Per-request timeout |
Things worth knowing
These are properties of MaxPreps' data, and each one has bitten a naive reading:
- Scores are winner-first in the raw data. MaxPreps renders a loss as
"L 20-13"even when the team scored 13. TheteamScore/opponentScorefields this server returns are always oriented team-vs-opponent. - Rosters and schedules carry hidden rows. A meaningful minority are flagged deleted and the site does not render them — the 2025-26 Myers Park football roster has 87 entries behind 63 visible players. They are excluded by default.
- An out-of-season team is not a broken one. Before opening day the current season legitimately has an empty roster and no results; ask for a prior season.
- Search is literal.
"myers park"finds the school;"myers park high"finds nothing. Drop qualifiers before concluding a school is absent. - Statewide scoreboards aren't available.
/<st>/<sport>/scores/renders its game list client-side from a route that has no server-rendered payload. Per-team schedules are the supported way to get scores;maxpreps_get_rankingsis the way to see a whole state's teams at once.
Shell-only alternative
The repo also ships a maxpreps skill (skills/maxpreps/) that reaches the same
data through curl + a small decoder, with no server to run. If you only ever use
Claude Code on one machine, the skill alone may be all you need; the MCP server is
what makes this reachable from claude.ai, a phone, or any other client.
Development
npm install
npm run build
npm test
docs/MAXPREPS-API.md pins the captured request/response shapes, the positional
key maps, and how to re-derive them if MaxPreps changes its bundle.
Etiquette
This reads an undocumented surface on someone else's site on behalf of one user. Requests are spaced and responses cached by default. Please keep it that way.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。