Skip to content

Elaichifrom the team behind Truto

Connect ClubReady to Claude: Automate Class Bookings and Payments

Riya Sethi Riya Sethi 9 min read

The best way to connect ClubReady to Claude is Elaichi: connect ClubReady to Elaichi once, then add Elaichi to Claude as a connector. Two steps, about a minute, with a 14‑day free trial and no credit card required.

  1. Start your free trial

    14 days free, no credit card required.

  2. Connect ClubReady

    Once, in Elaichi. Claude never gets more access than you have.

  3. Add Elaichi to Claude

    In Claude, open Customize, then Connectors, press Add and paste the URL. Sign in and approve.

    https://api.elaichi.ai/mcp

Building ClubReady into your own product? The guide below is for you. Read the guide Start free on Truto

The developer guide

Learn how to connect ClubReady to Claude using Truto's managed MCP server. Automate gym class bookings, membership sales, and front-desk workflows with AI.

If you need to connect ClubReady to Claude to automate class scheduling, membership sales, or front-desk operations, you need a Model Context Protocol (MCP) server. This server acts as the translation layer between Claude's tool calls and ClubReady's REST API. You can either build and maintain this infrastructure yourself, or use a managed integration platform like Truto to dynamically generate a secure, authenticated MCP server URL. If your team uses ChatGPT, check out our guide on connecting ClubReady to ChatGPT or explore our broader architectural overview on connecting ClubReady to AI Agents.

Giving a Large Language Model (LLM) read and write access to a sprawling fitness management ecosystem like ClubReady is an engineering challenge. You have to handle API key lifecycles, map massive JSON schemas to MCP tool definitions, and deal with ClubReady's domain-specific data constraints. Every time ClubReady updates an endpoint or deprecates a resource, you have to update your server code, redeploy, and test the integration.

This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for ClubReady, connect it natively to Claude, and execute complex gym management workflows using natural language.

The Engineering Reality of the ClubReady API

A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable way for models to discover tools, the reality of implementing it against specialized B2B APIs is painful. ClubReady is built to manage complex fitness chains, franchise hierarchies, legacy billing systems, and highly specific booking logic. Its API reflects that complexity.

If you decide to build a custom ClubReady MCP server, here are the specific integration challenges you will face:

Mandatory Club Scoping and Hierarchy Constraints Unlike generic CRMs where a user simply exists in an account, almost every endpoint in ClubReady is strictly scoped to a physical location. Operations require a StoreId and often a ChainId. An LLM has no inherent context on which store a member belongs to. You must build an abstraction layer that injects the correct StoreId from the connection context into the tool parameters, or explicitly instruct the LLM to resolve the store ID before attempting to list users or book classes. Truto handles this connection-level scoping automatically unless explicitly overridden.

Strict Booking Eligibility and Credit Validation Booking a class in ClubReady is not a simple POST /scheduling/class-booking operation. Before a booking can be confirmed, the system must validate if the user has active credits, if their membership tier allows access to that specific class category, and if they have unpaid dues holding up their account. If you just expose the booking endpoint to Claude, the LLM will repeatedly fail with obscure 400 errors. You must orchestrate a sequence where the LLM first calls club_ready_booking_eligibility_lookup and club_ready_user_credits_lookup before attempting the write operation.

Rate Limits and Client-Side Backoff Requirements ClubReady enforces strict rate limits on API consumption. When building an MCP server, you cannot expect the infrastructure to magically absorb these errors. Truto normalizes upstream rate limit information into standardized IETF headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset), but Truto does not retry, throttle, or apply backoff on rate limit errors. When the ClubReady API returns an HTTP 429 Too Many Requests, Truto passes that error directly back to the caller. Your MCP client architecture must be designed to intercept 429s, read the reset headers, and instruct the LLM to pause and retry.

Generating and Connecting the ClubReady MCP Server

Truto dynamically generates MCP tools from ClubReady's API documentation and OpenAPI schemas. The resulting MCP server is scoped to a single integrated account (a specific gym or franchise connection) and authenticated via a secure, hashed token.

You can create the MCP server using either the Truto Dashboard or the Truto API.

Method 1: Creating the MCP Server via the Truto UI

If you are manually setting up an integration for a specific location, the dashboard is the fastest route:

  1. Navigate to the Integrated Accounts page in your Truto dashboard and select the connected ClubReady account.
  2. Click the MCP Servers tab.
  3. Click Create MCP Server.
  4. Select your desired configuration. You can filter the tools by method (e.g., read-only) or by tags (e.g., only expose scheduling tools).
  5. Copy the generated MCP server URL. It will look like https://api.truto.one/mcp/a1b2c3d4...

Method 2: Creating the MCP Server via the API

If you are dynamically provisioning AI agents for multiple franchise locations, you should generate the MCP server programmatically. This endpoint creates a secure token and returns the MCP server URL.

Request:

curl -X POST https://api.truto.one/integrated-account/{integrated_account_id}/mcp \
  -H "Authorization: Bearer YOUR_TRUTO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "ClubReady Scheduling Agent",
    "config": {
      "methods": ["read", "write"],
      "tags": ["scheduling", "users"]
    }
  }'

Response:

{
  "id": "mcp_srv_9x8y7z",
  "name": "ClubReady Scheduling Agent",
  "config": {
    "methods": ["read", "write"],
    "tags": ["scheduling", "users"]
  },
  "expires_at": null,
  "url": "https://api.truto.one/mcp/a1b2c3d4e5f6g7h8i9j0"
}

Connecting the MCP Server to Claude

Once you have your Truto MCP URL, you can connect it to your Claude environment.

Option A: Connecting via Claude Desktop or Web UI If you are using Claude's web interface (or an enterprise workspace that supports UI-based connector management), simply navigate to Settings -> Integrations -> Add MCP Server (or Connectors -> Add custom connector depending on your tier). Paste the Truto MCP URL and click Add. Claude will immediately handshake with the server and list the available ClubReady tools.

Option B: Connecting via Claude Desktop Config File For local development using the Claude Desktop app, you need to update your claude_desktop_config.json file. Because Truto provides a remote SSE (Server-Sent Events) endpoint, you will use the official @modelcontextprotocol/server-sse wrapper to bridge the local stdio connection to the remote Truto URL.

Update your config file (located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "clubready_prod": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sse",
        "--url",
        "https://api.truto.one/mcp/a1b2c3d4e5f6g7h8i9j0"
      ]
    }
  }
}

Restart Claude Desktop. The LLM now has native access to the ClubReady tools you configured.

ClubReady Hero Tools for Claude

Truto exposes dozens of ClubReady endpoints as standardized MCP tools. Do not dump the entire API reference into your LLM prompt. Instead, rely on MCP's dynamic tool discovery. Here are the highest-leverage tools your agent will use to automate gym operations.

list_all_club_ready_users

This is the foundational discovery tool. Before an agent can book a class or process a payment, it needs the internal UserId or MemberId. This tool pages through member records in the specified StoreId.

"Find the member record for Sarah Connor who joined last month and give me her exact User ID so I can process a booking."

list_all_club_ready_class_schedules

Retrieves the class schedule for a specific date range. Crucial for answering member queries about class times, identifying the ClassScheduleId, and verifying who the instructor is before attempting a booking.

"What spin classes are available tomorrow morning at the downtown location, and what are their schedule IDs?"

club_ready_booking_eligibility_lookup

Gyms have complex access rules based on membership tiers, unpaid balances, and class prerequisites. This read-only tool checks if a specific UserId is legally and financially allowed to book a specific ClassScheduleId.

"Check if User ID 99382 is eligible to book the advanced HIIT class (Schedule ID 1042) this evening. If they are blocked, tell me why."

create_a_club_ready_class_booking

Executes the actual reservation. Requires the UserId and ScheduleId. The LLM should only call this after validating the class exists and the user is eligible, mitigating 400 Bad Request errors.

"Go ahead and book User 99382 into the advanced HIIT class. Confirm when the reservation is successful."

club_ready_user_credits_lookup

Retrieves a detailed breakdown of a user's available credits, personal training sessions, and class passes. This is heavily used by AI support agents answering billing or account inquiries.

"Pull the credit breakdown for User 44021. How many personal training sessions do they have remaining this month?"

create_a_club_ready_contract_sale

Automates the sale of a membership package or service contract to an existing user. Requires the MemberId, PackageId, and PaymentAmount to be passed in a structured JSON body.

"Process a new 12-month unlimited membership contract sale (Package ID 883) for Member 5501. The payment amount is $120.00."

For the complete inventory of available ClubReady tools - including guest passes, staff management, and custom categories - visit the ClubReady integration page.

Workflows in Action

When Claude is connected to ClubReady via Truto, it doesn't just execute single API calls. It orchestrates multi-step business logic by reasoning through the required schemas.

Workflow 1: Front-Desk Class Booking and Verification

A member walks up to the front desk or texts the gym's AI number requesting to join a class that starts in an hour. The agent must find the user, find the class, check eligibility, and book it.

"Hey, it's Mike Ross. Can you book me into the 5 PM Yoga flow class today?"

flowchart TD
    User["Member Prompt"] --> Claude["Claude (MCP Client)"]
    Claude -->|"1. list_all_club_ready_users (Find Mike Ross)"| Truto["Truto MCP Server"]
    Truto -->|"Returns UserId: 8472"| Claude
    Claude -->|"2. list_all_club_ready_class_schedules (Date: Today)"| Truto
    Truto -->|"Returns ClassScheduleId: 5092 (5PM Yoga)"| Claude
    Claude -->|"3. club_ready_booking_eligibility_lookup"| Truto
    Truto -->|"Returns: Eligible (True)"| Claude
    Claude -->|"4. create_a_club_ready_class_booking"| Truto
    Truto -->|"Returns: Booking Confirmed"| Claude
    Claude --> Response["Confirmation sent to user"]
  1. User Discovery: Claude calls list_all_club_ready_users filtering by the name "Mike Ross" to retrieve UserId: 8472.
  2. Schedule Lookup: It calls list_all_club_ready_class_schedules for today's date to find the "Yoga flow" class and extracts ClassScheduleId: 5092.
  3. Eligibility Check: It calls club_ready_booking_eligibility_lookup passing both IDs to ensure Mike has active credits and no account holds.
  4. Execution: Upon receiving a true response, it executes create_a_club_ready_class_booking.

Workflow 2: Membership Package Sale and Credit Check

A sales representative instructs the AI agent to finalize a contract upgrade for a member and verify their new account balances.

"Sell the VIP Coaching Package (Package 102) to Sarah Jenkins for $250. Once sold, pull her new credit balances to ensure the 5 PT sessions were applied."

sequenceDiagram
    participant SalesRep as Sales Rep
    participant Claude as Claude (MCP Client)
    participant TrutoServer as Truto MCP Server
    participant ClubReady as ClubReady API

    SalesRep->>Claude: "Sell VIP Package to Sarah Jenkins"
    Claude->>TrutoServer: list_all_club_ready_users (Name: Sarah Jenkins)
    TrutoServer->>ClubReady: GET /users/find
    ClubReady-->>TrutoServer: User ID: 1104
    TrutoServer-->>Claude: JSON Tool Result
    
    Claude->>TrutoServer: create_a_club_ready_contract_sale (ID: 1104, Pkg: 102, Amt: 250)
    TrutoServer->>ClubReady: POST /sales/contract/sold
    ClubReady-->>TrutoServer: 201 Created (Sale Complete)
    TrutoServer-->>Claude: JSON Tool Result

    Claude->>TrutoServer: club_ready_user_credits_lookup (ID: 1104)
    TrutoServer->>ClubReady: GET /scheduling/1104/credit-detail
    ClubReady-->>TrutoServer: Credits: 5 PT Sessions
    TrutoServer-->>Claude: JSON Tool Result
    Claude-->>SalesRep: "Sale complete. Sarah now has 5 PT credits."
  1. Lookup: Claude searches for Sarah Jenkins to resolve her UserId.
  2. Revenue Execution: Claude constructs a JSON body mapping the user ID, package ID, and payment amount, invoking the create_a_club_ready_contract_sale tool.
  3. Audit: To verify the system processed the package configuration correctly, Claude immediately queries club_ready_user_credits_lookup to validate the new PT session balances exist.

Security and Access Control

Granting an LLM autonomous access to a gym's financial and member data requires strict governance. Truto provides four native security controls to lock down your ClubReady MCP servers:

  • Method Filtering (config.methods): Restrict a server entirely to read-only operations by setting methods: ["read"]. This allows Claude to query schedules and member data but prevents it from executing bookings or sales.
  • Tag Filtering (config.tags): Scope the server to specific operational domains. For example, setting tags: ["scheduling"] hides all financial and billing tools from the LLM's context window entirely.
  • API Token Authentication (require_api_token_auth): By default, the unique MCP URL acts as the authentication token. Enabling this flag forces the client to also pass a valid Truto API token in the Authorization header, adding a critical second layer of security if the URL is exposed in client-side logs.
  • Server Expiry (expires_at): Generate ephemeral MCP servers for temporary workloads or contractors by passing an ISO datetime. Truto automatically destroys the token and revokes API access when the timestamp passes.

Move Beyond Integration Scripts

Connecting Claude to ClubReady shouldn't require your engineering team to spend weeks studying the nuances of StoreId routing, pagination cursors, or OAuth lifecycles. By utilizing a managed MCP architecture, you shift the burden of API maintenance, schema mapping, and token storage to Truto.

Your engineers can focus on building sophisticated agentic workflows - optimizing class capacities, automating lead follow-ups, and managing membership retention - while Truto ensures the underlying LLM tool calls execute reliably against the ClubReady API.

FAQ

What is the easiest way to connect ClubReady to Claude?
The best way to connect ClubReady to Claude is Elaichi: connect ClubReady to Elaichi once, then add Elaichi to Claude as a connector. Two steps, about a minute, with a 14-day free trial and no credit card required.
How does Truto handle ClubReady rate limits?
Truto normalizes ClubReady's rate limit information into standard IETF headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset). However, Truto does not retry or apply backoff automatically. Your MCP client is responsible for handling 429 errors.
Can I restrict Claude to only reading ClubReady schedules?
Yes. When creating the Truto MCP server, you can apply method filtering (e.g., config.methods: ["read"]) or tag filtering to ensure Claude only has access to specific scheduling endpoints, preventing unauthorized data modifications.
Does Truto support connecting ClubReady to ChatGPT?
Yes, Truto's MCP servers can be connected to any compatible client, including Claude Desktop, custom LangChain applications, and ChatGPT (via custom GPT connectors).

Two ways in

Two ways to put ClubReady to work

Elaichifrom the team behind Truto

For you and your team

Use ClubReady in Claude yourself

Connect ClubReady once, add Elaichi to Claude, and ask. Every call is checked against your own permissions and logged.

Start free, 14 days No credit card required

For product teams

Ship ClubReady to your customers

Your customers connect their own ClubReady accounts. Your product gets one API and MCP tools for ClubReady, through Truto.

ClubReady ClubReady in Claude14 days free Start free

Blog

More from our Blog