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.

Functions

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>"}'
    Sign in to run
    Responsereturns MaxprepsSchoolDetail
    interface 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"}'
    Sign in to run
    Responsereturns MaxprepsAthletePage
    interface 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"}'
    Sign in to run
    Responsereturns MaxprepsSchoolPage
    interface 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[];
    }