SWTHZ (Sweathouz) MCP server for AI agents

Let Claude, ChatGPT or your own agent read and act on SWTHZ (Sweathouz): 12 typed functions through one MCP server. No SWTHZ (Sweathouz) API key needed.

Functions
12
Sign-in
For account actions
Works with
MCP, HTTP, Node, Python

Connect

Just SWTHZ (Sweathouz)

An MCP server for SWTHZ (Sweathouz) alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/sweathouz
Every site

One MCP server for SWTHZ (Sweathouz) and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 10
  • findStudioFuzzy-searches studios by name, city, state, ZIP or keyword, tolerating typos.

    Arguments

    NameTypeRequired
    querystring
    A studio name, city, state, ZIP, or a misspelling of one.
    Yes
    limitnumber
    Default 5, how many ranked matches to return.
    No

    Returns SweathouzStudioMatch[]

    interface SweathouzStudio {
      id: string;                  // pass to getAvailability, e.g. "the-marina"
      name: string;
      status: "open" | "coming_soon";
      address: string;
      city: string;
      state: string;
      zip: string;
      lat: number;
      lng: number;
      bookingUrl: string | null;   // the studio's own booking app
    
      checkout: SweathouzCheckout | null;
      pageUrl: string;
      hours: { day: string; open: string | null; close: string | null }[]; // "09:00"/"17:00", null = closed
    }
    
    interface SweathouzCheckout {
      status: "ready_to_checkout" | "needs_login" | "unavailable";
      /** Always https, on the studio's own site. */
      url: string;
      /** ready_to_checkout only: carries_items opens this very slot, product_page opens the studio's schedule. */
      urlKind?: "carries_items" | "signed_in_cart" | "product_page";
      /** unavailable only: out_of_stock (class full, no waitlist) or not_available_for_dates (cancelled). */
      reason?: string;
      detail?: string;
      account: { site: string; hint: string; signedInAs?: string; signInUrl?: string };
      summary: {
        items: { title: string; variant: string | null; quantity: number; unitPrice: string | null; lineTotal: string | null; url?: string; id?: string }[];
        total: string | null;
        currency: string;
        /** ISO start/end of the class or slot, with the studio's UTC offset when the site gives one. */
        dates?: { start: string; end?: string };
      } | null;
      warnings: string[];
    }
    
    interface SweathouzStudioMatch {
      studio: SweathouzStudio;
      score: number;                 // 0-1; 1 = exact or substring match, lower = a near-miss
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/findStudio

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.findStudio({ query: "the marnia" });
  • getAvailabilityLists open appointment times for one studio on a given date: start time, session type and suite id.

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes
    datestring
    YYYY-MM-DD; default today.
    No

    Returns SweathouzAvailability

    interface SweathouzSlot {
      start: string;
      display: string;             // "Wednesday, October 21 at 7:45 am"
      sessionType: string;         // "Contrast Therapy Session (60 Minutes)"
      sessionTypeId: string;
      suiteId: string;             // the private suite this slot is in
    }
    
    interface SweathouzAvailability {
      studioId: string;
      studioName: string;
      bookingId: string;
      date: string;
      slots: SweathouzSlot[];      // only open times; empty = fully booked or closed
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/getAvailability

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.getAvailability({ studio: "the-marina" });
  • getPricingReads one studio's priced session options (the main contrast-therapy session and the plus-one-guest add-on) off its booking app's pricing door.

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes

    Returns SweathouzPricing

    interface SweathouzPriceOption {
      id: string;
      price: number;
      label: string;               // everything the site sends after the price, see parsePricing's comment
    }
    
    interface SweathouzPricing {
      studioId: string;
      studioName: string;
      bookingId: string;
      options: SweathouzPriceOption[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/getPricing

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.getPricing({ studio: "the-marina" });
  • getPromoCodeChecks a promo code against one studio's priced session option(s) and returns the discounted total, or the site's own rejection wording when the code…

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes
    promoCodestringYes
    callerSweathouzCallerIdentity
    The CALLER's own identity, required, never defaulted.
    Yes

    Returns SweathouzPromoCodeResult

    interface SweathouzPriceOption {
      id: string;
      price: number;
      label: string;               // everything the site sends after the price, see parsePricing's comment
    }
    
    interface SweathouzPromoCodeOption {
      productId: string;             // the SweathouzPriceOption.id this result is for
      valid: boolean;
      subtotalWithDiscount: number | null; // when valid
      message: string | null;        // the site's own rejection wording, when !valid
    }
    
    interface SweathouzPromoCodeResult {
      studioId: string;
      studioName: string;
      bookingId: string;
      promoCode: string;
      options: SweathouzPromoCodeOption[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/getPromoCode

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.getPromoCode({ studio: "<studio>", promoCode: "<promoCode>", caller: {} });
  • getStudioHoursLooks up one studio's operating hours by id or name.

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes

    Returns SweathouzHours

    interface SweathouzStudio {
      id: string;                  // pass to getAvailability, e.g. "the-marina"
      name: string;
      status: "open" | "coming_soon";
      address: string;
      city: string;
      state: string;
      zip: string;
      lat: number;
      lng: number;
      bookingUrl: string | null;   // the studio's own booking app
    
      checkout: SweathouzCheckout | null;
      pageUrl: string;
      hours: { day: string; open: string | null; close: string | null }[]; // "09:00"/"17:00", null = closed
    }
    
    interface SweathouzCheckout {
      status: "ready_to_checkout" | "needs_login" | "unavailable";
      /** Always https, on the studio's own site. */
      url: string;
      /** ready_to_checkout only: carries_items opens this very slot, product_page opens the studio's schedule. */
      urlKind?: "carries_items" | "signed_in_cart" | "product_page";
      /** unavailable only: out_of_stock (class full, no waitlist) or not_available_for_dates (cancelled). */
      reason?: string;
      detail?: string;
      account: { site: string; hint: string; signedInAs?: string; signInUrl?: string };
      summary: {
        items: { title: string; variant: string | null; quantity: number; unitPrice: string | null; lineTotal: string | null; url?: string; id?: string }[];
        total: string | null;
        currency: string;
        /** ISO start/end of the class or slot, with the studio's UTC offset when the site gives one. */
        dates?: { start: string; end?: string };
      } | null;
      warnings: string[];
    }
    
    interface SweathouzHours {
      studioId: string;
      studioName: string;
      hours: { day: string; open: string | null; close: string | null }[]; // same shape as SweathouzStudio.hours
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/getStudioHours

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.getStudioHours({ studio: "the-marina" });
  • listCreditsReads the signed-in customer's sweathouz.com/account/ page, for the customer's available credits.

    Arguments

    None.

    Returns SweathouzAccountPage

    interface SweathouzAccountPage {
      raw: string;                   // the account page's own visible text, trimmed, see the doc comment on this type in index.ts
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/listCredits

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.listCredits();
  • listMembershipsLists a studio's own one-time session packs and monthly membership tiers from its public marketing page: name, price, duration/credit terms, perks…

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes

    Returns SweathouzPlans

    interface SweathouzPlan {
      id: string;                  // the numeric plan id off the site's own purchase link
      name: string;                // "3-pack", "Launch", "Unlimited", …
      price: number;
      billing: string;             // "one time" for a pack, "/mo" for a membership
      duration: string;            // "3 sessions | expires in 60 days", "2 sessions per month", …
      perks: string[];
      purchaseUrl: string;         // the site's own checkout link for this plan
    }
    
    interface SweathouzPlans {
      studioId: string;
      studioName: string;
      packs: SweathouzPlan[];        // one-time session packs
      memberships: SweathouzPlan[];  // recurring monthly tiers
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/listMemberships

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.listMemberships({ studio: "the-marina" });
  • listPacksReads the signed-in customer's sweathouz.com/account/ page, for the customer's active or inactive pack memberships.

    Arguments

    None.

    Returns SweathouzAccountPage

    interface SweathouzAccountPage {
      raw: string;                   // the account page's own visible text, trimmed, see the doc comment on this type in index.ts
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/listPacks

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.listPacks();
  • listStudiosLists SWTHZ studios: id, name, address, coordinates, opening hours and booking link, filterable by name, city, state or ZIP.

    Arguments

    NameTypeRequired
    querystring
    Studio name, city, state or ZIP, e.g. "San Francisco", "KS".
    No
    includeComingSoonboolean
    Default false: only studios taking bookings.
    No

    Returns SweathouzStudio[]

    interface SweathouzStudio {
      id: string;                  // pass to getAvailability, e.g. "the-marina"
      name: string;
      status: "open" | "coming_soon";
      address: string;
      city: string;
      state: string;
      zip: string;
      lat: number;
      lng: number;
      bookingUrl: string | null;   // the studio's own booking app
    
      checkout: SweathouzCheckout | null;
      pageUrl: string;
      hours: { day: string; open: string | null; close: string | null }[]; // "09:00"/"17:00", null = closed
    }
    
    interface SweathouzCheckout {
      status: "ready_to_checkout" | "needs_login" | "unavailable";
      /** Always https, on the studio's own site. */
      url: string;
      /** ready_to_checkout only: carries_items opens this very slot, product_page opens the studio's schedule. */
      urlKind?: "carries_items" | "signed_in_cart" | "product_page";
      /** unavailable only: out_of_stock (class full, no waitlist) or not_available_for_dates (cancelled). */
      reason?: string;
      detail?: string;
      account: { site: string; hint: string; signedInAs?: string; signInUrl?: string };
      summary: {
        items: { title: string; variant: string | null; quantity: number; unitPrice: string | null; lineTotal: string | null; url?: string; id?: string }[];
        total: string | null;
        currency: string;
        /** ISO start/end of the class or slot, with the studio's UTC offset when the site gives one. */
        dates?: { start: string; end?: string };
      } | null;
      warnings: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/listStudios

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.listStudios({ query: "San Francisco" });
  • myBookingsReads the signed-in customer's sweathouz.com/account/ page.

    Arguments

    None.

    Returns SweathouzAccountPage

    interface SweathouzAccountPage {
      raw: string;                   // the account page's own visible text, trimmed, see the doc comment on this type in index.ts
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/myBookings

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.myBookings();
Act 2
  • bookBooks an appointment for the signed-in customer at a specific studio, date and time.

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes
    datestring
    YYYY-MM-DD.
    Yes
    timestring
    A slot's own display or start from getAvailability.
    Yes

    Returns SweathouzBookResult

    interface SweathouzBookResult {
      booked: boolean;
      message: string;               // the account view's own on-screen wording after the attempt
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/book

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.book({ studio: "<studio>", date: "<date>", time: "<time>" });
  • cancelCancels an existing appointment for the signed-in customer, matched by its studio, date and time.

    Arguments

    NameTypeRequired
    studiostring
    Id or name from listStudios.
    Yes
    datestring
    YYYY-MM-DD.
    Yes
    timestring
    A slot's own display or start from getAvailability.
    Yes

    Returns SweathouzCancelResult

    interface SweathouzCancelResult {
      cancelled: boolean;
      message: string;               // the account view's own on-screen wording after the attempt
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/sweathouz/cancel

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.sweathouz.cancel({ studio: "<studio>", date: "<date>", time: "<time>" });

Use it from code