---
agent:
  instructions: "Search bjj.space for BJJ gyms, competitions, camps, seminars, athletes and organisations. GET the endpoint with q set to your query; results are Markdown, one section per page, each with its URL and, where the page has one, a .md link. Add type=gyms|events|camps|seminars|people|orgs to narrow."
  endpoint: "https://bjj.space/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://bjj.space/llms.txt"
---

# bjj.space MCP tools

> The reference for bjj.space's read-only MCP server at `https://bjj.space/mcp`, version 2.0.3: 16 tools, 6 prompts, 4 resources. Generated from the server's own definition.

## Tools

### `find_gyms`: Find BJJ gyms

Find Brazilian Jiu-Jitsu gyms near a place, in a country, by name or by team, with drop-in, free-trial and monthly-price filters. Nearest first when `near` is given. Thin facts (prices, drop-in, trials) come with `coverage`: a gym without one is unknown, not 'no'. For class times use find_classes; for one gym's timetable, prices and coaches use get_gym. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `near` (string): A place the user named ("Lisbon", "Austin, TX", "Kraków, Poland") or "lat,lng". A country or US state searches the whole area. Ask the user rather than guessing their location.
- `radius_km` (number): Search radius around `near` in km. Defaults to the city's own size (10-40 km). Range: 1-500.
- `country` (string): Limit to a country by name, e.g. "Portugal".
- `query` (string): Part of the gym's name, e.g. "gracie barra".
- `team` (string): A team/affiliation name, e.g. "Checkmat".
- `drop_in` (boolean): Only gyms that list a drop-in price.
- `free_trial` (boolean): Only gyms that list a free trial.
- `max_monthly_price_usd` (number): Only gyms listing a monthly price at or under this, in USD. Range: at least 1.
- `sort` (string): Default: distance when `near` is a city or point, else recommended. One of: distance, name, recommended.
- `limit` (integer): Results per page (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.
- `detail` (string): brief (default) or full: more facts per result, fewer results per page. One of: brief, full. Default brief.

Each result carries: `id`, `name`, `url`, `updated_at`, `city`, `country`, `distance_km`, `team`, `website`, `monthly_price`, `drop_in_price`, `free_trial`, `classes_per_week`.

Examples:

- "Which BJJ gyms in Lisbon allow drop-ins?": `find_gyms({"near":"Lisbon","drop_in":true})`
- "Checkmat gyms in Germany": `find_gyms({"country":"Germany","team":"Checkmat"})`

### `find_classes`: Find BJJ classes and open mats

Find classes on gyms' weekly timetables near a place: open mats, no-gi, kids, fundamentals, competition training, by day (a weekday, today, tonight, tomorrow or a date), time window, gi/no-gi and level. Times are the gym's local wall clock, labelled with its timezone. Timetables are what gyms publish weekly: for one-off cancellations this week check get_gym with sections [changes]. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `near` (string): A place the user named ("Lisbon", "Austin, TX", "Kraków, Poland") or "lat,lng". A country or US state searches the whole area. Ask the user rather than guessing their location.
- `radius_km` (number): Search radius around `near` in km. Defaults to the city's own size (10-40 km). Range: 1-500.
- `country` (string): Limit to a country by name, e.g. "Portugal".
- `day` (string): monday..sunday, today, tonight (today from 17:00), tomorrow, or YYYY-MM-DD.
- `days` (string[]): Several weekdays at once, e.g. ["tuesday", "wednesday", "thursday"] for a trip. Use instead of `day`. One of: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
- `from` (string): Earliest start, local HH:MM.
- `until` (string): Latest start, local HH:MM.
- `types` (string[]): Class types. Default: adult BJJ (bjj, nogi, fundamentals, advanced, open_mat, competition_training). Kids: kids_bjj. One of: bjj, nogi, wrestling, mma, muay_thai, boxing, judo, yoga, strength_conditioning, kids_bjj, kids_mma, open_mat, competition_training, fundamentals, advanced.
- `gi` (string): gi or nogi. Classes with no stated kit are kept. One of: gi, nogi.
- `level` (string): One of: all_levels, beginner, intermediate, advanced, kids.
- `limit` (integer): Results per page (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.
- `detail` (string): brief (default) or full: more facts per result, fewer results per page. One of: brief, full. Default brief.

Each result carries: `id`, `day`, `date`, `start`, `end`, `timezone`, `class`, `type`, `gi`, `level`, `gym`, `distance_km`, `next_date`, `change`.

Examples:

- "Where can I train no-gi in London on a Monday evening?": `find_classes({"near":"London","day":"monday","from":"17:00","gi":"nogi"})`
- "Open mats in Austin this weekend": `find_classes({"near":"Austin, TX","day":"saturday","types":["open_mat"]})`

### `get_gym`: Get one BJJ gym

One gym's facts (address, team, website, prices in local currency and USD, timezone) and, on request, its sections: timetable (the weekly classes, local times; filter with `day`), changes (cancelled or moved classes in the next 7 days), prices, coaches, programs, facilities, freshness (when bjj.space last checked it). Pass the id from find_gyms or the gym's bjj.space URL. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `id` (integer): The record's id from a find tool. Range: at least 1.
- `url` (string): Or the gym's bjj.space URL, path or slug.
- `sections` (string[]): Sections to include. Default: none (facts only). One of: timetable, changes, prices, coaches, programs, facilities, freshness.
- `day` (string): Only this weekday's classes in timetable. One of: sunday, monday, tuesday, wednesday, thursday, friday, saturday.

Each result carries: `id`, `name`, `url`, `updated_at`, `city`, `country`, `timezone`, `timetable`, `changes`, `prices`, `coaches`, `programs`, `facilities`, `freshness`.

Examples:

- "What classes does this gym run on Wednesdays?": `get_gym({"id":123,"sections":["timetable"],"day":"wednesday"})`
- "Any classes cancelled at my gym this week?": `get_gym({"url":"https://bjj.space/gyms/united-kingdom/london/los-banditos","sections":["changes"]})`

### `get_place`: Get a city's BJJ overview

A city's BJJ overview for trip planning: gym count and the best-matching gyms, the open mats on each weekday, and the events coming up (optionally between two dates). One call instead of three; follow up with find_gyms, find_classes or find_events for more. A place bjj.space does not hold answers with candidates or a no-match note, not an error.

Parameters:

- `place` (string, required): A city or town, e.g. "Lisbon" or "Austin, TX", or "lat,lng".
- `radius_km` (number): Search radius around `near` in km. Defaults to the city's own size (10-40 km). Range: 1-500.
- `date_from` (string): Events from this date (YYYY-MM-DD). Default: today.
- `date_to` (string): Events until this date (YYYY-MM-DD).
- `sections` (string[]): Default: all three. One of: gyms, open_mats, events.

Each result carries: `name`, `url`, `resolved_place`, `gym_count`, `gyms`, `open_mats`, `event_count`, `events`.

Examples:

- "I'm in Lisbon next week: where can I train?": `get_place({"place":"Lisbon"})`
- "What's on in Kraków in March?": `get_place({"place":"Kraków","date_from":"2027-03-01","date_to":"2027-03-31","sections":["events"]})`

### `find_events`: Find BJJ competitions, seminars and superfights

Find competitions, seminars and superfights near a place or in a country, between dates (default: from today), by name ("adcc 2026"), max price, series tier (1 = majors), open registration or live now. Seminars also filter by instructor and topic. Soonest first. For camps use find_camps; for one event's registration, prices, people, card or divisions use get_event; results: get_event_results. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `near` (string): A place the user named ("Lisbon", "Austin, TX", "Kraków, Poland") or "lat,lng". A country or US state searches the whole area. Ask the user rather than guessing their location.
- `radius_km` (number): Search radius around `near` in km. Defaults to the city's own size (10-40 km). Range: 1-500.
- `country` (string): Limit to a country by name, e.g. "Portugal".
- `kind` (string[]): Event kinds. Default: all three. Camps are find_camps. One of: competition, seminar, superfight.
- `date_from` (string): Events running on or after this date (YYYY-MM-DD). Default: today, or any date with `query`.
- `date_to` (string): Events starting on or before this date (YYYY-MM-DD).
- `query` (string): Words of the event's name, e.g. "adcc 2026", "pans".
- `max_price_usd` (number): Only events listing a top price at or under this, in USD. Range: at least 1.
- `weekend` (boolean): This weekend only: the coming Saturday and Sunday. Use instead of dates for "this weekend".
- `registration_open` (boolean): Only events whose registration is open today.
- `instructor` (string): Seminars only: part of an instructor's name.
- `topic` (string): Seminars only: a topic, e.g. "leg-locks", "guard-passing", "takedowns".
- `series_tier` (integer): Series tier: 1 = majors (ADCC, IBJJF Worlds), 2 = big regionals, 3 = the rest. Range: 1-3.
- `live` (boolean): Only events live on bjj.space right now (bouts on the mats, brackets running).
- `sort` (string): Default: soonest; relevance with `query`; nearest needs `near`. One of: soonest, nearest, relevance.
- `limit` (integer): Results per page (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.
- `detail` (string): brief (default) or full: more facts per result, fewer results per page. One of: brief, full. Default brief.

Each result carries: `id`, `name`, `url`, `updated_at`, `kind`, `status`, `start`, `end`, `year`, `city`, `country`, `distance_km`, `price`, `registration_url`, `ics_url`, `registration`, `live`.

Examples:

- "Competitions within 300 km of Lisbon before March": `find_events({"near":"Lisbon","radius_km":300,"kind":["competition"],"date_to":"2027-03-01"})`
- "Leg lock seminars in the UK": `find_events({"country":"United Kingdom","kind":["seminar"],"topic":"leg-locks"})`

### `find_camps`: Find BJJ training camps

Find BJJ training camps by destination region, country or place, month or dates (default: upcoming), theme (beach, surf, women's...), level, gi focus, intensity, what is included, language, kids/family/solo, max price, length in days and instructor. Soonest first. For one camp's details (included, training split, good to know, people) use get_event; competitions and seminars are find_events. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `near` (string): A place the user named ("Lisbon", "Austin, TX", "Kraków, Poland") or "lat,lng". A country or US state searches the whole area. Ask the user rather than guessing their location.
- `radius_km` (number): Search radius around `near` in km. Defaults to the city's own size (10-40 km). Range: 1-500.
- `country` (string): Limit to a country by name, e.g. "Portugal".
- `query` (string): Words of the camp's name or place.
- `month` (string): Camps starting in this month, YYYY-MM.
- `date_from` (string): Camps starting on or after this date (YYYY-MM-DD).
- `date_to` (string): Camps starting on or before this date (YYYY-MM-DD).
- `destination` (string[]): Region slugs (any of): europe, north-america, south-america, central-america-caribbean, asia, southeast-asia, middle-east, africa, oceania. For one country use `country`.
- `theme` (string[]): Theme slugs (any of), e.g. beach, surf, womens, yoga-retreat, luxury, mountains.
- `skill_level` (string): Also matches all-levels camps and camps that state no level. One of: all_levels, beginner_friendly, intermediate, advanced, competitors.
- `gi_focus` (string): Also matches camps doing both and camps that state neither. One of: gi, no_gi, both.
- `intensity` (string): One of: relaxed, balanced, intense, elite.
- `primary_goal` (string): The camp's main goal, as its organiser answered. One of: technical, conditioning, retreat.
- `stated_only` (boolean): With skill_level or gi_focus: only camps whose organiser stated it (default also includes camps that do not say).
- `included` (string[]): Every item listed must be in the price. One of: all_training, accommodation, meals, airport_transfer, laundry, trips, kit, media.
- `language` (string): A language taught in, e.g. "English".
- `kids_friendly` (boolean)
- `family_friendly` (boolean)
- `solo` (boolean): Good for solo travellers.
- `max_price_usd` (number): Camps with a listed price at or under this, in USD. Range: at least 1.
- `min_days` (integer): Range: 1-120.
- `max_days` (integer): Range: 1-120.
- `instructor` (string): Part of an instructor's name.
- `sort` (string): Default: soonest (bookable first within a month); nearest needs `near`. One of: soonest, nearest, price, duration.
- `limit` (integer): Results per page (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.
- `detail` (string): brief (default) or full: more facts per result, fewer results per page. One of: brief, full. Default brief.

Each result carries: `id`, `name`, `url`, `updated_at`, `kind`, `status`, `start`, `end`, `city`, `country`, `distance_km`, `price`, `duration_days`, `booking`, `camp`.

Examples:

- "BJJ camps in Thailand in July 2027": `find_camps({"country":"Thailand","month":"2027-07"})`
- "Beginner-friendly beach camps in Europe with accommodation": `find_camps({"destination":["europe"],"theme":["beach"],"skill_level":"beginner_friendly","included":["accommodation"]})`

### `get_event`: Get one BJJ event

One competition, camp, seminar or superfight: dates, place, organiser, series, price, registration link and whether it is open, plus on request: registration (all listed dates), prices (ticket types), people (instructors, headliners, competitors), camp (included, training, good to know), card (a superfight's bouts), divisions (this event's, else the series' last edition's). Pass the id from find_events or find_camps, or the URL. Who won: get_event_results. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `id` (integer): The record's id from a find tool. Range: at least 1.
- `url` (string): Or the event's bjj.space URL, path or slug.
- `division_filter` (string): Only division labels holding every word, e.g. "master 3 brown".
- `sections` (string[]): Sections to include. Default: none (facts only). One of: registration, prices, people, camp, card, divisions.

Each result carries: `id`, `name`, `url`, `updated_at`, `kind`, `status`, `start`, `end`, `city`, `country`, `registration`, `registration_dates`, `ticket_types`, `people`, `camp`, `card`, `divisions`, `division_labels`.

Examples:

- "When does registration close for this competition, and what divisions did it run last year?": `get_event({"id":12180,"sections":["registration","divisions"]})`
- "What's included in this camp?": `get_event({"url":"https://bjj.space/camps/bjj-globetrotters-caribbean-island-camp-2027","sections":["camp"]})`

### `get_series`: Get a BJJ event series

One event series (a league, championship or tour, e.g. IBJJF World Championship, ADCC Trials): organiser, tier (1 = major), ruleset, website, edition count, upcoming editions, past editions (newest first, paged with cursor) and the divisions its last past edition ran. Pass an id, URL or slug. For one edition use get_event; to find events by place or date use find_events. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `id` (integer): The series id (find_events and get_event return it under series). Range: at least 1.
- `url` (string): Or its bjj.space URL (/events/series/...), path or slug.
- `division_filter` (string): Only division labels holding every word, e.g. "master 3 brown".
- `sections` (string[]): Default: all three. One of: upcoming, past, divisions.
- `limit` (integer): Editions per list (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): past_next_cursor from the previous answer: the next page of past editions.

Each result carries: `id`, `name`, `url`, `updated_at`, `tier`, `kind`, `organizer`, `editions`, `upcoming`, `past`, `past_total`, `past_next_cursor`, `last_edition_divisions`, `division_labels`.

Examples:

- "When is the next IBJJF World Championship, and where were the last ones?": `get_series({"url":"ibjjf-world-championship"})`
- "What divisions did the last Grappling Industries event run?": `get_series({"url":"https://bjj.space/events/series/grappling-industries","sections":["divisions"]})`

### `find_people`: Find BJJ athletes and instructors

Find athletes and instructors by name, belt, nationality, team or verified status. Rows carry belt, nationality, team, a W-L record and medal counts. Names are matched by search and returned as candidates: confirm the right person before using their id. For one person's results, titles and lineage use get_person; for meetings between two people use compare_people. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `query` (string): A name or part of one, e.g. "gordon ryan".
- `belt` (string): Only people showing this belt. One of: white, blue, purple, brown, black, coral, red.
- `nationality` (string): A country name, e.g. "Brazil".
- `team` (string): A team/affiliation name, e.g. "Checkmat": people on its roster or at one of its gyms now.
- `verified` (boolean): Only profiles bjj.space has verified.
- `limit` (integer): Results per page (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.

Each result carries: `id`, `name`, `url`, `updated_at`, `nickname`, `belt`, `nationality`, `team`, `verified`, `record`, `medals`.

Examples:

- "What's Gordon Ryan's record?": `find_people({"query":"gordon ryan"})`
- "Black belts from Brazil who compete for Checkmat": `find_people({"belt":"black","nationality":"Brazil","team":"Checkmat"})`

### `get_person`: Get one BJJ athlete or instructor

One person's facts (belt, nationality, teams represented) and, on request: record (W-L-D, medals), results (newest first, 20 per page: event, date, division, outcome, opponent, method), titles (ADCC, IBJJF Worlds, Pans, Europeans), lineage, gyms, socials. Pass the id from find_people or the person's bjj.space URL; for a name call find_people first. For two people's meetings use compare_people. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `id` (integer): The record's id from a find tool. Range: at least 1.
- `url` (string): Or the person's bjj.space URL, path or slug.
- `sections` (string[]): Sections to include. Default: record. One of: record, results, titles, lineage, gyms, socials.
- `results_offset` (integer): Skip this many results (newest first): the next page of `results`. Range: 0-5000. Default 0.

Each result carries: `id`, `name`, `url`, `updated_at`, `belt`, `nationality`, `team`, `teams`, `record`, `results`, `results_offset`, `results_total`, `titles`, `lineage`, `gyms`, `socials`.

Examples:

- "What has Gordon Ryan won recently?": `get_person({"url":"https://bjj.space/people/gordon-ryan","sections":["record","results","titles"]})`
- "Who is this black belt's lineage?": `get_person({"id":123,"sections":["lineage"]})`

### `get_team`: Get one BJJ team

Get one team (affiliation, e.g. Checkmat, Alliance): its gym count, the countries it has gyms in, and on request its gyms (filter with `country`, 25 per page) and roster (listed athletes and coaches with their years). For gyms of a team near a place use find_gyms with `team`; for its athletes by belt or nationality use find_people with `team`; for one gym use get_gym. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `id` (integer): The record's id from a find tool. Range: at least 1.
- `url` (string): Or the team's bjj.space URL, path or slug ("checkmat").
- `sections` (string[]): Default: gyms. One of: gyms, roster.
- `country` (string): Only the team's gyms in this country, e.g. "Germany".
- `gyms_offset` (integer): Skip this many gyms: the next page. Range: 0-5000. Default 0.

Each result carries: `id`, `name`, `url`, `updated_at`, `gym_count`, `country_count`, `countries`, `gyms`, `gyms_total`, `gyms_offset`, `roster`.

Examples:

- "Which Checkmat gyms are in Germany?": `get_team({"url":"checkmat","country":"Germany"})`
- "Who trains for this team?": `get_team({"id":12,"sections":["roster"]})`

### `get_event_results`: Get a BJJ event's results

Results of one competition or superfight card: champions per division (or the card's bouts and winners), divisions with medallists (25 per page), one division's bracket (`division`), team medals, what is live now, and one athlete's path (`athlete`: a person id; answers "when does X fight"). Pass the event id or URL from find_events or get_event. For a person's career use get_person. An event id or URL bjj.space does not hold answers with a no-match note, not an error; an unknown `athlete` id or other bad argument is an error naming the fix.

Parameters:

- `id` (integer): The record's id from a find tool. Range: at least 1.
- `url` (string): Or the event's bjj.space URL, path or slug.
- `sections` (string[]): Default: champions, or only the division/athlete asked for; live is added while the event runs. One of: champions, divisions, division, team_medals, live.
- `division` (string): A division id or label from the divisions section: its bouts in order.
- `athlete` (integer): A person id (from find_people): that athlete's bouts and next bout here. Range: at least 1.
- `division_filter` (string): Only divisions whose label holds every word, e.g. "master 3 brown" or "female no-gi".
- `divisions_offset` (integer): Skip this many divisions: the next page. Range: 0-5000. Default 0.
- `bouts_offset` (integer): Skip this many bouts of a fight card or a division (32 per page, final first). Range: 0-5000. Default 0.

Each result carries: `id`, `name`, `url`, `updated_at`, `format`, `recap`, `champions`, `champions_total`, `divisions`, `divisions_total`, `divisions_offset`, `division`, `bouts`, `bouts_total`, `bouts_offset`, `team_medals`, `live`, `athlete`.

Examples:

- "Who won the black belt divisions at this event?": `get_event_results({"url":"https://bjj.space/events/adcc-2024","sections":["champions"]})`
- "When does this athlete fight next?": `get_event_results({"id":123,"athlete":456})`

### `compare_people`: Compare two BJJ athletes head to head

Head-to-head between two athletes: every meeting bjj.space holds (date, event, division, outcome from person_a's side, method) and the tally. Takes ids or bjj.space URLs only: for a name, call find_people first and confirm the person. It covers only matches bjj.space holds, not a full career; for one person's record use get_person. Zero meetings is a valid answer with a 0-0 tally. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `person_a` (integer or string, required): A person's id from find_people, or their bjj.space URL. Not a name.
- `person_b` (integer or string, required): A person's id from find_people, or their bjj.space URL. Not a name.

Each result carries: `person_a`, `person_b`, `meetings`, `summary`.

Examples:

- "Has Gordon Ryan ever fought Felipe Pena?": `compare_people({"person_a":"https://bjj.space/people/gordon-ryan","person_b":"https://bjj.space/people/felipe-pena"})`
- "Head to head between these two": `compare_people({"person_a":101,"person_b":202})`

### `find_content`: Find BJJ podcasts, videos, articles, guides and products

Find BJJ media and products on bjj.space: podcast episodes, videos, news articles, bjj.space's own guides (rules, belts, etiquette), or marketplace products (instructionals, gis, gear). Pick one `kind`; add `query` for a topic or a name ("gordon ryan", "leg locks"); without it the newest come first. For gyms, events or athletes use find_gyms, find_events or find_people; for a name of unknown type use search. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `kind` (string, required): podcast, video, article, guide (bjj.space's own explainers) or product (marketplace). One of: podcast, video, article, guide, product.
- `query` (string): Words to match in the title, summary, show or vendor.
- `limit` (integer): Results per page (default 10, max 25). Range: 1-25. Default 10.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.
- `detail` (string): brief (default) or full: more facts per result, fewer results per page. One of: brief, full. Default brief.

Each result carries: `id`, `name`, `url`, `updated_at`, `kind`, `date`, `source`, `summary`, `duration`, `category`, `price`.

Examples:

- "Any recent podcast episodes with Gordon Ryan?": `find_content({"kind":"podcast","query":"gordon ryan"})`
- "Recommend a leg lock instructional": `find_content({"kind":"product","query":"leg lock"})`

### `search`: Search bjj.space by name

Free-text search across everything on bjj.space (gyms, cities, competitions, camps, seminars, athletes, organisations, media, products) by name, for when the type is unknown or a typed tool found nothing. Each hit gives its type, url and the tool that reads it. For filtered questions (near a place, by date, drop-in, belt) use the typed find_* tools instead. Each answer is one page with `total` and `has_more`; pass `next_cursor` back for the next. No match is an empty list, not an error; bad arguments return an error naming the fix.

Parameters:

- `query` (string, required): A name or a few words, e.g. "atos jiu-jitsu".
- `type` (string): Narrow to one type (up to 10 hits instead of 5 per type). One of: cities, gyms, events, camps, seminars, people, orgs.
- `cursor` (string): next_cursor from the previous page; repeat the same arguments with it.

Each result carries: `type`, `name`, `url`, `detail`, `markdown_url`, `read_with`, `holds`.

Examples:

- "What is Atos?": `search({"query":"atos"})`
- "Find the Pan Ams": `search({"query":"pan american championship","type":"events"})`

### `read_page`: Read a bjj.space page

Read one public bjj.space page as Markdown (YAML front matter with its facts, then the details), for pages no typed tool covers: organisations, the homepage, or a URL the user pasted. Long pages are cut with a note. For gyms, events, athletes, teams, series and cities the typed get_* tools answer in fewer bytes and with structure. An id or URL bjj.space does not hold answers with a no-match note, not an error; bad arguments return an error naming the fix.

Parameters:

- `url` (string, required): A bjj.space URL or path, e.g. "/orgs/123" or "https://bjj.space/people/gordon-ryan".

Each result carries: `url`, `kind`, `markdown`, `truncated`, `typed_tool`.

Examples:

- "What does this organisation do? https://bjj.space/orgs/1234": `read_page({"url":"https://bjj.space/orgs/1234"})`
- "What is on the bjj.space homepage?": `read_page({"url":"/"})`

## Prompts

- `find-a-gym` (Find a gym to train at): Gyms near a place, narrowed by what matters (drop-in, trial, no-gi, kids, price), then the best fits compared. Arguments: `place` (required), `wants`.
- `plan-a-training-trip` (Plan a training trip): Where to train on a trip: a city's drop-in gyms, its open mats by day, and events during the stay. Arguments: `city` (required), `dates`, `style`.
- `whats-on` (What's on): BJJ events and open mats in a city or country for a weekend or a date range, with calendar links. Arguments: `place` (required), `when`.
- `competition-calendar` (Plan a competition calendar): Competitions within reach before a date, with price, registration link and deadline where known. Arguments: `near` (required), `until`, `radius_km`.
- `scout-an-athlete` (Scout an athlete): An athlete's record, belt, team, lineage and recent results, and their meetings with an opponent. Arguments: `athlete` (required), `opponent`.
- `follow-an-event` (Follow an event): Follow a competition or superfight card: who fights when, the live state, results and champions. Arguments: `event` (required), `athlete`.

## Resources

- `bjj://coverage` (Coverage: which gym facts bjj.space knows, per country): Per country, the share of gyms that list a timetable, monthly price, drop-in and free trial. Read it before saying 'no gyms offer X': a missing fact is unknown.
- `bjj://glossary` (Glossary: belts, event kinds, class types): What the belt ranks, event kinds (competition, superfight, seminar, camp) and class types (open_mat, nogi, fundamentals...) mean on bjj.space.
- `bjj://citing-and-terms` (Citing bjj.space, and the terms of use): How to cite bjj.space records in answers, the usage terms (free with a link; not for copying the database) and the rate limit.
- `bjj://changelog` (Changelog): What changed in each version of the bjj.space MCP server.

## Changelog

### 2.0.3 (2026-11-27)

- The registry listing names its public repo, github.com/buzoku-com/bjj.space-mcp.

### 2.0.2 (2026-11-27)

- Tool descriptions say how paging, an empty answer, an unknown id and a bad argument behave.

### 2.0.1 (2026-11-27)

- Every tool's annotations carry its title, for directories that read annotations.title.

### 2.0.0 (2026-11-27)

- Intent tools replace search_bjj_space and get_page: typed filters (place and radius, dates, kind, drop-in, belt), structured results with an output schema, and the same facts as compact Markdown.
- Places resolve against bjj.space's own gyms and events; an ambiguous name returns candidates.
- Thin facts are unknown (null), never 'no', and filtered answers carry coverage.
- Six prompts, four resources (coverage, glossary, citing-and-terms, changelog) and docs at /ai/tools.
- Lists page with a cursor inside an ~8 KB answer budget.

### 1.0.1 (2026-11-26)

- search_bjj_space and get_page: a search by name or place, and any public page as Markdown.

## Terms

Free to use in answers with a link to bjj.space; not for copying the database. Setup guides: [Claude](https://bjj.space/ai/claude), [ChatGPT](https://bjj.space/ai/chatgpt), [Cursor](https://bjj.space/ai/cursor), [VS Code](https://bjj.space/ai/vscode), [Gemini CLI](https://bjj.space/ai/gemini).
