MaxPreps API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read MaxPreps. No MaxPreps API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/maxpreps.md and add Bowmark's MaxPreps MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-maxpreps https://api.bowmark.ai/mcp/site/maxprepsPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-maxpreps": {
"url": "https://api.bowmark.ai/mcp/site/maxpreps"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-maxpreps","type":"http","url":"https://api.bowmark.ai/mcp/site/maxpreps"}'Run this in a terminal.
codex mcp add bowmark-maxpreps --url https://api.bowmark.ai/mcp/site/maxprepsIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/maxprepsIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/maxprepsAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/maxprepsFunctions
Open a function to see its parameters and run it with your own API key.
getSchoolReads a school's MaxPreps home page: address, association, athletic director, colours, sports and its upcoming/recent games.POST /v1/sites/maxpreps/getSchool
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/maxpreps/getSchool \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"<url>"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.maxpreps.getSchool("<url>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.maxpreps.getSchool("<url>"))Responsereturns MaxprepsSchoolDetailinterface MaxprepsGameTeam { school: string; score: number | null; // null until the game has a result result: string | null; record: string | null; // "2-2" } interface MaxprepsGame { contestId: string; date: string | null; // local ISO timestamp sport: string | null; gender: string | null; level: string | null; // "Varsity", "JV" hasResult: boolean; teams: MaxprepsGameTeam[]; url: string; } interface MaxprepsSchoolDetail { schoolId: string; name: string; mascot: string | null; address: string | null; city: string | null; state: string | null; zip: string | null; phone: string | null; association: string | null; athleticDirector: string | null; colors: string[]; about: string | null; website: string | null; sports: string[]; games: MaxprepsGame[]; // upcoming and recent url: string; }searchAthletesSearches high-school athletes by name, the site's search page athletes tab.POST /v1/sites/maxpreps/searchAthletes
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/maxpreps/searchAthletes \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"Bryce Underwood"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.maxpreps.searchAthletes("Bryce Underwood");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.maxpreps.searchAthletes("Bryce Underwood"))Responsereturns MaxprepsAthletePageinterface MaxprepsAthlete { careerId: string; name: string; sports: string[]; // "Boys Football" graduatingClass: number | null; school: string | null; // "Belleville (MI)" state: string | null; url: string; } interface MaxprepsAthletePage { results: MaxprepsAthlete[]; total: number | null; // null: the site publishes no result count page: number; pageCount: number | null; returned: number; warnings: string[]; }searchSchoolsSearches high schools by name, the site's search page schools tab.POST /v1/sites/maxpreps/searchSchools
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/maxpreps/searchSchools \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"Mater Dei"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.maxpreps.searchSchools("Mater Dei");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.maxpreps.searchSchools("Mater Dei"))Responsereturns MaxprepsSchoolPageinterface MaxprepsSchool { schoolId: string; name: string; city: string | null; state: string | null; // two-letter code zip: string | null; mascot: string | null; url: string; // pass to getSchool } interface MaxprepsSchoolPage { results: MaxprepsSchool[]; total: number | null; // null: the site publishes no result count page: number; pageCount: number | null; returned: number; warnings: string[]; }