Skip to main content
Glama
Huppa MCP Server

Huppa MCP Server

by maxzw

🏋️‍♀️ Huppa CLI

A CLI tool and MCP server for Huppa — browse gym classes, book them, and manage bookings from the command line or through AI assistants like Claude.

Disclaimer: This is an unofficial, community-built project and is not affiliated with, endorsed by, or approved by Huppa. It interacts with Huppa's public API using your personal credentials. Use at your own risk — the author is not responsible for any account restrictions, data loss, or other consequences. Huppa may change their API at any time, which could break this tool without notice.

⚙️ Installation

Prerequisites: uv, just, and the GitHub CLI

User installation

Install the latest released wheel as a regular uv tool:

gh release download -R maxzw/huppa-cli -p '*.whl' -D /tmp/huppa-wheel
uv tool install --force /tmp/huppa-wheel/*.whl
huppa auth setup

Upgrade a user installation with:

huppa update

The updater downloads the wheel from the latest GitHub Release and installs it through uv.

Check the installed version and troubleshoot credential or API configuration:

huppa version
huppa status
huppa status --json

Development installation

To work from a source checkout instead, use an editable installation:

git clone https://github.com/maxzw/huppa-cli.git
cd huppa-cli
uv sync

# Install this checkout as the global `huppa` command
just deploy

# Run one-time interactive setup (stores credentials in OS keychain)
huppa auth setup

To remove a global installation:

uv tool uninstall huppa-cli

🔑 Authentication

The setup command prompts for email/password/subdomain and stores them securely in your system keychain.

To find your subdomain, open your Huppa gym page URL and use the first part before .huppa.app.

Example: https://mygym.huppa.app/me → subdomain is mygym

huppa auth setup   # interactive credential setup
huppa auth whoami  # show current authenticated user
huppa auth logout  # clear stored credentials

Status output shows credential sources and whether the API is reachable. Passwords are never printed.

Profile-specific authentication:

HUPPA_PROFILE=work-gym huppa auth setup
HUPPA_PROFILE=work-gym huppa auth whoami

Environment-variable authentication:

HUPPA_EMAIL="you@example.com" \
HUPPA_PASSWORD="your-password" \
HUPPA_SUBDOMAIN="mygym" \
huppa classes 2026-03-08
huppa classes 2026-03-08
huppa classes 2026-03-08 2026-03-09

Related MCP server: hevy-mcp-server

🛠️ CLI Usage

Commands show Rich tables by default. Add --json for structured output.

# List classes for a date
huppa classes 2026-03-08

# List classes for multiple dates
huppa classes 2026-03-08 2026-03-09

# Show upcoming bookings
huppa bookings
huppa bookings --filter past --per-page 10
huppa bookings --json

# Show memberships
huppa memberships
huppa memberships --json

# Book a class (use organization_id and occurrence_id from `huppa classes`)
huppa book <organization_id> <occurrence_id>

# Cancel a booking
huppa cancel <organization_id> <occurrence_id>

# Waitlist management
huppa waitlist join <organization_id> <occurrence_id>
huppa waitlist leave <organization_id> <occurrence_id>

# Show all available commands
huppa --help

🤖 MCP Server

The CLI includes a built-in MCP server for AI assistants:

huppa mcp

Connecting to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "huppa": {
      "command": "/full/path/to/uv",
      "args": ["--directory", "/absolute/path/to/huppa-cli", "run", "huppa", "mcp"]
    }
  }
}

Find uv path with which uv. Use full paths (not "uv") because Claude Desktop starts MCP servers with limited PATH.

MCP Tools

Tool

Description

get_classes(date)

List available gym classes for a given date (YYYY-MM-DD).

get_classes_multiple_dates(list_of_dates)

Get classes for multiple dates at once.

book_class(organization_id, occurrence_id)

Book a class.

cancel_booking(organization_id, occurrence_id)

Cancel an existing booking.

join_waitlist(organization_id, occurrence_id)

Join the waitlist for a full class.

leave_waitlist(organization_id, occurrence_id)

Leave the waitlist.

get_my_bookings(filter, per_page, page)

List bookings and waitlists.

get_memberships()

Get memberships with credit balance and payment dates.

📋 License

MIT

Available Tools

8 tools
book_classC

Book a gym class occurrence.

Args:
    organization_id: Organization identifier from ``get_classes``.
    occurrence_id: Class occurrence identifier from ``get_classes``.

Returns:
    Booking response payload when present, otherwise ``None``.

Inputs: occurrence_id (required), organization_id (required). Returns: result

cancel_bookingB

Cancel an existing gym class booking.

Args:
    organization_id: Organization identifier for the booking.
    occurrence_id: Class occurrence identifier for the booking.

Returns:
    Cancellation response payload when present, otherwise ``None``.

Inputs: occurrence_id (required), organization_id (required). Returns: result

get_classesB

Get available gym classes for a given date.

Args:
    date: Date in ``YYYY-MM-DD`` format.

Returns:
    A list of class payloads.

Inputs: date (required). Returns: result

get_classes_multiple_datesB

Get mapping of dates to available gym classes for multiple dates.

Args:
    list_of_dates: A list of dates in ``YYYY-MM-DD`` format.

Returns:
    A mapping of date strings to lists of class payloads.

Inputs: list_of_dates (required). Returns: object

get_membershipsB

Get memberships, including credit balances and payment dates.

Returns:
    A list of membership payloads.

Inputs: no named parameters. Returns: result

get_my_bookingsA

Get the user's past or upcoming bookings and waitlists.

Args:
    filter: 'past' or 'upcoming' (default: 'upcoming').
    per_page: Number of results per page (default: 50).
    page: Page number (default: 1).

Returns:
    A list of booking payloads.

Inputs: page, filter, per_page. Returns: result

join_waitlistC

Join the waitlist for a class occurrence.

Args:
    organization_id: Organization identifier for the class.
    occurrence_id: Class occurrence identifier.

Returns:
    Waitlist join response payload when present, otherwise ``None``.

Inputs: occurrence_id (required), organization_id (required). Returns: result

leave_waitlistC

Leave the waitlist for a class occurrence.

Args:
    organization_id: Organization identifier for the class.
    occurrence_id: Class occurrence identifier.

Returns:
    Waitlist leave response payload when present, otherwise ``None``.

Inputs: occurrence_id (required), organization_id (required). Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools have clearly distinct actions: retrieval, booking, cancellation, and waitlist management. The main overlap is between get_classes and get_classes_multiple_dates, which differ only by batch scope, but the descriptions make the distinction clear enough.

    Naming Consistency5/5

    All tools use consistent snake_case verb_noun naming such as get_classes, book_class, cancel_booking, and join_waitlist. The batch variant get_classes_multiple_dates and possessive get_my_bookings are minor variations but remain predictable and readable.

    Tool Count5/5

    Eight tools is well-scoped for a gym class booking server. Each tool covers a distinct operation in the booking and waitlist lifecycle without obvious redundancy.

    Completeness4/5

    The surface covers core workflows: reading classes, memberships, and bookings, plus booking, cancelling, and waitlist join/leave. Minor gaps like detailed class occurrence lookup or waitlist position retrieval are not blocking for the stated purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with the Hevy fitness tracking API, allowing users to log workouts, manage routines, browse exercises, and track fitness progress through natural language.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to query and manage Altea Active memberships through natural language, including schedules, spot availability, instructor sessions, bookings, cancellations, and waitlists.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to read, log, edit, and analyze workouts, routines, body weight, media, and personal records on a self-hosted openGym instance through its own HTTP API. Writes are scoped to requested changes with automatic backups and conflict detection, and tools are grouped into read, write, delete, and admin permission tiers.
      74
      232 npm
      1
      AGPL 3.0