Skip to main content
Glama

Statbotics MCP-Server

Ein Model Context Protocol (MCP)-Server, der Zugriff auf die Statbotics-API für statistische Daten und Vorhersagen zum FIRST Robotics Competition bietet. Ermöglicht KI-Assistenten und anderen MCP-Clients den Abruf von FRC-Team-EPA-Bewertungen, Veranstaltungsvorhersagen und Spielanalysen.

Funktionen

  • Team-Statistiken: Abruf von EPA-Bewertungen, Gewinnraten und historischer Leistung für FRC-Teams

  • Veranstaltungsdaten: Zugriff auf Veranstaltungsdetails, Vorhersagen und Teamleistung bei Veranstaltungen

  • Spielanalysen: Abruf von Spielvorhersagen, Ergebnissen und Spielstatistiken auf Teamebene

  • Jahresvergleichsdaten: Abfrage statistischer Trends von 2002 bis zum aktuellen Jahr

  • Typsicherheit: Alle Antworten werden mit Zod-Schemas validiert

  • Kein API-Schlüssel erforderlich: Die Statbotics-API ist frei zugänglich

Related MCP server: StatsPlus MCP Server

Installation

npm (Empfohlen)

npm install -g @withinfocus/statbotics-mcp-server

Docker

Laden Sie das Image aus der GitHub Container Registry:

docker pull ghcr.io/withinfocus/statbotics-mcp-server:latest

Oder lokal erstellen:

git clone https://github.com/withinfocus/statbotics-mcp-server.git
cd statbotics-mcp-server
docker build -t statbotics-mcp-server .

Verwendung

Mit npm

Fügen Sie dies Ihrer MCP-Client-Konfiguration hinzu (z. B. Claude Desktop):

{
  "mcpServers": {
    "statbotics": {
      "command": "npx",
      "args": ["-y", "@withinfocus/statbotics-mcp-server"]
    }
  }
}

Mit Docker

Fügen Sie dies Ihrer MCP-Client-Konfiguration hinzu:

{
  "mcpServers": {
    "statbotics": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--init",
        "ghcr.io/withinfocus/statbotics-mcp-server:latest"
      ]
    }
  }
}

Verfügbare Tools

Jahres-Tools (2 Tools)

Abfrage statistischer Daten auf Saisonebene.

Tools: get_year, get_years

Team-Tools (2 Tools)

Zugriff auf Teamprofile und EPA-Bewertungen.

Tools: get_team, get_teams

Team-Jahres-Tools (2 Tools)

Abruf von Teamstatistiken für bestimmte Saisons.

Tools: get_team_year, get_team_years

Veranstaltungs-Tools (2 Tools)

Abfrage von Veranstaltungsdetails und Vorhersagen.

Tools: get_event, get_events

Team-Veranstaltungs-Tools (2 Tools)

Abruf der Teamleistung bei bestimmten Veranstaltungen.

Tools: get_team_event, get_team_events

Spiel-Tools (2 Tools)

Abruf von Spieldaten und Vorhersagen.

Tools: get_match, get_matches

Team-Spiel-Tools (2 Tools)

Abruf von Spielstatistiken auf Teamebene.

Tools: get_team_match, get_team_matches

Kurze Beispiele

Teaminformationen abrufen

// Get team EPA ratings and statistics
get_team(team: 86)

// Get team's performance in a specific year
get_team_year(team: 86, year: 2024)

Eine Veranstaltung analysieren

// Get event statistics
get_event(event: "2024flor")

// Get all team performances at an event
get_team_events(event: "2024flor")

Spieldaten abrufen

// Get match predictions and results
get_match(match: "2024flor_qm20")

// Get team's performance in a match
get_team_match(team: 86, match: "2024flor_qm20")

Mitwirken

Beiträge sind willkommen! Siehe CONTRIBUTING.md für die Entwicklungseinrichtung, Testrichtlinien und wie man neue Tools hinzufügt.

Available Tools

12 tools
get_eventGet FRC Event Details (Single Event)A
Read-onlyIdempotent

Look up a single FIRST Robotics Competition (FRC) event by its event key. Returns metadata (event name, year, week, type, location, dates, district), aggregate EPA stats for participating teams, qualification and playoff status, and Statbotics predictions for the event (e.g. winner probabilities). Event keys follow the format <year><event-code>, e.g. "2024flor" (FLOR = Orlando regional 2024), "2024necmp" (New England district championship 2024), "2024cmptx" (Houston champs 2024). Use this to answer "what happened at 2024flor?", "show predictions for 2024cmptx", or to get context (week, type, location) for an event you have the key for. For browsing events by season, district, or week, use get_events.

Inputs: event (required).

get_eventsList/Search FRC EventsA
Read-onlyIdempotent

List FIRST Robotics Competition (FRC) events with optional filters - the discovery tool for finding event keys and browsing the season schedule. Returns an array of events with name, key, dates, location, week, type, EPA stats, and predictions. Filter by year (4-digit, >=2002), country, state, district, type (regional, district, district_cmp, champs_div, einstein), and week (0-8 of the season; 8 = championship). Sort with metric/ascending and paginate with limit/offset. Use this to answer "what regionals were in California in 2024?", "list all week 1 events this year", or "find the FRC championship divisions" (year=YEAR, type="champs_div"). If you need a single event you already know, use get_event.

Inputs: type, week, year, limit, +6 more.

get_matchGet FRC Match Details (Single Match)A
Read-onlyIdempotent

Look up a single FIRST Robotics Competition (FRC) match by its match key. Returns full match detail: red and blue alliance team lists, final scores by alliance and component (auto, teleop, endgame, fouls), ranking points awarded, win/tie outcome, the Statbotics pre-match win probability and predicted score, and elimination flag. Match keys follow the format <event-key>_<match-code>, e.g. "2024flor_qm20" (qualification match 20), "2024flor_sf2m1" (semifinal 2 match 1), "2024flor_f1m3" (finals match 3). Use this to answer "who won 2024flor_qm20?", "what was the predicted vs actual score?", or to get alliance compositions for a known match. For browsing many matches, use get_matches.

Inputs: match (required).

get_matchesList/Search FRC MatchesA
Read-onlyIdempotent

List FIRST Robotics Competition (FRC) matches with optional filters. Returns an array of match records (alliances, scores, predictions, EPA-based win probabilities, elim flag). Filter by team (every match a team played in), year, event (every match at one event), week (0-8), and elim (true for playoff/elimination matches only, false for qualifications only). Sort with metric/ascending and paginate with limit/offset. Use this to answer "show all of team 254's matches in 2024", "list every elim match at 2024cmptx", or "find the highest-scoring matches of week 6".

Inputs: elim, team, week, year, +5 more.

get_teamGet FRC Team Profile (Single Team)A
Read-onlyIdempotent

Look up the Statbotics profile for a single FIRST Robotics Competition (FRC) team by team number. Returns lifetime/career data for that team: team name, rookie year, location (city, state/province, country), active status, current and historical EPA ratings, normalized EPA (norm_epa), career win/loss/tie record, and career win rate. Use this to answer "tell me about FRC team 254", "where is team 2056 based?", or "what is team 1678's career EPA?". The team number is the bare integer with no FRC/frc prefix (e.g. 86, not "frc86"). For per-season detail, use get_team_year. For filtering or browsing many teams, use get_teams.

Inputs: team (required).

get_team_eventGet FRC Team Performance at Event (Single Team-Event)A
Read-onlyIdempotent

Get one team's performance at one specific FIRST Robotics Competition (FRC) event. Returns the team's qualification rank, qualification record (W-L-T), playoff alliance and result, EPA at this event (start, end, mean, breakdown by score component), and award list. Requires both team (integer, no prefix) and event (event key like "2024flor"). Use this to answer "how did team 2056 do at 2024onham?", "what was team 254's EPA at champs?", or "what awards did team 1114 win at their district championship?". For browsing many team-event combinations, use get_team_events.

Inputs: team (required), event (required).

get_team_eventsList/Search FRC Team-Event RecordsA
Read-onlyIdempotent

List FIRST Robotics Competition (FRC) team-event records with flexible filters. Each row represents one team's performance at one event (rank, record, EPA, awards). Filter any combination of team (one team across all events), year, event (all teams at one event - great for getting an event's full team list with stats), country, state, district, type (regional, district, district_cmp, champs_div, einstein), and week (0-8). Sort with metric/ascending and paginate with limit/offset. Use this to answer "show every event team 254 has attended in 2024", "list all teams at 2024flor with their ranks", or "rank teams by EPA across all 2024 district championships".

Inputs: team, type, week, year, +8 more.

get_teamsList/Search FRC TeamsA
Read-onlyIdempotent

List FIRST Robotics Competition (FRC) teams from the Statbotics database with optional filters. Returns an array of team profiles (number, name, location, rookie year, active flag, career EPA stats, career win rate). Filter by country (e.g. "USA", "Canada"), state (two-letter code, e.g. "NC", "CA"), district (one of ca, fch, fim, fin, fit, fma, fnc, fsc, isr, ne, ont, pch, pnw, win), and active (true to limit to teams that competed in the last year). Sort with metric/ascending (e.g. metric="norm_epa", ascending=false to find the strongest active teams) and paginate with limit/offset. Use this to answer "which teams in Texas are most successful?", "list all teams in the FIM district", or "find the top 50 teams by normalized EPA".

Inputs: limit, state, active, metric, +4 more.

get_team_yearGet FRC Team Season Stats (Single Team-Year)A
Read-onlyIdempotent

Get one team's performance summary for one specific FIRST Robotics Competition (FRC) season. Returns the team's EPA breakdown for that year (start, pre-playoffs, end, max, mean, ranks/percentiles), win/loss/tie record and win rate, count and list of events attended, district points, and award totals. Use this to answer "how did team 2056 do in 2023?", "what was team 254's peak EPA in 2018?", or "how many events did team 1114 attend in 2024?". Requires both team number (integer, no prefix) and a 4-digit year >= 2002. For multi-team or multi-year browsing, use get_team_years.

Inputs: team (required), year (required).

get_team_yearsList/Search FRC Team Season StatsA
Read-onlyIdempotent

List per-season FIRST Robotics Competition (FRC) team statistics with flexible filters - useful for cross-team or cross-year analysis. Returns an array of team-year records (each row is one team's stats for one season: EPA, record, ranks, awards, district points). Filter by team (a single team across many seasons), year (all teams in one season), country, state, and district. Combine filters - e.g. team+year is equivalent to get_team_year. Sort with metric/ascending and paginate with limit/offset. Use this to answer "show team 254 in every season", "rank all teams by EPA in 2023", or "find the strongest teams in the New England district in 2024".

Inputs: team, year, limit, state, +5 more.

get_yearGet FRC Season Statistics (Single Year)A
Read-onlyIdempotent

Look up Statbotics season summary statistics for a single FIRST Robotics Competition (FRC) year. Returns aggregate metrics for the game played that year: EPA (Expected Points Added) percentile breakpoints (mean, median, 75th/90th/95th/99th), score component averages, foul rates, RP (ranking point) rates, and the count of teams, events, and matches recorded. Use this to answer questions like "what was the average score in the 2024 FRC season?", "what EPA put a team in the top 10% in 2019?", or to calibrate per-year scoring before comparing teams across seasons. Data is available for years 2002 onward; pre-2016 seasons have less detail because the EPA model was less granular. For comparing many seasons in one call, use get_years instead.

Inputs: year (required).

get_yearsList FRC Season Statistics (Multiple Years)A
Read-onlyIdempotent

List Statbotics season summary statistics across multiple FIRST Robotics Competition (FRC) years in a single call. Returns the same per-season aggregates as get_year (EPA percentiles, scoring averages, foul/RP rates, counts) but as an array, with optional sorting and pagination. Use this to chart trends over time, e.g. "how have average match scores evolved from 2002 to today?", "which seasons had the highest top-1% EPA?", or to dump the full season catalog for downstream analysis. Sort with metric (any returned column name, e.g. epa_max, score_mean) and ascending; paginate with limit (1-1000, default 1000) and offset.

Inputs: limit, metric, offset, ascending.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 12 tools

    Disambiguation5/5

    Singular get_* tools fetch one known entity by key, while plural get_*s tools list or filter collections. Descriptions explicitly route browsing to plural tools and single lookup to singular tools, and the entity levels (team, team-year, team-event, event, match, year) are clearly separated.

    Naming Consistency5/5

    All 12 tools follow a consistent get_<resource> snake_case pattern, with plural suffixes used for collection endpoints and clear compound nouns like team_year and team_event. There are no mixed conventions or vague verbs.

    Tool Count5/5

    The 12 tools map cleanly to six core resource types with single-lookup and collection variants. This is well-scoped for a read-only stats API and stays within the typically appropriate 3-15 range.

    Completeness5/5

    The surface covers teams, team-seasons, events, team-events, matches, and season summaries, each with both single lookup and filtered list access. Cross-entity filters, sorting, and pagination cover the main analytic workflows, leaving no obvious retrieval gap for the Statbotics domain.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    • Live sports stats and pre-computed analysis for AI assistants across NBA, MLB, NFL, and NHL.

      https://mcp.statshawk.ai/mcp
    • Remote MCP server for live sports data. Ask for scores, standings, player stats and Elo ratings across 9 sports directly from Claude or any MCP client. Backed by the Big Balls Sports API, with one unified schema for every sport.

      https://mcp.bigballsdata.com/mcp
    • Provide detailed Pokémon data and information through a standardized MCP interface. Enable LLMs an…

    • Independent statistical feature evaluation for machine learning and forecasting. ML Referee tests up to 1,000 candidate features in one run against a declared baseline, helping researchers and AI agents decide which inputs to pursue, which bounded feature repairs merit further testing, and where more evidence is needed—without a separate ablation run for every feature. Use the MCP tools to discover input schemas, check access and credits, preflight a dataset, obtain a quote, submit an authorized evaluation, and retrieve structured results and reports. Results are scoped to the submitted evidence and evaluation design; they do not guarantee future model performance. Invite-only beta with manual approval. Public tool discovery requires no authentication; account and evaluation tools require OAuth through approved client connections and available evaluation credits. Connect directly to https://api.mlreferee.com/mcp. Website: https://mlreferee.com Request beta access: https://mlreferee.com/beta Agent setup and documentation: https://mlreferee.com/agents

      https://api.mlreferee.com/mcp

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      The Blue Alliance MCP server using its API for FIRST Robotics Competition data. Retrieve comprehensive FRC team, event, and match information.
      89
      611 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Exposes the StatsPlus API as tools for MCP-compatible clients, enabling users to query player/team statistics, contracts, ratings, and game history via natural language.
      15
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides access to official MLB statistics via a keyless API, enabling AI agents to query MLB data through natural language or direct tools.
      73 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides verified NFL stats (2016–2025) and Sleeper league context through an MCP server, with tools for querying metrics, comparing entities, verifying claims, and accessing league data.
      MIT