Skip to main content
Glama

teamup-mcp

An unofficial MCP server for TeamUp, the booking platform that many gyms and studios use for classes. It lets Claude act as you, a TeamUp member at one gym: find classes, book, cancel, join waitlists and check your memberships.

This is not for Teamup Calendar (teamup.com). That is a different company.

WARNING

Unofficial and unsupported. This project is not affiliated with or endorsed by TeamUp. It calls TeamUp's private customer API and logs in through TeamUp's own members-app OAuth client ("TeamUp Members App v2"). TeamUp does not support this use. TeamUp can change or block it at any time, and then login stops working. Use it at your own risk.

What it can do

Each tool works for one member at one gym.

Tool

What it does

Changes data

find_classes

Lists classes in a time range, with spaces left

No

get_class

Shows one class, and whether you can book it and with which membership

No

list_bookings

Lists your upcoming or past bookings

No

list_memberships

Lists your memberships and the credits left

No

get_gym_details

Lists the gym's class types, venues and instructors

No

get_calendar_feed

Returns your iCal feed link

No

book_class

Books a class with a membership you already have

Yes: uses a credit

cancel_booking

Cancels a booking

Yes

join_waitlist

Joins the waitlist for a full class

Yes

leave_waitlist

Leaves a waitlist

Yes

start_login, finish_login

Log in to TeamUp, once a year

Saves a login on the server

get_login_status

Shows if you are logged in, and until when

No

logout

Revokes the login at TeamUp and deletes it from the server

Yes

The tools that change data say so in their MCP annotations, so your client can ask you before Claude uses them.

Safety rules

  • It never pays. It books only with a membership or pack you already hold. When a class costs money, such as a drop-in, book_class refuses and tells you the price.

  • Late cancels need a second yes. A cancel after the gym's cut-off still counts against your membership and gives no refund. cancel_booking refuses it unless Claude calls again with allow_late_cancel: true, so Claude has to ask you first.

  • One gym, one member. The server works for one gym and one login. It refuses a login that holds several member records, such as a family account.

Related MCP server: gym-ops MCP server

How it works

Claude ──HTTPS──▶ your proxy (Cloudflare Access, or your own HTTPS + bearer secret)
                    │
                    ▼
               teamup-mcp (Docker, 127.0.0.1:4022) ──▶ goteamup.com/api/v2
                    │
                    ▼
               /data: your TeamUp login, encrypted (AES-256-GCM)
  • It serves MCP over Streamable HTTP at /mcp.

  • It checks every /mcp request itself, with one of two modes: a Cloudflare Access JWT or a bearer secret. There is no "no auth" mode.

  • Login happens in your own browser. Claude calls start_login and gives you a TeamUp link. You log in, then paste the address you land on back into the chat. Claude calls finish_login. The code in that address works once, and only with a secret that never leaves the server.

  • The login lasts one year. The server refreshes the short-lived access token by itself.

  • Logs never hold tokens, header values, tool arguments or tool results.

Quick start

You need Docker, a server, and a way to give it an HTTPS address. Follow docs/deploy.md for the full steps. In short:

  1. Copy server.env.example to server.env. Set TEAMUP_PROVIDER_ID to the number in your gym's page address, goteamup.com/p/<id>-<name>/. Pick an INBOUND_AUTH mode.

  2. Make the encryption key in a separate file:

    (umask 077; echo "TOKEN_ENCRYPTION_KEY=$(openssl rand -base64 32)" > secret.env)
  3. Start it:

    docker compose -f deploy/compose.yml up -d --build
  4. Put it behind HTTPS (see below), add it to Claude, and ask Claude to log in to TeamUp.

Connect from Claude

Client

INBOUND_AUTH

How

claude.ai, Claude Desktop connectors

cloudflare-access

Add a custom connector with your Access-protected URL. These clients do OAuth only, so they cannot send a bearer header

Claude Code

bearer

claude mcp add --transport http teamup https://<host>/mcp --header "Authorization: Bearer <secret>"

Claude Desktop, local config

bearer

Through an mcp-remote bridge that adds the header

Development

Requires Node 24 and pnpm. Node runs the TypeScript directly, so there is no build step.

pnpm install
pnpm check   # lint, format check, typecheck and tests
  • Every TeamUp response goes through a Zod schema before the code uses it.

  • Tests use recorded, redacted TeamUp responses in test/fixtures/teamup/. They never call TeamUp.

  • docs/teamup-api.md holds what we learned about the API. spec/teamup-openapi.json is TeamUp's published OpenAPI spec, pinned.

  • Lint rules come from a vendored copy of dmmulroy/anti-slop in tools/oxlint/anti-slop/.

Licence

MIT.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • 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
      A
      quality
      B
      maintenance
      Enables read-only reconciliation and member/billing queries against a gym SQLite database through typed domain tools, allowing natural-language interaction from Claude.
      4
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables searching the EGYM Wellpass fitness network for studios and classes by location, activity, and filters, with optional login-based class booking and cancellation. It exposes studio details and filter values through MCP clients such as Claude Desktop and Claude Code.
      7
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to find gyms and studios, check schedules and prices, start trial classes, and, after OAuth sign-in, view, book, or cancel classes with a membership. Public tools require no account, while member tools enforce each gym's booking rules and never pass payment data to the assistant.
      MIT