Yoga Tree Collective MCP server for AI agents

Let Claude, ChatGPT or your own agent read Yoga Tree Collective: 7 typed functions through one MCP server. No Yoga Tree Collective API key needed.

Functions
7
Sign-in
Not needed
Works with
MCP, HTTP, Node, Python

Connect

Just Yoga Tree Collective

An MCP server for Yoga Tree Collective 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/yogatreecollective
Every site

One MCP server for Yoga Tree Collective 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

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

Read 7
  • getEventGets one retreat or workshop by slug (from listEvents): its description and the external registration link found in its page body.

    Arguments

    NameTypeRequired
    slugstringYes

    Returns YogatreecollectiveEvent

    interface YtcEvent {
      slug: string;
      title: string;
      startDate: number;
      endDate: number;
      location: string | null;
      categories: string[];
      eventUrl: string;
    }
    
    interface YogatreecollectiveEvent {
      event: YtcEvent;
      description: string | null;
      registrationUrl: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/getEvent

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.getEvent("<slug>");
  • getScheduleReads the collective's weekly class timetable off /class-schedule: one row per class with day of week, start time, class name, teacher, any in-person…

    Arguments

    None.

    Returns YogatreecollectiveSchedule

    interface YtcScheduleClass {
      day: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
      time: string;
      className: string;
      teacher: string;
      note: string | null;
      signUpUrl: string | null;
    }
    
    interface YogatreecollectiveSchedule {
      classes: YtcScheduleClass[];
      lastModified: string | null;
      warnings: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/getSchedule

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.getSchedule();
  • getSignUpTargetFollows a class's SIGN UP link (from getSchedule().classes[].signUpUrl) or an event's registration link (from getEvent().registrationUrl) and reports…

    Arguments

    NameTypeRequired
    urlstringYes

    Returns YtcSignUpTarget

    interface YtcSignUpTarget {
      url: string;
      finalUrl: string | null;
      live: boolean;
      statusCode: number | null;
      provider: string | null;
      warnings: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/getSignUpTarget

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.getSignUpTarget("<url>");
  • getTeacherGets one teacher's profile by slug (from listTeachers): bio, styles, former studio and photo.

    Arguments

    NameTypeRequired
    slugstringYes

    Returns YogatreecollectiveTeacherProfile

    interface YtcTeacher {
      slug: string;
      name: string;
      photoUrl: string | null;
      styles: string[];
      formerStudio: string[];
      profileUrl: string;
    }
    
    interface YogatreecollectiveTeacherProfile {
      teacher: YtcTeacher;
      bio: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/getTeacher

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.getTeacher("<slug>");
  • listEventsLists the collective's retreats and workshops off /events?format=json, upcoming and past, with title, slug, start and end date, location and the…

    Arguments

    None.

    Returns YogatreecollectiveEventList

    interface YtcEvent {
      slug: string;
      title: string;
      startDate: number;
      endDate: number;
      location: string | null;
      categories: string[];
      eventUrl: string;
    }
    
    interface YogatreecollectiveEventList {
      upcoming: YtcEvent[];
      past: YtcEvent[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/listEvents

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.listEvents();
  • listTeachersLists the collective's teacher directory from /teacher-profile?format=json: name, slug, photo, styles taught (the item's tags) and former Yoga Tree…

    Arguments

    None.

    Returns YogatreecollectiveTeacherList

    interface YtcTeacher {
      slug: string;
      name: string;
      photoUrl: string | null;
      styles: string[];
      formerStudio: string[];
      profileUrl: string;
    }
    
    interface YogatreecollectiveTeacherList {
      teachers: YtcTeacher[];
      warnings: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/listTeachers

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.listTeachers();
  • searchSiteSearches the site's own Squarespace index (/api/search/GeneralSearch) for teachers, events and pages by keyword, returning title, type and URL per…

    Arguments

    NameTypeRequired
    querystringYes

    Returns YogatreecollectiveSearch

    interface YtcSearchHit {
      title: string;
      type: "teacher" | "event" | "page";
      url: string;
    }
    
    interface YogatreecollectiveSearch {
      hits: YtcSearchHit[];
      totalCount: number;
      warnings: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/yogatreecollective/searchSite

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.yogatreecollective.searchSite("yoga");

Use it from code