Pike13 MCP server for AI agents

Let Claude, ChatGPT or your own agent read and act on Pike13: 26 typed functions through one MCP server. No Pike13 API key needed.

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

Connect

Just Pike13

An MCP server for Pike13 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/pike13
Every site

One MCP server for Pike13 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 22
  • checkEnrollmentEligibilitySays whether the signed-in caller (and each dependent) can book a class and why not.

    Arguments

    NameTypeRequired
    businessstringYes
    occurrenceIdstringYes

    Returns Pike13EnrollmentEligibility[]

    interface Pike13EnrollmentEligibility {
      can_enroll: boolean;
      person_id?: number;   // present once signed in: one row per caller and dependent
      restrictions: Array<{ code: string; description: string }>;  // e.g. plan_required, full
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/checkEnrollmentEligibility

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.checkEnrollmentEligibility("pranamoonyoga", 278478551);
  • findBusinessFinds Pike13 studios by name and town and returns each one's subdomain and confirmed business profile.

    Arguments

    NameTypeRequired
    namestring
    The studio's name, as a person would say it, e.g. "PranaMoon Yoga".
    Yes
    townstring
    Narrows the search, e.g. "Peekskill NY".
    No

    Returns Pike13BusinessMatch[]

    interface Pike13BusinessMatch {
      subdomain: string;      // the <subdomain> in <subdomain>.pike13.com
      business: Pike13Business;
    }
    
    interface Pike13Business {
      id: number;
      name: string;
      subdomain: string;
      default_locale: string;
      currency_code: string;
      website: string | null;
      phone: string | null;
      twitter: string | null;
      facebook: string | null;
      instagram: string | null;
      is_franchise: boolean;
      is_active: boolean;
      is_in_trial: boolean;
      is_suspended: boolean;
      email_address: string | null;
      timezone: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/findBusiness

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.findBusiness({ name: "PranaMoon Yoga", town: "Peekskill NY" });
  • getAppointmentAvailabilityLists the open times for one bookable appointment service over a date range (up to 90 days), with staff member and location per slot, filterable by…

    Arguments

    NameTypeRequired
    businessstringYes
    serviceIdstringYes
    args.fromstring
    ISO 8601 instant.
    Yes
    args.tostring
    ISO 8601 instant, up to 90 days after from.
    Yes
    args.locationIdnumber | stringNo
    args.staffMemberIdnumber | stringNo

    Returns Pike13AvailableSlot[]

    interface Pike13AvailableSlot {
      duration_in_minutes: number;
      start_at: string;
      end_at: string;
      date: string;
      service: { id: number; name: string };
      location: { id: number; name: string; timezone: string };
      location_id: number;
      staff_member: { id: number; name: string };
      calendar_resources: unknown[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getAppointmentAvailability

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getAppointmentAvailability("focusedresults", "108630", { from: { $daysFromNow: 1 }, to: { $daysFromNow: 15 } });
  • getAppointmentAvailabilitySummaryGives, per day over a date range, the share of an appointment service's capacity still open.

    Arguments

    NameTypeRequired
    businessstringYes
    serviceIdstringYes
    args.fromstring
    ISO 8601 instant.
    Yes
    args.tostring
    ISO 8601 instant, up to 90 days after from.
    Yes
    args.locationIdnumber | stringNo
    args.staffMemberIdnumber | stringNo

    Returns Pike13AppointmentAvailabilitySummary

    type Pike13AppointmentAvailabilitySummary = Record<string, number>; // "YYYY-MM-DD" -> share of capacity still open, 0 to 1

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getAppointmentAvailabilitySummary

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getAppointmentAvailabilitySummary("focusedresults", "108630", { from: { $daysFromNow: 1 }, to: { $daysFromNow: 15 } });
  • getBusinessGets one studio's profile, name, subdomain, website, phone, currency, social links, whether it is active, from GET /api/v2/front/business; takes the…

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13Business

    interface Pike13Business {
      id: number;
      name: string;
      subdomain: string;
      default_locale: string;
      currency_code: string;
      website: string | null;
      phone: string | null;
      twitter: string | null;
      facebook: string | null;
      instagram: string | null;
      is_franchise: boolean;
      is_active: boolean;
      is_in_trial: boolean;
      is_suspended: boolean;
      email_address: string | null;
      timezone: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getBusiness

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getBusiness("pranamoonyoga");
  • getClassGets one scheduled class by the occurrence id getSchedule returned.

    Arguments

    NameTypeRequired
    businessstringYes
    occurrenceIdstringYes

    Returns Pike13EventOccurrence

    interface Pike13EventOccurrence {
      id: number;
      event_id: number;
      name: string;
      description: string | null;
      service_id: number;
      location_id: number;
      start_at: string;
      end_at: string;
      url: string;
      timezone: string;
      state: string;
      full: boolean;
      staff_members: Array<{ id: number; name: string; has_profile: boolean }>;
      waitlist?: { full: boolean };
    
      checkout?: Pike13Checkout | null;
    }
    
    interface Pike13Checkout {
      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/pike13/getClass

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getClass("<business>", "<occurrenceId>");
  • getMyProfileGets the signed-in caller's own client record at a studio, with dependents (GET /api/v2/front/people/me?with_dependents=true).

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13Person

    // The signed-in records below are returned as Pike13 sends them (developer.pike13.com
    
    interface Pike13Person { id: number; first_name?: string; last_name?: string; email?: string; dependents?: Pike13Person[]; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getMyProfile

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getMyProfile("pranamoonyoga");
  • getPlanGets one membership or pass product's full terms by the id listPlans returned (GET /api/v2/front/plan_products/:id).

    Arguments

    NameTypeRequired
    businessstringYes
    planIdstringYes

    Returns Pike13PlanDetail

    interface Pike13PlanDetail {
      id: number;
      count: number | null;
      type: string;
      commitment_length: number | null;
      location_id: number | null;
      terms: string | null;
      group_rack_service_id: number | null;
      client_cancel_allowed: boolean;
      term_renewal_type: string | null;
      renewal_term_length: number | null;
      signup_fee_cents: number | null;
      signup_fee_tax_exempt: boolean;
      terms_acceptance_required: boolean;
      description_long: string | null;
      rollover_count: number | null;
      position: number | null;
      commitment_unit: string | null;
      terms_acceptance_type: string | null;
      product: { id: number; name: string; description: string | null; price_cents: number };
      services: Array<{ id: number; name: string }>;
      billing: {
        interval_unit: string | null;
        interval_count: number | null;
        days: unknown[];
        days_of_month: number[] | null;
        months_of_year: number[];
      };
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getPlan

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getPlan("<business>", "<planId>");
  • getScheduleLists a studio's scheduled classes and courses for a date range.

    Arguments

    NameTypeRequired
    businessstringYes
    args.fromstringYes
    args.tostring
    ISO 8601 instant.
    Yes
    args.locationIdnumber | stringNo
    args.serviceIdnumber | stringNo
    args.staffMemberIdnumber | stringNo
    args.statestring
    E.g. "active".
    No

    Returns Pike13EventOccurrence[]

    interface Pike13EventOccurrence {
      id: number;
      event_id: number;
      name: string;
      description: string | null;
      service_id: number;
      location_id: number;
      start_at: string;
      end_at: string;
      url: string;
      timezone: string;
      state: string;
      full: boolean;
      staff_members: Array<{ id: number; name: string; has_profile: boolean }>;
      waitlist?: { full: boolean };
    
      checkout?: Pike13Checkout | null;
    }
    
    interface Pike13Checkout {
      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/pike13/getSchedule

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getSchedule("pranamoonyoga", { from: { $daysFromNow: 1 }, to: { $daysFromNow: 8 } });
  • getScheduleSummaryCounts a studio's classes per day over a date range, for picking a day before listing it (GET /api/v2/front/event_occurrences/summary).

    Arguments

    NameTypeRequired
    businessstringYes
    args.fromstring
    ISO 8601 instant.
    Yes
    args.tostring
    ISO 8601 instant.
    Yes
    args.locationIdnumber | stringNo
    args.serviceIdnumber | stringNo
    args.staffMemberIdnumber | stringNo

    Returns Pike13ScheduleSummary

    type Pike13ScheduleSummary = Record<string, number>; // "YYYY-MM-DD" -> class count

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getScheduleSummary

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getScheduleSummary("pranamoonyoga", { from: { $daysFromNow: 1 }, to: { $daysFromNow: 8 } });
  • getServiceGets one service's full details by the id listServices returned (GET /api/v2/front/services/:id).

    Arguments

    NameTypeRequired
    businessstringYes
    serviceIdstringYes

    Returns Pike13ServiceDetail

    interface Pike13ServiceDetail {
      id: number;
      name: string;
      type: string;
      position: number;
      description: string | null;
      description_short: string | null;
      instructions: string | null;
      duration_in_minutes: number;
      enrollment_window_start_minutes: number;
      enrollment_window_end_minutes: number;
      free_cancellation_window_in_hours: number;
      clients_can_book: boolean;
      members_can_book: boolean;
      require_cc: boolean;
      require_plan: boolean;
      enrollment_window_blackout_minutes: number;
      calendar_color: number;
      category_id: number | null;
      category_name: string | null;
      pricing: {
        has_merchandise_price: boolean;
        number_of_free_visits: number;
        single_visit: {
          base_price: { currency_iso: string; price_cents: number; price_string: string };
          taxes: unknown[];
          plan_product_id: number | null;
        } | null;
      };
      cancellation: {
        free_cancellation_window_in_hours: number;
        cancellation_note: string | null;
      };
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getService

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getService("<business>", "<serviceId>");
  • getWaitlistEligibilitySays whether a full class takes a waitlist and what it requires (anonymous_allowed, can_waitlist, restrictions such as plan_required) for the…

    Arguments

    NameTypeRequired
    businessstringYes
    occurrenceIdstringYes

    Returns Pike13WaitlistEligibility

    interface Pike13WaitlistEligibility {
      can_waitlist: boolean;
      anonymous_allowed?: boolean;
      restrictions: Array<{ code: string; description: string }>;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/getWaitlistEligibility

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.getWaitlistEligibility("<business>", "<occurrenceId>");
  • listClassSeriesLists a studio's recurring class series (events) with their recurrence and service (GET /api/v2/front/events); takes the business as its Pike13…

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13EventSeries[]

    interface Pike13EventSeriesOccurrence {
      id: number;
      rrule?: string;
      repeat_end: number;
      day: string[];
      interval: number | null;
      rcount: number | null;
      rule_type: string | null;
      all_day: boolean | null;
      location_id: number;
      start_at: string;
      end_at: string;
      organizers: Array<{ id: number; name: string }>;
      until_at?: string;
      reified_to?: string;
    }
    
    interface Pike13EventSeries {
      id: number;
      name: string;
      service_id: number;
      service_type: string;
      start_time: string;
      end_time: string;
      created_at: string;
      updated_at: string;
      instructions: string | null;
      recurs: boolean;
      attendees: unknown[];
      icals: Pike13EventSeriesOccurrence[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listClassSeries

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listClassSeries("pranamoonyoga");
  • listLocationsLists a studio's locations with address, coordinates, phone and timezone (GET /api/v2/front/locations); takes the business as its Pike13 subdomain, a…

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13Location[]

    interface Pike13Location {
      id: number;
      name: string;
      address: string | null;
      latitude: number | null;
      longitude: number | null;
      phone: string | null;
      description: string | null;
      formatted_address: string | null;
      city: string | null;
      state_code: string | null;
      postal_code: string | null;
      country_code: string | null;
      timezone: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listLocations

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listLocations("pranamoonyoga");
  • listMyBusinessesLists the studios the signed-in caller has a Pike13 client account with (GET pike13.com/api/v2/account/businesses).

    Arguments

    None.

    Returns Pike13AccountBusiness[]

    interface Pike13AccountBusiness { id: number; name?: string; subdomain?: string; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listMyBusinesses

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listMyBusinesses();
  • listMyPlansLists the signed-in caller's memberships and passes at a studio.

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13PersonPlan[]

    interface Pike13PersonPlan { id: number; name?: string; start_date?: string; end_date?: string; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listMyPlans

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listMyPlans("pranamoonyoga");
  • listMyVisitsLists the signed-in caller's bookings at a studio.

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13Visit[]

    interface Pike13Visit { id: number; state?: string; event_occurrence_id?: number; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listMyVisits

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listMyVisits("pranamoonyoga");
  • listMyWaitlistEntriesLists the signed-in caller's waitlist entries and their state (pending, waiting, enrolled, removed, expired) (GET…

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13WaitlistEntry[]

    interface Pike13WaitlistEntry { id: number; state?: string; event_occurrence_id?: number; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listMyWaitlistEntries

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listMyWaitlistEntries("pranamoonyoga");
  • listMyWaiversLists the waivers the signed-in caller has signed at a studio.

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13Waiver[]

    interface Pike13Waiver { id: number; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listMyWaivers

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listMyWaivers("pranamoonyoga");
  • listPlansLists the memberships, class packs and passes a studio sells, with price, visit count, commitment, sign-up fee, which services each covers and…

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13PlanProduct[]

    interface Pike13PlanProduct {
      id: number;
      count: number | null;
      type: string;
      commitment_length: number | null;
      location_id: number | null;
      client_cancel_allowed: boolean;
      signup_fee_cents: number | null;
      description_long: string | null;
      position: number | null;
      commitment_unit: string | null;
      product: { id: number; name: string; description: string | null; price_cents: number };
      services: Array<{ id: number; name: string }>;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listPlans

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listPlans("pranamoonyoga");
  • listServicesLists what a studio offers.

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13Service[]

    interface Pike13Service {
      id: number;
      name: string;
      type: string;           // "GroupClass" | "Course" | "Appointment" | …
      description: string | null;
      position: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listServices

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listServices("pranamoonyoga");
  • listStaffLists a studio's staff members with bio and photo (GET /api/v2/front/staff_members); takes the business as its Pike13 subdomain, a…

    Arguments

    NameTypeRequired
    businessstringYes

    Returns Pike13StaffMember[]

    interface Pike13StaffMember {
      id: number;
      name: string;
      first_name: string;
      middle_name: string | null;
      last_name: string;
      bio: string | null;
      profile_photo: { x50: string; x100: string; x200: string; x400: string } | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/listStaff

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.listStaff("pranamoonyoga");
Act 4
  • bookClassBooks the signed-in caller (or a dependent) into a class by occurrence id (POST /api/v2/front/visits).

    Arguments

    NameTypeRequired
    businessstringYes
    occurrenceIdnumber | stringYes
    options.personIdnumber | string
    A dependent's person id (getMyProfile().dependents[].id); the caller when omitted.
    No

    Returns Pike13BookClassResult

    // A booking / waitlist entry Pike13 created; fields beyond id are the site's own, unmeasured signed in.
    interface Pike13CreatedVisit { id: number; state?: string; event_occurrence_id?: number; [k: string]: unknown }
    
    /** booked:false carries Pike13's own refusal codes (plan_required, credit_card_required, full, ...), nothing was bought. */
    type Pike13BookClassResult = { booked: true; visit: Pike13CreatedVisit } | { booked: false; reasons: string[] };

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/bookClass

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.bookClass("<business>", 1);
  • cancelVisitCancels one of the signed-in caller's bookings.

    Arguments

    NameTypeRequired
    businessstringYes
    visitIdnumber | stringYes

    Returns Pike13CancelResult

    interface Pike13CancelResult { canceled: true; id: string }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/cancelVisit

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.cancelVisit("<business>", 1);
  • joinWaitlistPuts the signed-in caller on the waitlist for a full class by occurrence id (POST /api/v2/front/waitlist_entries).

    Arguments

    NameTypeRequired
    businessstringYes
    occurrenceIdnumber | stringYes
    options.personIdnumber | string
    A dependent's person id (getMyProfile().dependents[].id); the caller when omitted.
    No

    Returns Pike13CreatedWaitlistEntry

    interface Pike13CreatedWaitlistEntry { id: number; state?: string; event_occurrence_id?: number; [k: string]: unknown }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/joinWaitlist

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.joinWaitlist("<business>", 1);
  • leaveWaitlistRemoves the signed-in caller from a class waitlist by the entry id listMyWaitlistEntries returned (DELETE /api/v2/front/waitlist_entries/:id).

    Arguments

    NameTypeRequired
    businessstringYes
    entryIdnumber | stringYes

    Returns Pike13CancelResult

    interface Pike13CancelResult { canceled: true; id: string }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/pike13/leaveWaitlist

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.pike13.leaveWaitlist("<business>", 1);

Use it from code