Skip to main content
Glama
Hudl Volleyball MCP Server

Hudl Volleyball MCP Server

by onnobos

🏐 Hudl Volleyball MCP Server (hudl-volleyball-mcp)

Python 3.11+ Model Context Protocol Build System Hatchling License: MIT Strict Read-Only DataVolley Compatible

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.


IMPORTANT

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 .mcpb Installation: Distribute a single double-clickable .mcpb bundle that non-technical coaches can install into Claude Desktop without touching a terminal.

  • ⚡ Zero-Setup uvx: Run instantly via uvx mcp-hudl-volleyball without 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 .dvw skill 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!

  1. Download the latest hudl-volleyball-mcp.mcpb bundle from the GitHub Releases page.

  2. Double-click the file, or open Claude Desktop > Settings > Extensions > Install Extension and select hudl-volleyball-mcp.mcpb.

  3. 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.json

  • Windows: %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)

  1. In your AI chat, say: "Log me into Hudl" (or trigger the login_to_hudl tool).

  2. A visible Chromium browser pops up to https://www.hudl.com/login.

  3. Log in with your password manager (1Password, Bitwarden, iCloud Keychain), Apple/Google SSO, or 2FA.

  4. 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.

  5. 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

get_user_teams

output_format, force_refresh

Automatically discovers all teams on your Hudl account with team IDs, club/school names, and coach roles.

list_volleyball_matches

team_id, limit, output_format, force_refresh

Lists recent volleyball matches with match IDs, dates, opponents, and set scores.

get_match_player_stats

match_id, team_id, output_format, force_refresh

Retrieves official player box scores: Kills, Errors, Total Attacks, Hitting %, Assists, Aces, Digs, Blocks, and Points.

get_rotation_breakdown

match_id, team_id, output_format, force_refresh

Analyzes rotations P1 through P6: sideout %, point-scoring %, first-ball sideout (FBSO), and setter distribution tendencies.

get_game_actions

match_id, set_number, action_type, player, team, quality, limit, offset, output_format, force_refresh

Retrieves event-by-event volleyball touches with video timestamps, start/dest zones, routes, blockers, and DataVolley .dvw skill/eval codes.

login_to_hudl

timeout_seconds

Opens interactive browser window to log in safely via password manager or SSO.

refresh_hudl_cookie

—

Refreshes session authentication tokens and resets cache.

Format Tip: All data tools accept output_format="markdown" (clean human-readable tables) or output_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:

  1. scout_opponent(opponent_name): Searches matches, calculates offensive kill distributions, isolates weak sideout rotations, evaluates passer stability, and outputs a complete tactical game plan.

  2. analyze_rotation_weaknesses(match_id): Audits P1–P6 sideout efficiencies, detects unforced errors vs blocked attacks, assesses predictable setter choices, and suggests rotational adjustments.

  3. 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.

  4. datavolley_export(match_id, set_number): Converts all video touches into standard DataVolley .dvw format strings ready for import into scouting software.

  5. 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_opponent prompt 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_breakdown workflow for match 123456. 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 LUTRY into DataVolley .dvw format. 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 tools
get_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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 7 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables querying volleyball match, team, and tournament data from VolleyballWorld API through SQL queries on a SQLite database.
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • F
      license
      Not graded
      quality
      A
      maintenance
      Grants 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
      -