Hudl Volleyball MCP Server
Exports volleyball match actions and player statistics in compact formats compatible with pandas DataFrames for further analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hudl Volleyball MCP Server diagnose our P4 rotation sideout issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🏐 Hudl Volleyball MCP Server (hudl-volleyball-mcp)
A 5/5 production-grade Model Context Protocol (MCP) server that connects AI clients (Claude Desktop, Cursor, Antigravity, or custom LLM agents) to Hudl and Balltime volleyball analytics.
Transform your AI into a Staff Volleyball Performance Analyst capable of scouting opponents, diagnosing rotation breakdowns (P1–P6), analyzing serve-receive stability, generating box scores, and exporting event-by-event touches directly to DataVolley (.dvw) and Pandas.
⚖️ Legal Disclaimer
This is an independent, open-source community project and is not affiliated with, maintained by, authorized by, or endorsed by Hudl, Agile Sports Technologies, Volleymetrics, or Balltime.
All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them. This integration operates under a strict, client-side, read-only policy to access data belonging to your authenticated team account.
🌟 Why Coaches & Analysts Love This Server
🛡️ Zero Password Storage: Interactive browser login (
login_to_hudl) lets you log in via 1Password, Bitwarden, Apple/Google SSO, or 2FA. Your password is never stored or seen by the AI or environment files.📦 1-Click
.mcpbInstallation: Distribute a single double-clickable.mcpbbundle that non-technical coaches can install into Claude Desktop without touching a terminal.⚡ Zero-Setup
uvx: Run instantly viauvx mcp-hudl-volleyballwithout manually managing virtual environments or dependencies.🪟 Context-Window Optimized: Strips bloated API metadata and UI JSON dumps. Tools return either clean Markdown tables or token-efficient compact dictionaries (
output_format="markdown"or"compact").🛡️ Defensive Networking & Account Protection:
Strict Read-Only: Enforces zero mutation policy; any mutating request is immediately blocked before transmission.
Rate Limiting: Built-in 2 requests/second token bucket rate limiter with jittered exponential backoff on HTTP 429/5xx.
Multi-Tier Disk Caching: 7-day persistent cache for match box scores and play-by-play touches; 15-minute cache for schedules and team rosters.
🏐 Volleyball Domain Semantics: Native support for Rotations P1 through P6, setter distribution, First-Ball Sideout (FBSO), and DataVolley
.dvwskill codes (S,R,E,A,B,D,F) and evaluation codes (#,+,!,-,=).🤖 5 Built-In FastMCP Prompts (
@mcp.prompt): Pre-packaged, professional coaching workflows for opponent scouting, rotation diagnostics, MVP evaluation, DataVolley export, and serve-receive audits.
Related MCP server: ValorLens
🚀 Quick Start & Installation
Option 1: 1-Click MCP Bundle (.mcpb) for Claude Desktop (Recommended for Coaches)
No terminal or programming required!
Download the latest
hudl-volleyball-mcp.mcpbbundle from the GitHub Releases page.Double-click the file, or open Claude Desktop > Settings > Extensions > Install Extension and select
hudl-volleyball-mcp.mcpb.In Claude Desktop chat, simply say:
"Log me into Hudl". A browser window opens to let you log in securely.
(Developers: To build the .mcpb bundle yourself, run npx @anthropic-ai/mcpb pack in the project root).
Option 2: Zero-Setup uvx (Recommended for Cursor & Terminal Users)
Requires Astral's ultra-fast uv. No virtual environment activation needed.
Claude Desktop Configuration
Add this to your claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hudl-volleyball": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/onnobos/hudle_volleyball_mcp.git",
"mcp-hudl-volleyball"
]
}
}
}Cursor IDE Configuration
In Cursor, open Settings > Features > MCP Servers > Add New MCP Server (or edit .cursor/mcp.json):
{
"mcpServers": {
"hudl-volleyball": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/onnobos/hudle_volleyball_mcp.git",
"mcp-hudl-volleyball"
]
}
}
}Option 3: Local Development Installation
# 1. Clone the repository
git clone https://github.com/onnobos/hudle_volleyball_mcp.git
cd hudl_mcp
# 2. Create and activate virtual environment
python3.11 -m venv .venv
source .venv/bin/activate
# 3. Install in editable mode with hatchling
pip install -e .
# 4. Install Playwright Chromium browser for interactive login
playwright install chromium🔐 Frictionless Authentication & Auto-Refresh
We believe coaches should never have to paste sensitive passwords into plain text files.
Interactive Pop-Up Browser Login (Zero Credential Storage)
In your AI chat, say:
"Log me into Hudl"(or trigger thelogin_to_hudltool).A visible Chromium browser pops up to
https://www.hudl.com/login.Log in with your password manager (1Password, Bitwarden, iCloud Keychain), Apple/Google SSO, or 2FA.
As soon as you reach
hudl.com/home, session tokens are automatically saved to your OS Keyring and~/.hudl_mcp/auth_state.json. The browser closes automatically.You stay logged in for weeks without touching credentials again.
Automatic 401 Re-Authentication
If your session ever expires while running queries, the server automatically attempts to refresh the session token, clears stale caches, and retries the request without failing your prompt.
🛠️ Available MCP Tools
Tool Name | Parameters | Description |
|
| Automatically discovers all teams on your Hudl account with team IDs, club/school names, and coach roles. |
|
| Lists recent volleyball matches with match IDs, dates, opponents, and set scores. |
|
| Retrieves official player box scores: Kills, Errors, Total Attacks, Hitting %, Assists, Aces, Digs, Blocks, and Points. |
|
| Analyzes rotations P1 through P6: sideout %, point-scoring %, first-ball sideout (FBSO), and setter distribution tendencies. |
|
| Retrieves event-by-event volleyball touches with video timestamps, start/dest zones, routes, blockers, and DataVolley |
|
| Opens interactive browser window to log in safely via password manager or SSO. |
| — | Refreshes session authentication tokens and resets cache. |
Format Tip: All data tools accept
output_format="markdown"(clean human-readable tables) oroutput_format="compact"(token-efficient minified JSON for large analytics queries).
🧠 FastMCP Coaching Prompts (@mcp.prompt)
The server exposes 5 built-in workflows that structure complex multi-step volleyball analysis:
scout_opponent(opponent_name): Searches matches, calculates offensive kill distributions, isolates weak sideout rotations, evaluates passer stability, and outputs a complete tactical game plan.analyze_rotation_weaknesses(match_id): Audits P1–P6 sideout efficiencies, detects unforced errors vs blocked attacks, assesses predictable setter choices, and suggests rotational adjustments.match_mvp_breakdown(match_id): Evaluates True Points, hitting efficiency, clutch performance in late-set situations (set score 20+), and selects Match MVP, Offensive Player, Defensive Anchor, and Unsung Hero.datavolley_export(match_id, set_number): Converts all video touches into standard DataVolley.dvwformat strings ready for import into scouting software.serve_receive_audit(match_id): Calculates passer ratings(3 * perfect + 2 * positive + 1 * medium) / total, setter in-system rates, and opponent serving heatmaps.
📊 OpenVolley & Pandas Compatibility
OpenVolley / DataVolley (.dvw) Syntax
All match touches retrieved via get_game_actions include DataVolley .dvw standard codes:
[Team (* or a)][Jersey (2 digits)][Skill (S/R/E/A/B/D)][Evaluation (#/+/!/-/=)][Zones/Combo]Skills:
S(Serve),R(Receive),E(Set),A(Attack),B(Block),D(Dig),F(Freeball)Evaluations:
#(Perfect / Kill / Ace),+(Positive),!(Medium),-(Poor / Negative),=(Error)
Python pandas Integration
Pass output_format="compact" to load match actions or player statistics directly into a Pandas DataFrame:
import json
import pandas as pd
from hudl_mcp.server import get_game_actions
# Retrieve touches in compact JSON format
raw_json = await get_game_actions(match_id="your-match-id", output_format="compact", limit=200)
df = pd.DataFrame(json.loads(raw_json))
# Filter in-system attack kills
kills = df[(df["action"] == "attack") & (df["quality"] == "kill")]
print(f"Total Kills: {len(kills)}, Pipe Kills: {len(kills[kills['route'] == 'pipe'])}")📋 5 Ready-to-Use Volleyball Scouting Prompts
Copy and paste these directly into Claude Desktop or Cursor:
1. Opponent Pre-Match Scouting Report
"We play Voléro this weekend. Run the
scout_opponentprompt for 'Voléro'. Find our last match against them, break down their top outside hitter's hitting percentage, identify their weakest sideout rotation, and recommend our serving targets."
2. Rotation Diagnostic & Sideout Droughts
"Analyze our rotation weaknesses for match
LUTRY. Which rotation had the lowest sideout percentage? Were the lost points caused by direct reception errors or blocked attacks? Recommend adjustments for our serve-receive formation."
3. Match MVP & Clutch Performance Breakdown
"Run the
match_mvp_breakdownworkflow for match123456. Calculate True Points and net point differential for each player. Who scored the most clutch kills after 20 points in Set 3? Name the Match MVP and Defensive Player of the Match."
4. Serve-Receive & Passer Stability Audit
"Perform a serve-receive audit on our last match. Calculate the 3-point passing efficiency rating for each passer:
(3*perfect + 2*positive + 1*medium) / attempts. Which rotation conceded the most aces?"
5. DataVolley Touch Export for Setter Distribution
"Export all attacks and sets from Set 2 of match
LUTRYinto DataVolley.dvwformat. Group setter distribution by pass quality (in-system vs out-of-system) and show attack kill rates from Zone 4, Zone 3, Zone 2, and the pipe."
🔒 Security & Strict Read-Only Policy
This server is designed for elite athletic programs that prioritize data security:
No Mutations: Operates exclusively in READ-ONLY mode. All GraphQL mutation keywords are intercepted and rejected with
HudlSecurityError. It cannot alter rosters, delete videos, or overwrite match data.Credential Isolation: Tokens are stored in OS Keyring or local user cache (
~/.hudl_mcp/). No passwords are committed to git or exposed to LLM context.WAF & Rate-Limit Shield: Token-bucket rate limiting (2 req/s) prevents aggressive LLM tool loops from triggering IP bans or rate limits.
🧪 Testing
Run the comprehensive unit test suite:
# Run all tests
pytest tests/ -v
# Run connection diagnostics against your live account
hudl-test📄 License
Distributed under the MIT License. See LICENSE for details.
Available Tools
7 toolsget_game_actionsA
Retrieve detailed tagged volleyball actions and touch events from a match/video breakdown.
Returns an event-by-event timeline including set number, score, video timestamp, player jersey/name, action type (serve, receive, set, attack, dig, block), result/quality (kill, error, ace, assist, in-play, rating), and tactical details (start/end zones, attack routes, blocker count, FBSO). Supports DataVolley (.dvw) skill codes (S, R, E, A, B, D, F) and evaluation codes (# Perfect/Kill/Ace, + Positive, ! Medium, - Poor, = Error).
Args: match_id: The unique match identifier, Balltime video ID, Hudl video hex ID, or match name/title. set_number: Optional set number (e.g. 1, 2, 3) to filter events to a specific set. action_type: Optional action filter: 'attack', 'serve', 'receive'/'pass', 'set', 'dig', 'block'. player: Optional player filter: jersey number (e.g. '17', '1') or player name. team: Optional team filter: 'a', 'b', or team name (e.g. 'Lutry' or 'Voléro'). quality: Optional quality/result filter: 'kill', 'error', 'ace', 'assist', 'in_play'. limit: Maximum number of events to return (default: 50). offset: Offset for paging through match events (default: 0). output_format: Output format: 'markdown' (table) or 'compact' (token-efficient JSON). force_refresh: If True, bypasses local 7-day disk cache and forces a live fetch.
Returns: A formatted table or compact JSON of tagged match actions and event statistics.
Inputs: match_id (required), team, limit, offset, +6 more. Returns: result
get_match_player_statsA
Fetch individual athlete box scores and volleyball statistics for a match.
Retrieves player stats, strips unnecessary UI metadata, ensures hitting percentage ((Kills - Errors) / Total Attacks) is accurately calculated, and formats the output into a clean, standard volleyball box score table or compact JSON including Kills (K), Attack Errors (E), Total Attacks (TA), Hitting % (Hit%), Assists (A), Service Aces (SA), Service Errors (SE), Digs (D), Block Solos (BS), Block Assists (BA), Total Blocks (TB), and Total Points (PTS).
Args: match_id: The unique Hudl match identifier (obtainable via list_volleyball_matches). team_id: Optional Hudl team ID to filter stats to a specific team. output_format: Output format: 'markdown' (standard box score table) or 'compact' (token-efficient JSON). force_refresh: If True, bypasses local 7-day disk cache and forces a live fetch.
Returns: A formatted volleyball box score table or compact JSON.
Inputs: match_id (required), team_id, force_refresh, output_format. Returns: result
get_rotation_breakdownA
Fetch tactical performance metrics broken down by volleyball rotation (P1 through P6).
Returns sideout efficiency (earned sideout points / total receive opportunities), point scoring percentage while serving, first-ball sideout (FBSO) conversion rates, and setter distribution tendencies for each rotation (P1: Setter in Zone 1 serving/receiving, P2: Setter in Zone 6, P3: Setter in Zone 5, P4: Setter in Zone 4, P5: Setter in Zone 3, P6: Setter in Zone 2).
Args: match_id: The unique Hudl match identifier (obtainable via list_volleyball_matches). team_id: Optional Hudl team ID to filter breakdown to a specific team. output_format: Output format: 'markdown' (table) or 'compact' (token-efficient JSON). force_refresh: If True, bypasses local 7-day disk cache and forces a live fetch.
Returns: A formatted table or compact JSON of rotation analytics (P1 through P6).
Inputs: match_id (required), team_id, force_refresh, output_format. Returns: result
get_user_teamsA
Discover and list all Hudl teams associated with your account to find your Team ID.
Retrieves team names, team IDs, club/school organizations, roles (e.g. Coach), and active seasons directly from your authenticated Hudl account.
Args: output_format: Format of the output: 'markdown' (clean table) or 'compact' (token-efficient JSON). force_refresh: If True, bypasses local 15-minute disk cache and forces a live fetch.
Returns: A formatted Markdown table or compact JSON dictionary of your teams.
Inputs: force_refresh, output_format. Returns: result
list_volleyball_matchesA
Fetch recent volleyball matches for a team from Hudl.
Returns a table or compact JSON containing match IDs, dates, opponent names, results, and set scores. Call this tool first when a user asks about match results or team performance to discover the appropriate match_id for downstream analysis.
Args: team_id: Optional Hudl team ID. If omitted, uses auto-detected team ID. limit: Maximum number of recent matches to retrieve (default: 10). output_format: Output format: 'markdown' (table) or 'compact' (token-efficient JSON). force_refresh: If True, bypasses local 15-minute disk cache and forces a live fetch.
Returns: A formatted table or compact JSON of matches or an actionable error message.
Inputs: limit, team_id, force_refresh, output_format. Returns: result
login_to_hudlA
Open an interactive pop-up browser window to log into Hudl and save session state.
Opens a visible browser to https://www.hudl.com/login where you can log in normally using your password manager (1Password, Bitwarden, iCloud Keychain, etc.), Google/Apple SSO, or two-factor authentication (2FA).
The moment navigation to https://www.hudl.com/home is detected, the session state is automatically saved to ~/.hudl_mcp/auth_state.json, the browser closes, and your active session is updated without ever storing your password.
Args: timeout_seconds: Maximum time in seconds to wait for login completion (default: 300 = 5 minutes).
Returns: A confirmation status message when login completes or details on any error.
Inputs: timeout_seconds. Returns: result
refresh_hudl_cookieA
Refresh the Hudl session authentication cookie.
If credentials are configured in .env, attempts automated refresh. Otherwise, recommends or triggers interactive pop-up browser login via login_to_hudl.
Returns: A confirmation status message indicating success or details on how to log in.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The data tools are mostly distinct: team discovery, match listing, player box scores, rotation analytics, and event-level actions each target a different output. Some overlap exists between get_match_player_stats and get_game_actions because both provide match-level performance data, but the descriptions clarify summary stats versus event timeline. The two auth tools are also distinguishable as interactive login versus cookie refresh, though refresh can trigger login.
All names use snake_case and generally follow a verb-first pattern, such as get_user_teams, list_volleyball_matches, and get_match_player_stats. Minor deviations appear with login_to_hudl and refresh_hudl_cookie, but they remain readable and predictable. The repeated 'get_' prefix for several data tools is consistent enough for agent selection.
Seven tools is well-scoped for a read-only sports analytics MCP server with authentication support. Each tool maps to a meaningful capability: team discovery, match listing, player stats, rotation analytics, event actions, login, and cookie refresh. There is no obvious padding or missing auth/helper utility.
The server covers the core lifecycle of viewing Hudl volleyball data: discover teams, list matches, inspect player box scores, analyze rotations, and drill into tagged actions. Authentication is handled with both interactive login and cookie refresh. Minor gaps remain, such as season-level aggregate stats or roster lookup, but core workflows are covered.
Maintenance
Related MCP Connectors
Live sports stats and pre-computed analysis for AI assistants across NBA, MLB, NFL, and NHL.
Esports cognitive-combine data over MCP: free cohort stats, paid player & team scouting reports.
SXS (Sports x Science) read-only match data and reviews. Free: previous match day. Data only.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables querying volleyball match, team, and tournament data from VolleyballWorld API through SQL queries on a SQLite database.1-
- AlicenseNot gradedqualityCmaintenanceProvides structured Valorant esports analytics data and metrics through MCP, including match analysis, player profiling, scouting reports, and ad-hoc SQL queries. Enables AI models to generate accurate coaching insights from pre-computed analytics tables.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to answer tennis tactical questions using shot-by-shot charted match data, producing game plans, serve and return tendencies, scouting reports, match forecasts, and explanations of why a match turned. Exposes read-only tools for player reports, head-to-head game plans, match breakdowns, and tactical leaderboards, each with confidence margins and links to full pages.MIT
- FlicenseNot gradedqualityAmaintenanceGrants AI assistants read-only access to your WHOOP recovery, sleep, HRV, strain, and workout history so you can ask natural-language questions about daily readiness, personal baselines, sleep debt, trends, and weekly reviews. It also rebuilds HYROX and triathlon sessions, tracks race load and readiness, and runs a local dashboard for auditing and correcting performance data.18 npm-