Find local service providers, see real prices and prepare a checkout the customer pays on.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Cancel a booking. Send booking_token (from prepare_booking) with idempotency_key, or, with the customer's agent grant as Authorization: Bearer, booking_id with idempotency_key. Never both authorities. Repeating the same cancel returns the same result.
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http booking https://trybeforeandafter.com/api/mcp
Cancel a booking. Send booking_token (from prepare_booking) with idempotency_key, or, with the customer's agent grant as Authorization: Bearer, booking_id with idempotency_key. Never both authorities. Repeating the same cancel returns the same result.
| Argument | Type | Description |
|---|---|---|
| reason | string | |
| booking_id | string | |
| booking_token | string | |
| idempotency_key* | string |
{
"type": "object",
"required": [
"idempotency_key"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 500
},
"booking_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"booking_token": {
"type": "string",
"pattern": "^bnbk1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]{43}$",
"maxLength": 1024,
"minLength": 1
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{16,128}$",
"maxLength": 128,
"minLength": 16
}
},
"additionalProperties": false
}Changing or rescheduling a booking is not supported and always returns unsupported_operation. Cancel and create a new request instead.
| Argument | Type | Description |
|---|---|---|
| start_at | string | |
| booking_id | string |
{
"type": "object",
"properties": {
"start_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-]\\d{2}:\\d{2})))$",
"maxLength": 40
},
"booking_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
}
},
"additionalProperties": false
}Send a booking request for the authorized customer. This is a request, not a confirmed appointment. Reusing the same idempotency_key with the same input returns the same booking.
| Argument | Type | Description |
|---|---|---|
| mode* | string | |
| notes | string | |
| start_at* | string | |
| service_id* | string | |
| provider_id* | string | |
| contact_name | string | |
| idempotency_key* | string | |
| expected_price_cents* | integer |
{
"type": "object",
"required": [
"service_id",
"provider_id",
"start_at",
"mode",
"expected_price_cents",
"idempotency_key"
],
"properties": {
"mode": {
"enum": [
"live_slot",
"preferred_time"
],
"type": "string"
},
"notes": {
"type": "string",
"maxLength": 500
},
"start_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-]\\d{2}:\\d{2})))$",
"maxLength": 40
},
"service_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"provider_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"contact_name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{16,128}$",
"maxLength": 128,
"minLength": 16
},
"expected_price_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 0
}
},
"additionalProperties": false
}Find providers that offer a service in a place, at any price basis: fixed total, per unit, diagnostic visit, estimate or quote. location is a market slug (atlanta, austin), a ZIP, a city or a county. Returns match (matched, no_provider_here, service_unrecognized), the canonical service, and each provider's matching services with their price basis, price, final_total (false: the amount is a base, with tax and/or conditional charges added; never quote it as the amount paid), tax, conditions and service page. A no-match is never filled with an unrelated service. No authorization needed.
| Argument | Type | Description |
|---|---|---|
| service* | string | |
| location* | string |
{
"type": "object",
"required": [
"service",
"location"
],
"properties": {
"service": {
"type": "string",
"maxLength": 160,
"minLength": 2
},
"location": {
"type": "string",
"maxLength": 80,
"minLength": 2
}
},
"additionalProperties": false
}Read a booking's status. Send booking_token (from prepare_booking) alone, or, with the customer's agent grant as Authorization: Bearer, exactly one of booking_id or the idempotency_key used to create it. Never both authorities.
| Argument | Type | Description |
|---|---|---|
| booking_id | string | |
| booking_token | string | |
| idempotency_key | string |
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"booking_token": {
"type": "string",
"pattern": "^bnbk1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]{43}$",
"maxLength": 1024,
"minLength": 1
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{16,128}$",
"maxLength": 128,
"minLength": 16
}
},
"additionalProperties": false
}Read one public offer by service_id. No authorization needed.
| Argument | Type | Description |
|---|---|---|
| service_id* | string | |
| provider_slug | string |
{
"type": "object",
"required": [
"service_id"
],
"properties": {
"service_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 64,
"minLength": 1
},
"provider_slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}Read one public service by provider_slug and stable service_id. Returns the same canonical detail the human page renders, plus a human URL and an action URL only when the service is requestable or sold at checkout. A service sold at checkout also carries checkout.booking: automatic (paying books the time and charges the total) or provider_accepts (charged when the provider accepts), and links.checkoutOffer for an exact priced total. No authorization needed.
| Argument | Type | Description |
|---|---|---|
| service_id* | string | |
| provider_slug* | string |
{
"type": "object",
"required": [
"provider_slug",
"service_id"
],
"properties": {
"service_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
},
"provider_slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}Read one provider's offers for one car (year, make, model): each offer's own page URL, title and price, the same the page and checkout use. Wheel repair is priced per wheel by wheel size; an oil change is an exact total for that car and oil package. booking is checkout (the page books and pays) or discuss_with_provider (no fixed price; the provider confirms first). No authorization needed.
| Argument | Type | Description |
|---|---|---|
| make* | string | |
| year* | integer | |
| model* | string | |
| provider_slug* | string |
{
"type": "object",
"required": [
"provider_slug",
"year",
"make",
"model"
],
"properties": {
"make": {
"type": "string",
"pattern": "^[^<>]+$",
"maxLength": 60,
"minLength": 1
},
"year": {
"type": "integer",
"maximum": 2099,
"minimum": 1980
},
"model": {
"type": "string",
"pattern": "^[^<>]+$",
"maxLength": 60,
"minLength": 1
},
"provider_slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}Read one provider's complete public service catalog, optionally resolving q against its service vocabulary. Includes stable ids, descriptions, turnaround, price model, quantity basis, provenance, requestability and explicit unknowns. No authorization needed.
| Argument | Type | Description |
|---|---|---|
| q | string | |
| provider_slug* | string |
{
"type": "object",
"required": [
"provider_slug"
],
"properties": {
"q": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"provider_slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 120,
"minLength": 1
}
},
"additionalProperties": false
}Prepare a checkout link for the customer. No sign-in or grant needed. Returns checkout_url and booking_token. Nothing is booked or charged until the customer opens checkout_url and completes checkout on Before + After; the agent never handles payment. Keep booking_token secret and use it with get_booking_status. idempotency_key must be a fresh random secret (32+ characters); reusing it with the same input returns the same checkout.
| Argument | Type | Description |
|---|---|---|
| mode* | string | |
| start_at | any | |
| service_id* | string | |
| provider_id* | string | |
| idempotency_key* | string | |
| expected_price_cents* | integer |
{
"type": "object",
"required": [
"service_id",
"provider_id",
"mode",
"expected_price_cents",
"idempotency_key"
],
"properties": {
"mode": {
"enum": [
"live_slot",
"preferred_time"
],
"type": "string"
},
"start_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-]\\d{2}:\\d{2})))$",
"maxLength": 40
},
{
"type": "null"
}
]
},
"service_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
},
"provider_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{32,128}$",
"maxLength": 128,
"minLength": 32
},
"expected_price_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 1
}
},
"additionalProperties": false
}Prepare one private, expiring link (handoff_url) that opens an exact checkout for the customer: provider, service and size or grade, quantity, car, drop-off time, drop-off or pickup, the price lines, total and terms, plus any name and email the customer authorized you to share. No sign-in or grant needed. Nothing is held, booked or charged; the customer reviews and pays with Apple Pay, Google Pay or a card. If the price, time or terms change before they pay, the page shows the change and asks them to confirm. Returns the transaction as priced now and what the customer still provides. idempotency_key must be a fresh random secret (32+ characters); reusing it with the same input returns the same link.
| Argument | Type | Description |
|---|---|---|
| size | string | |
| grade | string | |
| service | string | |
| vehicle | object | |
| customer | object | |
| drop_off | string | |
| quantity | integer | |
| fulfillment | string | |
| provider_slug* | string |
Tell Before + After where checkout got stuck: step (find_service, choose_option, choose_time, vehicle, contact_details, fulfillment, price, checkout_link, payment, other) and a plain-text comment on what went wrong. No authorization needed; add booking_token if you have one to tie the report to that checkout. Never include the customer's personal details. Only the Before + After team reads it.
| Argument | Type | Description |
|---|---|---|
| step* | string | |
| comment* | string | |
| booking_token | string |
{
"type": "object",
"required": [
"step",
"comment"
],
"properties": {
"step": {
"enum": [
"find_service",
"choose_option",
"choose_time",
"vehicle",
"contact_details",
"fulfillment",
"price",
"checkout_link",
"payment",
"other"
],
"type": "string"
},
"comment": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"booking_token": {
"type": "string",
"pattern": "^bnbk1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]{43}$",
"maxLength": 1024,
"minLength": 1
}
},
"additionalProperties": false
}Search public fixed-total service offers (the treatment field takes a service type slug). No authorization needed. Prices are fixed totals in USD cents with a price_valid_until time.
| Argument | Type | Description |
|---|---|---|
| market | string | |
| treatment | string | |
| provider_slug | string | |
| max_price_cents | integer |
{
"type": "object",
"properties": {
"market": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"treatment": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"provider_slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 120,
"minLength": 1
},
"max_price_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 0
}
},
"additionalProperties": false
}After the customer finished checkout, tell Before + After how its booking tool worked for you (booking_tool: rating 1-5 and/or comment) and what you saw of the provider's side (provider_observation comment, and observed yes/no facts: confirmation_received, details_kept, provider_confirmed, provider_update_received, photos_received, checkout_completed). booking_token from prepare_booking is required and is the only authority. Never rate the provider's work and never include the customer's personal details. Sending again replaces what you sent. Only the Before + After team reads it; it never counts toward any provider's rating.
| Argument | Type | Description |
|---|---|---|
| observed | object | |
| booking_tool | object | |
| booking_token* | string | |
| provider_observation | object |
{
"type": "object",
"required": [
"booking_token"
],
"properties": {
"observed": {
"type": "object",
"properties": {
"details_kept": {
"type": "boolean"
},
"photos_received": {
"type": "boolean"
},
"checkout_completed": {
"type": "boolean"
},
"provider_confirmed": {
"type": "boolean"
},
"confirmation_received": {
"type": "boolean"
},
"provider_update_received": {
"type": "boolean"
}
},
"additionalProperties": false
},
"booking_tool": {
"type": "object",
"properties": {
"rating": {
"type": "integer",
"maximum": 5,
"minimum": 1
},
"comment": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
},
"booking_token": {
"type": "string",
"pattern": "^bnbk1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]{43}$",
"maxLength": 1024,
"minLength": 1
},
"provider_observation": {
"type": "object",
"required": [
"comment"
],
"properties": {
"comment": {
"type": "string",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 24, 2026.
| idempotency_key* | string |
{
"type": "object",
"required": [
"provider_slug",
"idempotency_key"
],
"properties": {
"size": {
"type": "string",
"pattern": "^[a-z0-9-]{1,40}$"
},
"grade": {
"enum": [
"synthetic_blend",
"full_synthetic"
],
"type": "string"
},
"service": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"vehicle": {
"type": "object",
"required": [
"year",
"make",
"model"
],
"properties": {
"make": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"year": {
"type": "string",
"pattern": "^(19[5-9]\\d|20\\d\\d)$"
},
"model": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"engine": {
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false
},
"customer": {
"type": "object",
"properties": {
"email": {
"type": "string",
"maxLength": 200
},
"last_name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"first_name": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"drop_off": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-]\\d{2}:\\d{2})))$",
"maxLength": 40
},
"quantity": {
"type": "integer",
"maximum": 8,
"minimum": 1
},
"fulfillment": {
"enum": [
"drop_off",
"pickup"
],
"type": "string"
},
"provider_slug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"maxLength": 120,
"minLength": 1
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{32,128}$",
"maxLength": 128,
"minLength": 32
}
},
"additionalProperties": false
}