npm @withinfocus/tba-mcp-serverstdioMITupdated 11d ago
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.
The Blue Alliance で何ができる?
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)
npm install -g @withinfocus/tba-mcp-server
Docker
Pull the image from GitHub Container Registry:
docker pull ghcr.io/withinfocus/tba-mcp-server:latest
Or build locally:
git clone https://github.com/withinfocus/tba-mcp-server.git
cd tba-mcp-server
docker build -t tba-mcp-server .
Configuration
-
Get an API key from The Blue Alliance
-
Set your API key as an environment variable:
export TBA_API_KEY=your_api_key_here
Or create a .env file:
TBA_API_KEY=your_api_key_here
Usage
With npm
Add to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"tba": {
"command": "npx",
"args": ["-y", "@withinfocus/tba-mcp-server"],
"env": {
"TBA_API_KEY": "your_api_key_here"
}
}
}
}
With Docker
Add to your MCP client configuration:
{
"mcpServers": {
"tba": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--init",
"-e",
"TBA_API_KEY=your_api_key_here",
"ghcr.io/withinfocus/tba-mcp-server:latest"
]
}
}
}
Or run directly:
docker run --rm -i --init \
-e TBA_API_KEY=your_api_key_here \
ghcr.io/withinfocus/tba-mcp-server:latest
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
// Get detailed team profile
get_team(team_key: "frc86")
// Get team's events in a year
get_team_events(team_key: "frc86", year: 2024)
// Get team's awards
get_team_awards(team_key: "frc86", year: 2024)
Analyze an event
// Get event details
get_event(event_key: "2024casj")
// Get participating teams
get_event_teams(event_key: "2024casj")
// Get rankings
get_event_rankings(event_key: "2024casj")
// Get elimination alliances
get_event_alliances(event_key: "2024casj")
Get match data
// Get detailed match information
get_match(match_key: "2024casj_qm1")
// Get robot tracking data (if available)
get_match_zebra(match_key: "2024casj_qm1")
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
インストール
The Blue Alliance をクライアントに追加します。お使いのものを選んでください。
claude mcp add tba-mcp-server -- npx -y @withinfocus/tba-mcp-servercodex mcp add tba-mcp-server -- npx -y @withinfocus/tba-mcp-serveramp mcp add tba-mcp-server -- npx -y @withinfocus/tba-mcp-server{
"mcpServers": {
"tba-mcp-server": {
"command": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"tba-mcp-server": {
"command": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"tba-mcp-server","command":"npx","args":["-y","@withinfocus/tba-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"tba-mcp-server": {
"command": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"tba-mcp-server": {
"command": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"tba-mcp-server": {
"command": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"tba-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"tba-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@withinfocus/tba-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @withinfocus/tba-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
スコア
39 / 100
情報不足
- ドキュメント25/25
- メンテナンス25/25
- 信頼性13/20
- 機能0/15
- 導入のしやすさ12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 4 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 1.4.0最新 | 2026年8月7日 |
| 1.3.0 | 2026年4月29日 |
| 1.2.2 | 2026年3月6日 |
| 1.2.1 | 2026年3月6日 |
| 1.2.0 | 2026年2月27日 |
| 1.1.0 | 2026年1月17日 |
| 1.0.4 | 2026年1月17日 |
| 1.0.3 | 2025年12月27日 |
| 1.0.2 | 2025年12月26日 |
| 1.0.1 | 2025年12月20日 |
| 0.3.2 | 2025年12月6日 |