
The Blue Alliance
io.github.withinfocus由 GitHub 帳號 withinfocus 發布v1.4.0更新於 Oct 24, 2026
The Blue Alliance MCP Server
概覽
讓助理查詢 The Blue Alliance 的 FIRST 機器人競賽資料:隊伍、賽事、比賽、排名、獎項與賽區。
- 可以做什麼
- 把 The Blue Alliance API 包裝成 35 個以上的唯讀工具。可取得隊伍資料、參賽歷史、獎項與媒體;賽事詳情、參賽隊伍、排名、比賽與淘汰聯盟;比賽比分與細項;以及賽區排名與賽事。歷史資料可追溯至 1992 年,回應以 Zod 結構描述驗證。
- 適用情境
- 適合讓助理回答關於 FRC 隊伍、賽季、賽事或比賽結果的問題,或在不離開對話的情況下取得競賽資料進行分析。
- 執行需求
- 透過 stdio 在本機執行,通常使用 npm 套件 @withinfocus/tba-mcp-server(需要 Node.js)或已發佈的 Docker 映像。需要 The Blue Alliance API 金鑰,透過環境變數 TBA_API_KEY 提供,並需要連線至 The Blue Alliance API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 The Blue Alliance,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
The Blue Alliance MCP Server
A Model Context Protocol (MCP) server that provides access to The Blue Alliance API for FIRST Robotics Competition data. Enables AI assistants and other MCP clients to retrieve comprehensive FRC team, event, and match information.
Features
- Team Information: Get detailed team profiles, participation history, awards, and media
- Event Data: Access event details, rankings, matches, and elimination alliances
- Match Results: Retrieve match data with scores, alliances, and breakdowns
- Historical Data: Query data from 1992 to the current year
- Type Safety: All responses validated with Zod schemas
- Comprehensive Coverage: 35+ tools covering all major TBA API endpoints
Installation
npm (Recommended)
Docker
Pull the image from GitHub Container Registry:
Or build locally:
Configuration
-
Get an API key from The Blue Alliance
-
Set your API key as an environment variable:
Or create a .env file:
Usage
With npm
Add to your MCP client configuration (e.g., Claude Desktop):
With Docker
Add to your MCP client configuration:
Or run directly:
Available Tools
Team Information (24 tools)
Access comprehensive team data including profiles, participation history, events, matches, awards, and media.
Key tools: get_team, get_team_events, get_team_matches, get_team_awards, get_team_media
Event Information (19 tools)
Query event details, participants, rankings, matches, and analytics.
Key tools: get_event, get_events, get_event_teams, get_event_rankings, get_event_matches, get_event_oprs
Match Information (3 tools)
Retrieve detailed match data including scores, alliances, and robot tracking.
Key tools: get_match, get_match_simple, get_match_zebra
District Tools (8 tools)
Access district rankings, events, and team information.
Key tools: get_districts, get_district_rankings, get_district_events, get_district_teams
General/Utility Tools (6 tools)
Paginated team listings and API status information.
Key tools: get_teams, get_teams_by_year, get_status
Complete Documentation
- All Tools - Complete reference for all 35+ tools with parameters and examples
- Data Schemas - Detailed schema documentation for all response types
Quick Examples
Get team information
Analyze an event
Get match data
Contributing
Contributions are welcome! See CONTRIBUTING.md for development setup, testing guidelines, and how to add new tools.
Related Links
- The Blue Alliance - Official FRC data source
- TBA API Documentation - Official API docs
- Model Context Protocol - MCP specification
- FIRST Robotics Competition - Official FRC site
來源:README.md,提交 1be89a9
工具
0版本歷史
1- v1.4.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分