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
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/yogatreecollectiveOne 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/mcpSet it up in your clientBoth 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.
getEventGets one retreat or workshop by slug (from listEvents): its description and the external registration link found in its page body.Arguments
Name Type Required slugstringYes Returns
YogatreecollectiveEventinterface 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/getEventCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.getEvent("<slug>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.getEvent("<slug>"))curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/getEvent \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"slug":"<slug>"}'// The body of a run: the MCP run tool, or POST /v1/run return 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
YogatreecollectiveScheduleinterface 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/getScheduleCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.getSchedule();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.getSchedule())curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/getSchedule \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return 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
Name Type Required urlstringYes Returns
YtcSignUpTargetinterface 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/getSignUpTargetCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.getSignUpTarget("<url>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.getSignUpTarget("<url>"))curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/getSignUpTarget \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"<url>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.yogatreecollective.getSignUpTarget("<url>");getTeacherGets one teacher's profile by slug (from listTeachers): bio, styles, former studio and photo.Arguments
Name Type Required slugstringYes Returns
YogatreecollectiveTeacherProfileinterface 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/getTeacherCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.getTeacher("<slug>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.getTeacher("<slug>"))curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/getTeacher \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"slug":"<slug>"}'// The body of a run: the MCP run tool, or POST /v1/run return 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
YogatreecollectiveEventListinterface 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/listEventsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.listEvents();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.listEvents())curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/listEvents \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return 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
YogatreecollectiveTeacherListinterface 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/listTeachersCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.listTeachers();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.listTeachers())curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/listTeachers \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return 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
Name Type Required querystringYes Returns
YogatreecollectiveSearchinterface 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/searchSiteCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.yogatreecollective.searchSite("yoga");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.yogatreecollective.searchSite("yoga"))curl -X POST https://api.bowmark.ai/v1/sites/yogatreecollective/searchSite \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"yoga"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.yogatreecollective.searchSite("yoga");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/yogatreecollective/<function> - OpenAPI
/v1/sites/yogatreecollective/openapi.json