Connect Claude, ChatGPT or Grok to OX Works: the MCP server and API, the booking tools, a test plate for reviewers, limits and privacy.
AI assistants can book a visit at OX Works for you. They get the same prices and free times as the website. You pay at pick-up, and you normally get an SMS and an e-mail with a link to change or cancel the visit.
Connect
MCP server: https://oxworks.lv/mcp (Streamable HTTP, no sign-in).
Claude: Settings, Connectors, Add custom connector, then paste the MCP server URL.
ChatGPT: Settings, Apps & Connectors, add a custom connector with the MCP server URL (where your plan offers it).
Grok: grok.com, Connectors, New Connector, Custom, then the MCP server URL (where your plan offers it); or the xAI API remote MCP tool.
Developers: the REST API at https://oxworks.lv/api/agent/v1 (OpenAPI: https://oxworks.lv/api/agent/v1/openapi.json; error codes: https://oxworks.lv/api/agent/v1/errors).
Tools
book_visit makes a real booking, so your assistant should ask you to confirm before it books.
list_cars (List cars): List the car makes and models OX Works prices online, with the make and model keys the other tools take. A make that is not in the list can still be typed in as make and model: it books a diagnostic visit, price on request. Needs nothing; lang is optional.
list_services (List services): List the services OX Works offers for one car, with duration, net price, VAT rate and gross price in EUR. A service without a fixed price is marked price on request. Needs make and model; lang is optional.
recommend_services (Recommend services): Suggest which services fit a short description of what is wrong with the car. Returns catalogue service ids and names with a reason code, never free text. Needs make, model and symptom (3 to 500 characters); lang is optional.
get_quote (Get quote): Price a set of services for one car: each line and the totals as net, VAT and gross in EUR, the total duration, and any diagnostics line added automatically. Needs make, model and one to eight service ids.
find_slots (Find slots): Find free drop-off times for a set of services on one car. Returns signed slot ids with the date, start time and pick-up time, plus a few suggested times spread across the period. Needs make, model and service ids; from and to (YYYY-MM-DD, at most 31 days apart) are optional.
book_visit (Book visit): Book a visit at OX Works for a customer in a slot from find_slots. Needs the slot id, make, model, service ids, plate, name, phone, email and an idempotency key (16 to 64 characters, unique per booking); a description of the problem is optional. The customer gets an SMS and an email with a link to change or cancel the visit, and pays at pick-up. Repeating the call with the same idempotency key returns the same booking only for the same plate and phone; with another plate or phone it is a new booking. The same key with the same plate and phone but another slot or other services is refused (idempotency_key_reused).
get_booking (Get booking): Look up one booking with its manage token (the token in the customer's change-or-cancel link). Returns the status, start and pick-up time, car make and model, the services, and whether the booking can still be changed or cancelled. It never returns the plate or contact details.
reschedule_booking (Reschedule booking): Move a booking to another free slot. Needs the manage token and a new slot id from find_slots for the same car and services. find_slots does not offer times that overlap the current visit; search with the booking's services and quantities. get_booking lists each service with its quantity: put a service id in service_ids once per unit (a service with quantity 2 goes in twice).
cancel_booking (Cancel booking): Cancel a booking. Needs the manage token. A cancelled booking cannot be restored; book a new visit instead.
Testing
Use the plate OX-TEST to run the whole flow without a real booking: nothing is booked and no SMS or e-mail is sent. The phone number must still be in a real format (it is checked like any other); nobody is contacted for a test booking. The booking_ref it returns is the token for get_booking, reschedule_booking and cancel_booking. Test bookings expire after 24 hours.
Limits
Fair-use limits apply. Heavy use may be refused with a time to wait before trying again. Agent booking may be paused at times; you can always book on the website instead.
Privacy and support
How we handle your data: https://oxworks.lv/en/privacy. Questions: service@oxworks.lv.