Statbotics

v1.2.0
io.github.withinfocus/statbotics Checked 3 days ago Published 3 months ago

Statbotics MCP Server

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

get_year

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…

ParameterTypeDescription
year *integerFour-digit year (2002 onwards)

get_years

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…

ParameterTypeDescription
ascendingbooleanWhether to sort in ascending order. Default is ascending.
limitintegerMaximum number of results to return (1-1000). Default is 1000.
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.

get_team

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 browsin…

ParameterTypeDescription
team *integerTeam number (no prefix), e.g. 86

get_teams

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`/`of…

ParameterTypeDescription
activebooleanWhether the team has played in the last year.
ascendingbooleanWhether to sort in ascending order. Default is ascending.
countrystringCapitalized country name, e.g. USA or Canada.
districtstringDistrict abbreviation. One of: ca, fch, fim, fin, fit, fma, fnc, fsc, isr, ne, ont, pch, pnw, win.
limitintegerMaximum number of results to return (1-1000). Default is 1000.
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.
statestringCapitalized two-letter state code, e.g. NC.

get_team_year

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.

ParameterTypeDescription
team *integerTeam number (no prefix), e.g. 86
year *integerFour-digit year (2002 onwards)

get_team_years

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 2…

ParameterTypeDescription
ascendingbooleanWhether to sort in ascending order. Default is ascending.
countrystringCapitalized country name, e.g. USA or Canada.
districtstringDistrict abbreviation. One of: ca, fch, fim, fin, fit, fma, fnc, fsc, isr, ne, ont, pch, pnw, win.
limitintegerMaximum number of results to return (1-1000). Default is 1000.
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.
statestringCapitalized two-letter state code, e.g. NC.
teamintegerTeam number (no prefix), e.g. 86
yearintegerFour-digit year (2002 onwards)

get_event

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,…

ParameterTypeDescription
event *stringEvent key, e.g. 2024flor

get_events

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, offseason), 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…

ParameterTypeDescription
ascendingbooleanWhether to sort in ascending order. Default is ascending.
countrystringCapitalized country name, e.g. USA or Canada.
districtstringDistrict abbreviation. One of: ca, fch, fim, fin, fit, fma, fnc, fsc, isr, ne, ont, pch, pnw, win.
limitintegerMaximum number of results to return (1-1000). Default is 1000.
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.
statestringCapitalized two-letter state code, e.g. NC.
typestringOne of: regional, district, district_cmp, champs_div, einstein, or offseason.
weekintegerWeek of the competition season. 8 is CMP.
yearintegerFour-digit year (2002 onwards)

get_team_event

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.

ParameterTypeDescription
event *stringEvent key, e.g. 2024flor
team *integerTeam number (no prefix), e.g. 86

get_team_events

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, offseason), 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 t…

ParameterTypeDescription
ascendingbooleanWhether to sort in ascending order. Default is ascending.
countrystringCapitalized country name, e.g. USA or Canada.
districtstringDistrict abbreviation. One of: ca, fch, fim, fin, fit, fma, fnc, fsc, isr, ne, ont, pch, pnw, win.
eventstringEvent key, e.g. 2024flor
limitintegerMaximum number of results to return (1-1000). Default is 1000.
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.
statestringCapitalized two-letter state code, e.g. NC.
teamintegerTeam number (no prefix), e.g. 86
typestringOne of: regional, district, district_cmp, champs_div, einstein, or offseason.
weekintegerWeek of the competition season. 8 is CMP.
yearintegerFour-digit year (2002 onwards)

get_match

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…

ParameterTypeDescription
match *stringMatch key, e.g. 2024flor_qm20

get_matches

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". For per-team m…

ParameterTypeDescription
ascendingbooleanWhether to sort in ascending order. Default is ascending.
elimbooleanWhether the match is an elimination match.
eventstringEvent key, e.g. 2024flor
limitintegerMaximum number of results to return (1-1000). Default is 1000.
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.
teamintegerTeam number (no prefix), e.g. 86
weekintegerWeek of the competition season. 8 is CMP.
yearintegerFour-digit year (2002 onwards)

get_team_match

Get a single team's contribution to a single FIRST Robotics Competition (FRC) match - the per-robot view of one match. Returns which alliance the team was on (red/blue), the team's EPA going into the match, the team's predicted score contribution by component, and post-match outcome flags. Useful for scouting and post-match analysis: "how much did team 2056 contribute to alliance score in 2024onham_sf2m1?". Requires both `team` (integer, no prefix) and `match` (match key like "2024flor_qm20"). For listing many team-match rows, use get_team_matches.

ParameterTypeDescription
match *stringMatch key, e.g. 2024flor_qm20
team *integerTeam number (no prefix), e.g. 86

get_team_matches

List per-team match contributions across many FIRST Robotics Competition (FRC) matches. Each row is one team's involvement in one match (alliance, pre-match EPA, predicted contribution, outcome). Filter by `team` (one team's entire match log), `year`, `event`, `week` (0-8), `match` (a single match key - returns one row per team in that match), and `elim` (true for elimination matches only). Sort with `metric`/`ascending` and paginate with `limit`/`offset`. Use this to build a scouting timeline ("every match team 254 played in 2024 with their EPA contribution"), compare alliance partners, or co…

ParameterTypeDescription
ascendingbooleanWhether to sort in ascending order. Default is ascending.
elimbooleanWhether the match is an elimination match.
eventstringEvent key, e.g. 2024flor
limitintegerMaximum number of results to return (1-1000). Default is 1000.
matchstringMatch key, e.g. 2024flor_qm20
metricstringHow to sort the returned values. Any column in the table is valid.
offsetintegerOffset from the first result to return.
teamintegerTeam number (no prefix), e.g. 86
weekintegerWeek of the competition season. 8 is CMP.
yearintegerFour-digit year (2002 onwards)