statbotics
Statbotics MCP 服务器
一个模型上下文协议 (MCP) 服务器,提供对 FIRST 机器人竞赛 (FRC) 统计数据和预测的 Statbotics API 访问权限。使 AI 助手和其他 MCP 客户端能够检索 FRC 队伍 EPA 评分、赛事预测和比赛分析。
功能
队伍统计:获取 FRC 队伍的 EPA 评分、胜率和历史表现
赛事数据:访问赛事详情、预测以及队伍在赛事中的表现
比赛分析:检索比赛预测、结果和队伍级别的比赛统计数据
年度数据:查询从 2002 年至今的统计趋势
类型安全:所有响应均通过 Zod 模式进行验证
无需 API 密钥:Statbotics API 可免费访问
Related MCP server: StatsPlus MCP Server
安装
npm (推荐)
npm install -g @withinfocus/statbotics-mcp-serverDocker
从 GitHub 容器注册表拉取镜像:
docker pull ghcr.io/withinfocus/statbotics-mcp-server:latest或在本地构建:
git clone https://github.com/withinfocus/statbotics-mcp-server.git
cd statbotics-mcp-server
docker build -t statbotics-mcp-server .使用方法
使用 npm
添加到您的 MCP 客户端配置中(例如 Claude Desktop):
{
"mcpServers": {
"statbotics": {
"command": "npx",
"args": ["-y", "@withinfocus/statbotics-mcp-server"]
}
}
}使用 Docker
添加到您的 MCP 客户端配置中:
{
"mcpServers": {
"statbotics": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--init",
"ghcr.io/withinfocus/statbotics-mcp-server:latest"
]
}
}
}可用工具
年度工具 (2 个工具)
查询赛季级别的统计数据。
工具:get_year, get_years
队伍工具 (2 个工具)
访问队伍资料和 EPA 评分。
工具:get_team, get_teams
队伍年度工具 (2 个工具)
获取特定赛季的队伍统计数据。
工具:get_team_year, get_team_years
赛事工具 (2 个工具)
查询赛事详情和预测。
工具:get_event, get_events
队伍赛事工具 (2 个工具)
获取队伍在特定赛事中的表现。
工具:get_team_event, get_team_events
比赛工具 (2 个工具)
检索比赛数据和预测。
工具:get_match, get_matches
队伍比赛工具 (2 个工具)
获取队伍级别的比赛统计数据。
工具:get_team_match, get_team_matches
快速示例
获取队伍信息
// 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)分析赛事
// Get event statistics
get_event(event: "2024flor")
// Get all team performances at an event
get_team_events(event: "2024flor")获取比赛数据
// 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")贡献
欢迎贡献!请参阅 CONTRIBUTING.md 了解开发设置、测试指南以及如何添加新工具。
相关链接
Statbotics - FRC 统计分析
Statbotics API 文档 - 官方 API 文档
模型上下文协议 - MCP 规范
FIRST 机器人竞赛 - FRC 官方网站
Available Tools
12 toolsget_eventGet FRC Event Details (Single Event)ARead-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 EventsARead-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)ARead-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 MatchesARead-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)ARead-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)ARead-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 RecordsARead-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 TeamsARead-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)ARead-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 StatsARead-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)ARead-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)ARead-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
Scored across 12 tools
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.
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.
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.
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
Related MCP Connectors
Live sports stats and pre-computed analysis for AI assistants across NBA, MLB, NFL, and NHL.
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.
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
Related MCP Servers
- AlicenseAqualityBmaintenanceThe Blue Alliance MCP server using its API for FIRST Robotics Competition data. Retrieve comprehensive FRC team, event, and match information.89611 npm1MIT
- AlicenseAqualityDmaintenanceExposes the StatsPlus API as tools for MCP-compatible clients, enabling users to query player/team statistics, contracts, ratings, and game history via natural language.155MIT
- AlicenseNot gradedqualityCmaintenanceProvides access to official MLB statistics via a keyless API, enabling AI agents to query MLB data through natural language or direct tools.73 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides 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