Workshop.bike MCP Server
Connect your AI assistant (Claude Desktop, Cursor, ChatGPT, …) to Workshop.bike so it can answer questions about your bikes, components and rides — and even make changes for you, like booking a service.
Server URL
Connecting securely
When you connect an assistant, you'll see a consent screen here first — nothing is read or changed until you approve, and you never hand over a password. You can revoke an app's access at any time under Connected apps.
Permissions
-
read:bikesRead your bikes, components and mount history -
read:ridesRead your rides, services and timeline -
read:catalogSearch the product catalog (chains, tires, …)
Available tools
Tool descriptions are what the AI reads to decide which one to call; the originals are in English for protocol stability.
get_user_info
User profile
Returns the connected athlete's profile, default bike, lifetime ride totals, and unit preference. Call this at the start of every conversation to learn the context the assistant should reason about — units, default bike, who the user actually is.
list_bikes
List bikes
Lists every bike the user can see — bikes they own plus bikes shared with them via a team. Each entry includes the type, manufacturer, model, year, lifetime ride count and distance, and an `is_shared` flag so the assistant can distinguish owned from co-managed bikes. Sorted by name.
get_bike_details
Bike details
Returns a single bike with the components currently mounted on it (chain, cassette, tires, …), each component's lifetime distance and maintenance status, plus recent ride totals and any due services. Use when the user asks about a specific bike.
list_components
List components
Lists components owned by the user. Filter by bike to see what's currently mounted on a given bike, by category to see all tires / all chains, or by status to include retired components. Each entry carries lifetime distance and a `needs_replacement` flag derived from the product's recommended_mileage.
get_component_details
Component details
Returns a single component with its full mount history (every bike it's been mounted on, with installed/removed dates and distance ridden during each mount period). Use for diagnosing wear, planning replacement, or answering 'how many km has this chain done in total?'.
list_maintenance
Maintenance backlog & upcoming services
One call for everything maintenance-related: components past their replacement mileage AND service intervals (wax, clean, inspect, charge) that are due or coming up — for both components and equipment. `threshold_percentage` (default 80) controls how early upcoming work shows up; set 100 to get only items already overdue. Results are sorted most urgent first. Ideal to call proactively at the end of a ride or day so you can warn the user about what's coming up at their bike or gear.
pre_ride_check
Pre-ride check
Call before the user starts a ride or plans a workout. Evaluates whether the bike is ready: components past their replacement mileage (block), service intervals that are overdue or will become due during this ride (pass `planned_distance_km` / `planned_duration_minutes` if known — e.g. from the planned workout), charge intervals on default equipment, the equipment the defaults would assign, plus a fixed checklist. Pass `start_at` (and `lat`/`lon` if not near the last ride) to check lights for riding in twilight or the dark, and `expected_temperature_c` / `expected_precipitation_mm` from a weather forecast to check clothing and rain gear against what the user usually wears in such conditions. Each check has a severity (block / warn / info), an English message and the tool that fixes it. `missing_context` lists parameters that would enable more precise checks — ask for them instead of assuming. Defaults to the user's default bike.
post_ride_check
Post-ride check
Call after a ride was imported or mentioned. Reports thresholds this ride pushed over (component replacement, service intervals), a bike that differs from the user's default bike for the activity type, default equipment missing from the ride, and equipment that didn't suit the ride's weather or light (no lights in the dark, clothing the user doesn't usually wear at that temperature or in rain) — each with severity, message and the tool that fixes it. `open_questions` are questions to ask the user before changing anything (e.g. whether the chain was already replaced).
list_rides
List rides
Lists the user's rides, newest first. Optional filters for date range and bike. Each ride includes distance, duration, elevation gain, activity type and whether it was imported from Strava/Garmin/Wahoo. Defaults to the last 30 days, capped at 50 rides per call — pass explicit `from` and `to` for longer ranges, or `limit` up to 200.
get_ride_details
Ride details
Returns a single ride with its full metric set: power, heart rate, cadence, speed where available, plus conditions (weather, surface, road), description, the equipment used and the components mounted on the bike at the time. Use for 'how did my ride go on day X?' questions.
get_timeline
Bike timeline
Returns the maintenance and component timeline for a bike: when components were installed, replaced or removed; when services were performed. Useful for 'when did I last change the chain on my road bike?'. Ordered newest first.
list_services
List services
Lists service events (workshop visits, replacements, checks). Each entry includes the bike, performed_at date, service_type, and a brief notes field. Use for 'when did I last service my chain?' or planning the next big workshop visit.
get_service_details
Service details
Returns a single service event with every action performed (component replaced, component installed, check, lube, etc.), the components touched and the consumable product used (wax, lube, cleaner).
list_equipment
List equipment
Lists the user's equipment — shoes, helmets, clothing — with usage stats (rides used, total distance) and whether each item is past its recommended lifespan, plus its `defaults` — the bikes, activity types or all rides it is auto-assigned to.
search_products
Search catalog
Searches the product catalog of wear parts and equipment. Returns name, manufacturer, category and the manufacturer's recommended mileage where known. Use for 'what brake pads should I buy for SRAM Force?'.
complete_maintenance
Complete maintenance
Marks a due service interval (wax, clean, lube, adjust, inspect, charge) as completed. Pass the `service_interval_id` from `list_maintenance`. Records the service against the relevant bike and resets the interval's due clock so it drops out of the maintenance backlog. Optional `performed_at` (ISO-8601, defaults to now), `notes` and `product_id` — the consumable actually used (defaults to the interval's product, null for none). Requires the `write` permission — if the user hasn't granted it, ask them to reconnect Workshop.bike with write access.
create_bike
Create Bike
Create a new bike for the current user. Returns the new bike details.
create_component
Create Component
Create a new component (chain, cassette, tire, …) owned by the current user. Link a catalog product with product_id from search_products, or pass new_product to add a missing product to the catalog (submitted for review). Put the variant (size, ratio, width) into new_product.variant_name and model number/specs into details — never into name.
mount_component_to_bike
Mount Component to Bike
Mount a component onto a bike, recording the installation date. Parts that exist front and rear (`position_required` in list_components — tires, inner tubes, brake pads/rotors/calipers, cables, shifters, hubs, bearings) need a `position` (front or rear); ask the user if it is unclear. Requires the `write` permission.
unmount_component
Unmount component
Removes a component from the bike it is currently mounted on by recording a removal date (defaults to now). Mileage stops counting from that date. Combine with mount_component_to_bike to rotate a component (e.g. a wheelset) to another bike. Requires the `write` permission.
replace_component
Replace component
Swaps a mounted component for another component of the user (e.g. a new chain from the inventory) in one step and logs it as a replacement service with a `reason` (wear, damage, upgrade, preventive, flat_tire, broken) and optional `notes` — ask the user for the reason if it isn't clear. The old mount ends and the new component is mounted on the same bike at the same date (defaults to now), taking over the old position unless `position` is given. Set `retire_old` when the old part is worn out — otherwise it goes back to the inventory. To replace with a catalog product, call create_component first. Requires the `write` permission.
set_component_position
Set component position
Sets the position (front or rear) of a component on the bike it is currently mounted on, e.g. for a tire that was mounted without one. Changes the existing mount in place, so mount history and mileage stay intact — use this instead of unmount + mount. Requires the `write` permission.
retire_component
Retire component
Marks a component as retired (worn out, discarded) at a date (defaults to now). A still-mounted component is unmounted at the same date, so mileage stops counting. Retired components no longer show up in the inventory. Pass a `reason` (wear, damage, upgrade, preventive, flat_tire, broken) and optional `notes` to log the retirement as a service on the bike the component was last mounted on — ask the user for the reason if it isn't clear. Without a reason no service is logged (required for components that were never mounted). Requires the `write` permission.
create_bike_from_template
Create bike from template
Instantiate a bike template: creates the bike and all its components in one step. Use list_bike_templates (Phase 2) to find template IDs.
create_equipment
Create Equipment
Create a new equipment item (helmet, shoes, clothing, lights, …) owned by the current user. Link a catalog product with product_id from search_products, or pass new_product to add a missing product to the catalog (submitted for review). Optional defaults (default_for_all, default_bike_ids, default_activity_types) auto-assign the item to new rides.
update_equipment_defaults
Update equipment defaults
Replaces the defaults that auto-assign an equipment item to newly created rides: all rides (default_for_all), specific bikes (default_bike_ids) and/or activity types (default_activity_types). Omitted options are removed; call without any to clear all defaults. Single-slot categories (helmet, shoes, …) allow one default item per bike, activity type and 'all rides' — a conflicting call fails and names the item holding the slot. When several defaults match a ride, the most specific wins: bike > activity type > all rides. Existing rides are not changed. Requires the `write` permission.
add_equipment_to_ride
Add equipment to ride
Records that a piece of equipment (shoes, helmet, clothing, lights, …) was used on a ride. Single-slot categories hold one item per ride — to swap, call remove_equipment_from_ride first. Returns the ride's equipment after the change. Requires the `write` permission.
remove_equipment_from_ride
Remove equipment from ride
Removes a piece of equipment from a ride, e.g. when the wrong shoes were auto-assigned. Returns the ride's equipment after the change. Requires the `write` permission.