BikeScout / v1.8.0
API Reference
Standard reference for the BikeScout Model Context Protocol server. This document covers the domain, tools, resources, skills, and object schemas exposed by the current implementation.
Tools and resources served by BikeScout over stdio or SSE.
Route scouting, weather, mud risk, nutrition, setup, GPX audit, and planning artifacts.
Generated files under ~/.bikescout and exposed as bikescout:// URIs.
Domain
Core Concepts
- Mission: A planned ride request with rider, bike, constraints, date, and selected overlays.
- RiderProfile: Physiological inputs used by setup, battery, and nutrition models.
- BikeSetup: Bike category, tires, casing, tubeless state, and optional e-bike battery/motor data.
- MissionConstraints: Distance, routing profile, surface preference, complexity, biases, and priority mode.
- Target date: Date-dependent tools default to tomorrow and reject dates more than 5 days ahead as unreliable.
MCP Resources
| URI | Description |
|---|---|
bikescout://altimetry/{filename} | Elevation profile PNG artifact. |
bikescout://maps/{filename} | Tactical route map PNG artifact. |
bikescout://gpx/{filename} | Exported GPX route file. |
bikescout://race/{filename} | Generated GPX race audit PDF report. |
Tools
MCP tools exposed by the BikeScout server. Input contracts and return schemas are defined below; schema details are listed in the Schemas section.
TOOL
geocode_location
geocode_location
Description
Primary resolution engine for geographical names. Finds latitude and longitude for any natural language place name (cities, mountain passes, specific addresses, or points of interest). Crucial Step: Use this tool to resolve coordinates before calling any routing or weather tools if you only have a location name.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
location_name |
string |
Required | The natural language name of the place (e.g., "Passo dello Stelvio", "Courmayeur"). |
language |
string |
Default: "en" | Language for localized results (e.g., 'it', 'fr', 'es'). Maps to Accept-Language header. |
Returns
- ● lat/lon: Precise floating-point coordinates for routing engines.
- ● display_name: The full, formal localized name of the resolved location.
- ● importance: A reliability score (0.0 to 1.0) to evaluate the match quality.
- ● place_class/type: Contextual tags (e.g., 'city', 'mountain', 'peak') used to distinguish between different types of landmarks.
TOOL
trail_scout
trail_scout
Description
Advanced trail discovery engine. Returns comprehensive route data, technical difficulty assessment, navigation files (GPX), and visual altimetry reports.
Supports both Round Trips (single point) and A to B routing. Synchronizes with weather and soil models to provide
real-time tactical advice. If target_date is omitted, it defaults to tomorrow. Dates more than 5 days ahead are rejected as unreliable.
Single-route consistency: the orchestrator selects one ORS route (applying distance flexibility and the directional anchor, with up to three seeds when a bias is set) and passes that exact route feature to the surface analyzer. Surface composition, ascent, gradients and climbs are therefore computed from the same geometry used for the GPX track, tactical map and elevation profile — no second routing request is issued for surface analysis, so reported metrics never disagree with the exported route.
Verification prompt
Plan a gravel loop starting at latitude 45.0, longitude 10.0. Target about 40 km with a south-east directional bias, ride_character_first priority, and 20% distance flexibility. Use seed 42, complexity 5. Include surface analysis, GPX export, tactical map, and elevation profile. Give me the reported distance, ascent, max gradient, and climb list, plus the links to the downloaded files.
This exercises distance flexibility, the directional anchor and multi-seed selection. Verify that the reported
distance_km, ascent_m and climb_list match the geometry in the downloaded
GPX/map/elevation assets, and that only one routing pass is billed to ORS.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
latitude |
float |
Required | Starting point latitude (WGS84). |
longitude |
float |
Required | Starting point longitude (WGS84). |
rider |
RiderProfile |
Required | Rider physiological profile: weight, gender, fitness level and sweat profile. |
bike |
BikeSetup |
Required | Bike technical setup: category, tires, casing, tubeless and e-bike battery specs. |
mission |
MissionConstraints |
Required | Mission constraints: distance, ORS profile, surface preference, waypoint count and route biases. |
dest_latitude |
float |
Optional | Destination latitude for A-B routing. |
dest_longitude |
float |
Optional | Destination longitude for A-B routing. |
style |
enum |
"filled" | Chart style: sparkline, filled, bars. |
target_date |
string |
Optional | Custom date (YYYY-MM-DD) for predictive analysis. |
include_gpx |
bool |
Default: true | Generate and export a navigation GPX file. |
include_map |
bool |
Default: false | Generate a static PNG map of the route. |
include_poi |
bool |
Default: false | Generate amenities and points of interest. |
include_altimetry |
bool |
Default: false | Generate the altimetry profile of the route. |
include_weather |
bool |
Default: false | Generate weather conditions report. |
include_mud_analysis |
bool |
Default: false | Generate a report including mud analysis. |
include_nutrition_plan |
bool |
Default: false | Generate a nutrition plan report. |
Returns
- ● info: Route morphology, surface analysis (TAEL™ mud risk), and differential front/rear PSI with setup intelligence.
- ● conditions: Hourly synchronized weather, rain probability, and safety gear briefings.
- ● logistics: Hydration/Nutrition plan and strategic amenities (water fountains, etc.) detected along the path.
- ● Visual Assets: Native URIs for Map, Elevation Profile, and GPX navigation file for direct chat rendering.
- ● Elevation provenance: Data credit, total and estimated sample counts, and chart uncertainty;
elevation_errorexplains an omitted profile. - ● Nutrition provenance: Fueling targets carry their evidence basis, confidence, uncertainty note, inputs and references;
nutrition_errorexplains a rejected plan.
TOOL
trail_scout_simple
trail_scout_simple
Description
Flat-argument convenience wrapper around trail_scout for quick route generation. Only latitude and longitude are
required; all other inputs have sensible defaults. It builds the rider, bike and mission models internally, so the same surface analysis,
S-scale grading, TAEL™ mud risk and ASI pressure output are returned.
Tire setup defaults: when physical setup fields are omitted, defaults are derived from
bike_type — Road 25mm/19mm/xc, Gravel 40mm/21mm/xc, MTB 58mm/25mm/trail,
E-MTB 60mm/27mm/trail, and Enduro 60mm/28mm/enduro (tire width / rim internal width / casing).
tubeless defaults to true; inner tubes add roughly 18% pressure. Every call returns
MechanicalSetup.setup_details.tactical_display in F: ... PSI | R: ... PSI form.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
latitude |
float |
Required | Starting point latitude (WGS84). |
longitude |
float |
Required | Starting point longitude (WGS84). |
weight_kg |
float |
Default: 75.0 | Rider and gear mass used for energy, nutrition and tire-load calculations. |
gender |
enum |
Default: "male" | male or female; scales sweat rate. |
sweat_profile |
enum |
Default: "standard" | Genetic sodium loss: low, standard, high, or extreme. |
fitness_level |
enum |
Default: "intermediate" | Rider stamina: beginner, intermediate, or pro. |
bike_type |
enum |
Default: "mtb" | Bike category: mtb, road, gravel, e-mtb, or enduro. Drives load split and setup defaults. |
tire_size |
enum |
Default: "29" | Wheel/tire diameter label: 32, 29, 27.5, 700c, or 650b. |
tire_width_mm |
int | null |
Optional | Actual tire width (18 to 75mm). Falls back to the discipline reference when omitted. |
rim_internal_width_mm |
int | null |
Optional | Rim internal width (10 to 45mm). Used for volume support and rim-width mismatch checks; falls back by discipline. |
casing_type |
enum | null |
Optional | Casing stiffness: xc, trail, enduro, or dh; falls back by discipline. |
tubeless |
bool |
Default: true | True for tubeless; inner tubes require roughly 18% more pressure. |
is_ebike |
bool |
Default: false | Enables battery analysis for pedelec/e-bike missions. |
battery_wh |
int |
Default: 625 | Battery capacity in Watt-hours. |
motor_power_limit_w |
int | null |
Optional | Hardware motor continuous power limit in Watts. Omitted uses a conservative heuristic fallback in battery estimates. |
total_length_km |
int |
Default: 30 | Target round-trip distance in kilometers. |
profile |
enum |
Default: "cycling-mountain" | ORS routing profile: cycling-mountain, cycling-road, cycling-regular, or cycling-electric. |
surface_preference |
enum |
Default: "neutral" | Road versus off-road bias: neutral, prefer_paved, or avoid_unpaved. |
complexity |
int |
Default: 3 | Number of ORS waypoints shaping the loop (3 to 10), serialized as points. The Streamlit UI maps its 1-5 difficulty scale to 3-5. A value of 4 can raise the reported difficulty to Advanced, 5 to Expert. |
seed |
int |
Default: 42 | Random seed for reproducible route generation. |
assist_mode |
enum |
Default: "Eco" | E-bike motor support: Eco, Trail, or Boost. |
direction_bias |
list[string] | null |
Optional | Preferred route quadrants, for example ["south", "east"]. |
avoid_urban |
bool |
Default: false | Bias route generation away from dense urban sections. With an MTB/enduro/e-MTB bike, prefer_rural=true and priority_mode="ride_character_first", already-fetched candidates are also ranked by off-road share; no extra ORS request is made. |
prefer_rural |
bool |
Default: false | Bias route generation toward quieter countryside roads. See avoid_urban for the off-road ranking behavior. |
distance_flex_percent |
int |
Default: 10 | Allowed tolerance around the requested distance when route character matters more. |
priority_mode |
enum |
Default: "balanced" | Optimization mode: balanced, distance_first, or ride_character_first. |
dest_latitude |
float | null |
Optional | Destination latitude for A-to-B missions. |
dest_longitude |
float | null |
Optional | Destination longitude for A-to-B missions. |
style |
enum |
Default: "filled" | Elevation chart style: sparkline, filled, or bars. |
target_date |
string | null |
Optional | Analysis date (YYYY-MM-DD). Defaults to tomorrow; max 5 days ahead. Rejected if beyond 5 days. |
include_gpx |
bool |
Default: true | Generate and export a navigation GPX file. |
include_map |
bool |
Default: false | Generate a static PNG map of the route. |
include_poi |
bool |
Default: false | Include amenities and points of interest. |
include_altimetry |
bool |
Default: false | Generate the altimetry profile of the route. |
include_weather |
bool |
Default: false | Generate weather conditions report. |
include_mud_analysis |
bool |
Default: false | Generate a report including mud analysis. |
include_nutrition_plan |
bool |
Default: false | Generate a nutrition plan report. |
sweat_rate_ml_per_hour |
number | null |
Optional | Measured whole-body sweat rate (ml/h) from a timed weigh-in; replaces the population fluid estimate. |
target_date |
string | null |
Optional | Analysis date (YYYY-MM-DD). Defaults to tomorrow; max 5 days ahead. |
Returns
- ● info: Route morphology, TAEL™ mud risk, and differential front/rear PSI with equipment advice and knob choice.
- ● conditions: Weather, rain probability, and safety gear briefings when requested.
- ● logistics: Hydration/nutrition plan and detected amenities when requested.
- ● Visual Assets: Native URIs for the map, elevation profile, and GPX file.
- ● Elevation provenance: Data credit, total and estimated sample counts, and chart uncertainty;
elevation_errorexplains an omitted profile. - ● Nutrition provenance: Fueling targets carry their evidence basis, confidence, uncertainty note, inputs and references;
nutrition_errorexplains a rejected plan.
TOOL
check_trail_weather
check_trail_weather
Description
Cycling-specific weather assistant for real-time decisions and event planning.
It provides local analysis of temperature, precipitation, wind and WMO conditions for the whole requested day.
Analysis scope: the safety advice always scans every hourly slot of that day; target_hour only sets the reference conditions.
Missing or inconsistent provider data returns an explicit Error instead of a [GO] verdict.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
lat |
float |
Required | Latitude of the specific trail or event sector. |
lon |
float |
Required | Longitude of the specific trail or event sector. |
target_date |
string |
Optional | Event date (YYYY-MM-DD). Defaults to today; the full day is analyzed. |
target_hour |
int |
Optional, default 9 |
Reference hour (0-23) for headline conditions; must exist in the provider payload. |
Returns
- ● status: Confirmation of the API operation and data freshness.
- ● error_message: Diagnostic reason when status is Error; absent on success.
- ● metadata: Contextual data including timezone, resolved coordinates, source and analyzed hourly range.
- ● tactical_forecast: Numeric hourly breakdown of temperature, rain probability, wind bearing and WMO condition.
- ● reference_conditions: Verified reference-hour values and mean bearing after ride-window filtering.
- ● safety_advice: Worst-hour wind risk and peak rain across the whole day, or an explicit [UNAVAILABLE] verdict when data is missing.
TOOL
ride_window_planner
ride_window_planner
Description
Tactical Go/No-Go Decision Engine. This tool identifies the optimal time range for an activity by cross-referencing weather stability with the TAEL™ soil drainage efficiency. It calculates the "drying lag" based on the specific surface type to ensure the mission doesn't coincide with peak mud risk or dangerous environmental shifts.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
lat |
float |
Required | Latitude of the mission area. |
lon |
float |
Required | Longitude of the mission area. |
ride_duration_hours |
float |
Default: 2.0 | Planned duration of the cycling session in decimal hours. |
surface_type |
enum |
"dirt" | Surface type: dirt, gravel, asphalt, sand, clay. |
target_date |
string |
Optional | The date of the event (YYYY-MM-DD). Defaults to today's schedule. |
Returns
- ● status/message/next_step: Operation status; on Error, message and actionable next step are provided.
- ● metadata: Analyzed date, surface, solar window, requested duration, mud availability/confidence.
- ● planner_report.verdict: The final GO/CAUTION/NO-GO verdict with planner_report.tactical_color (Green/Yellow/Red).
- ● planner_report.environmental_briefing: Rain/wind/temp summary plus mud score availability; may include caution message when mud is unavailable.
- ● planner_report.best_window: The specific time range identified as safest, or
N/A. - ● planner_report.mud_risk_impact: TAEL mud index in mm when available, otherwise
Unavailable.
TOOL
hydration_scout
hydration_scout
Description
Physiological Intelligence Engine. This tool generates a mission-specific fueling strategy by cross-referencing localized weather dynamics (heat index, humidity, and solar radiation) with the predicted intensity of the effort. It calculates sweat rates and glycogen depletion to provide precise targets for fluids, carbohydrates, and sodium.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
lat |
float |
Required | Latitude of the mission area. |
lon |
float |
Required | Longitude of the mission area. |
duration_hours |
float |
Default: 2 | Estimated time in the saddle (decimal hours). |
intensity_score |
int |
Default: 3 | Perceived effort (1: Recovery, 3: Tempo, 5: Race/Max effort). |
weight_kg |
float |
Default: 70.0 | Rider weight in kilograms. |
gender |
string |
Default: male | "male" or "female". Recorded for context; it does not change the fluid target without a measured sweat rate. |
sweat_profile |
string |
Default: standard | Self-reported sweat sodium concentration profile; a measured sweat test is needed to personalise it. - "low": ~400 mg/L. - "standard": ~800 mg/L (population average). - "high": ~1200 mg/L. - "extreme": ~1800 mg/L. |
target_date |
string | null |
Optional | Date of the event (YYYY-MM-DD). Defaults to the current weather window; future dates use the forecast peak inside the ride window. |
sweat_rate_ml_per_hour |
number | null |
Optional | Measured whole-body sweat rate (ml/h) from a timed weigh-in; replaces the population fluid estimate. |
relative_humidity_pct |
number | null |
Optional | Relative humidity (%). Raises a heat alert but does not change the fluid target. |
Returns
- ● weather_context: Environmental factors that influenced the hydration/sodium calculation.
- ● mission_nutrition_briefing.fluids: Total volume required and hourly intake rate (ml/h) to maintain hydration.
- ● mission_nutrition_briefing.carbohydrates: Total grams and hourly target (g/h) based on intensity and duration.
- ● mission_nutrition_briefing.electrolytes: Sodium and salt requirements (mg) to prevent cramping and hyponatremia.
- ● mission_nutrition_briefing.tactical_advice: Critical alerts regarding heat stress, bonk risk, or specific absorption strategies.
- ● Evidence & uncertainty:
data_basis,estimate_confidence,uncertainty_note,inputs_usedandreferences;temperature_basisidentifies the ride-window peak anderror_messageexplains rejected inputs.
TOOL
analyze_gpx_track
analyze_gpx_track
Description
High-Fidelity Professional Race Audit. This is the most advanced analysis engine, designed to transform a raw GPX file into a complete tactical roadbook. It simulates professional racing dynamics, calculating UCI climb categories, VAM (Vertical Ascent Meters), and specific W/kg requirements adjusted for environmental friction (wind and air density). It also identifies strategic risks such as echelon (crosswind) zones and optimal attack points.
Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
gpx_url |
string |
Required | Remote URL or local path of the GPX file. |
rider_weight_kg |
float |
Default: 75 | Body mass for Power-to-Weight (W/kg) calculations. |
rider_gender |
string |
Default: male | Rider gender: male or female. |
rider_fitness_level |
string |
Default: intermediate | Rider athletic preparation level: beginner, intermediate, or pro. Affects fatigue and climbing logic. |
sweat_profile |
string |
Default: standard | Self-reported sweat sodium concentration profile; a measured sweat test is needed to personalise it. - "low": ~400 mg/L. - "standard": ~800 mg/L (population average). - "high": ~1200 mg/L. - "extreme": ~1800 mg/L. |
bike_weight_kg |
float |
Default: 8.5 | Mass of the bike. |
pro_intensity |
float |
Default: 1.3 | Effort multiplier (1.0: Amateur, 1.6: Pro, 2.0: Attack). |
activity_type |
enum |
"road" | road or mtb. |
target_date |
string |
Optional | Race date (YYYY-MM-DD) for weather/mud prediction. |
start_hour / end_hour |
int |
Optional | Race window (0-23) for time-averaged metrics. |
report |
bool |
Default: false | Generate a professional PDF race book. |
Returns
- ● mode / target_date: Selected activity mode and date used for weather and mud prediction.
- ● track_metrics: Core telemetry (distance, total ascent, peak altitude).
- ● climb_analysis: Granular breakdown of every climb with BikeScout heuristic categorization (not official UCI race classification).
- ● performance_simulation: Predicted sector times, VAM, and weather-adjusted W/kg targets.
- ● tactical_alerts / pre_climb_positioning / tactical_action_zones: Race dynamics, pack-positioning cues and technical caution points.
- ● planning_tools: Integrated weather, nutrition, mud risk, and weather-basis metadata.
- ● report_path / mcp_resource_uri_report: Local PDF path and MCP resource URI for the generated race book (if
report=True).
Schemas
Pydantic v2 domain and response contracts used by BikeScout tools and resources.
Object Schemas
RiderProfile
| Field | Type | Default | Description |
|---|---|---|---|
weight_kg | float | 75.0 | Rider weight in kilograms. Critical for tire pressure and energy modeling. |
gender | string | male | Rider gender: male or female. |
fitness_level | string | intermediate | Rider athletic preparation level: beginner, intermediate, or pro. Affects fatigue and climbing logic. |
sweat_profile | string | standard | Self-reported sweat sodium concentration profile: low (~400 mg/L), standard (~800 mg/L), high (~1200 mg/L), or extreme (~1800 mg/L). A measured sweat test is needed to personalise it. |
sweat_rate_ml_per_hour | number | null | null | Optional measured whole-body sweat rate (ml/h) from a timed weigh-in; overrides the population fluid estimate. |
BikeSetup
| Field | Type | Default | Description |
|---|---|---|---|
bike_type | string | mtb | Bike category. Accepted values: MTB, mtb, Road, road, Gravel, gravel, E-MTB, e-mtb, Enduro, enduro. Used to filter suitable trail surfaces. |
tire_size | string | 29 | Standard wheel diameter: 32, 29, 27.5, 700c, or 650b. |
tire_width_mm | int | 54 | Actual width in mm (18 to 75). Drives tire-volume scaling and setup strategy. |
rim_internal_width_mm | int | null | null | Rim internal width in mm (10 to 45). Used for volume support and rim-width mismatch checks; defaults by bike category in trail_scout_simple. |
casing_type | string | trail | Casing stiffness class: xc, trail, enduro, or dh. Stiffer casings require less pressure for the same support. |
tubeless | bool | true | True for tubeless; false for inner tubes, which require roughly 18% more pressure. |
is_ebike | bool | false | Triggers battery consumption logic. |
battery_wh | int | 625 | Battery capacity in Wh (required if is_ebike is true). |
motor_power_limit_w | int | null | null | Optional hardware motor continuous power limit in Watts. When omitted, battery estimation uses a conservative heuristic fallback. |
MissionConstraints
| Field | Type | Default | Description |
|---|---|---|---|
total_length_km | int | 30 | The total distance of the round trip in kilometers (e.g., 25.0). |
profile | string | cycling-mountain | ORS routing profile (cycling-mountain, cycling-road, cycling-regular, cycling-electric). |
surface_preference | string | neutral | User preference for road vs off-road surfaces (neutral, prefer_paved, avoid_unpaved). |
complexity | int | 3 | Number of waypoints / route-shaping points used to generate the loop (3 to 10); serialized as points. A value of 4 or 5 can also raise the reported difficulty to Advanced or Expert. |
seed | int | 42 | Randomizer seed used to reproduce specific route variations. |
assist_mode | string | Eco | Defines the motor assistance profile (Eco/eco, Trail/trail, Boost/boost) and influences e-bike battery consumption estimates. |
direction_bias | list[string] | [] | Preferred geographic route bias. Accepted values: north, south, east, west, for example ["south"] or ["south", "east"]. |
avoid_urban | bool | false | Bias route generation away from dense urban sections when possible. Combined with prefer_rural, priority_mode=ride_character_first and an off-road bike type, this also ranks already-fetched ORS candidates by off-road share without extra routing requests. |
prefer_rural | bool | false | Bias route generation toward quieter countryside roads and lower-density riding environments when possible. See avoid_urban for the off-road candidate ranking behavior. |
distance_flex_percent | int | 10 | Allowed flexibility around the requested target distance when route character matters more than exact mileage. |
priority_mode | string | balanced | Optimization mode for route generation: balanced, distance_first, or ride_character_first. |
RouteGeometry
| Field | Type | Default | Description |
|---|---|---|---|
coordinates | list[list[float]] | ... |
A list of GPS points in GeoJSON format. Each sub-list represents a coordinate triplet:
[longitude, latitude, elevation]. This sequence is processed by the offline Terrain
Truth Engine to cap implausible steps, smooth elevation, detect climbs and compute Haversine
geodesic distances.
|
MudIntelligence
| Field | Type | Default | Description |
|---|---|---|---|
score |
float |
- | Raw TAEL™ moisture index in mm (heuristic, not a 1–100 score). The tire-setup model normalizes it to a 0.0-1.0 mud index (score / 20, clamped) for flotation and knob decisions. |
label |
string |
- | Qualitative risk label based on the score (e.g., 'Low', 'High', 'Extreme'). |
traction_risk |
string |
- | Assessment of mechanical tire grip and slip probability. Hard surfaces report wet-pavement grip loss; unpaved surfaces report mud packing risk. |
trail_damage_risk |
string |
- | Risk of creating ruts or damaging trail integrity due to soft ground conditions. |
dry_time_eta |
string |
- | Estimated time (e.g., '24h', 'Ready Now') until the trail returns to dry/optimal conditions. |
MudTactical
| Field | Type | Default | Description |
|---|---|---|---|
surface_type | string | - | Normalized TAEL soil key for the dominant route surface. Display labels are mapped to soil types: Paved/Concrete become asphalt, Unpaved/Unmapped/Mixed become dirt. |
mud_risk_numeric | float | - | Raw TAEL™ moisture index in mm (heuristic reservoir value; higher means wetter). Not a 1–100 score and not ground truth. |
mud_risk_score | string | - | Qualitative risk label from heuristic thresholds (configurable in model config; default Low<4, Medium<12, High<20, Extreme>=20 mm). |
traction_risk | dict[string, string] | - | Surface-aware grip assessment. On asphalt/concrete the level is capped at Medium and reports wet-tarmac or aquaplaning advice instead of mud packing. |
trail_damage_risk | dict[string, string] | - | Risk of trail degradation, including probability of rut formation and erosion. |
dry_time_eta | string | - | Estimated time until the trail surface is considered 'ready' or 'optimal' for riding. |
MudRiskAnalysis
| Field | Type | Default | Description |
|---|---|---|---|
status | string | - | Analysis status identifier (Success or Error). |
message | string | null | null | Error details when status is Error. |
next_step | string | null | null | Actionable next step when status is Error. |
metadata | object | {} | Model version, confidence, basis, limitations, thresholds_mm and predictive flags. |
environmental_context | object | {} | Soil moisture, 72h rainfall, and heuristic terrain/drainage context (avg_slope_pct, max_slope_pct, soil_drainage_class, drainage_proxy, drainage_factor). drainage_proxy is inferred from surface+slope and is not soil ground truth. |
tactical_analysis | MudTactical | null | null | Granular mud/traction/trail-damage assessment; null on Error. |
ClimbDetail
| Field | Type | Default | Description |
|---|---|---|---|
start_index | int | - | Zero-based elevation-profile sample index where the climb starts. |
end_index | int | - | Zero-based elevation-profile sample index where the climb ends. |
length_m | float | - | Ground length of the climb in meters. |
gain_m | float | - | Elevation gained on this climb in meters. |
avg_gradient | float | - | Average gradient of the climb in percent. |
max_gradient | float | - | Steepest positive pitch inside the climb in percent. |
summit_elevation_m | float | - | Elevation at the climb summit in meters. |
fiets_index | float | - | FIETS difficulty index derived from gain, length and summit altitude. |
category | string | - | FIETS-derived category, for example C3 - Challenging or Hors Catégorie (HC). |
TechnicalDifficulty
| Field | Type | Default | Description |
|---|---|---|---|
label | string | - | Estimated or tagged technical grade, for example S2 - Technical. |
confidence | float | - | Confidence in the grade from 0.0 to 1.0. |
source | string | - | Grade provenance, for example osm:mtb_scale, inferred:surface+waytype or missing. |
TerrainAnalysis
| Field | Type | Default | Description |
|---|---|---|---|
total_ascent_m | float | - | Ascent summed from significant elevation-profile segments in meters. |
max_gradient | float | - | Steepest positive gradient found anywhere on the route in percent. |
avg_gradient | float | - | Total ascent divided by analyzed profile length in percent. |
avg_climb_gradient | float | - | Weighted average gradient of the detected significant climbs in percent. |
profile_length_m | float | - | Ground length of the analyzed elevation profile in meters. |
climbs | list[ClimbDetail] | - | Geometry-detected significant climbs sorted along the route. This is the single canonical climb list. |
climb_category | string | - | Hardest FIETS-derived category on the route, or Flat / Rolling. |
data_confidence | float | - | Heuristic confidence in elevation-derived metrics from 0.0 to 1.0 (density + step stability). |
data_confidence_basis | string | null | null | Explains that data_confidence is a heuristic, not a statistical confidence interval or DEM vertical-error bound. |
technical_difficulty | TechnicalDifficulty | - | Technical grade and its provenance. |
profile_points | int | - | Number of usable elevation samples in the route geometry. |
noise_floor_m | float | - | Adaptive hysteresis threshold used for climb segmentation in meters. |
micro_spikes | boolean | - | True when a positive pitch of 20% or more was detected. |
warnings | list[string] | - | Tactical warnings derived from the terrain profile, for example hike-a-bike alerts. |
TacticalBriefing
| Field | Type | Default | Description |
|---|---|---|---|
distance_km |
float |
- | Total route distance in kilometers, measured from the selected route geometry that is also exported to GPX, map and altimetry. |
elevation_gain_m |
int |
- | Ascent derived from significant elevation-profile segments by the Terrain Truth Engine, rounded to meters. |
climb_category |
string |
- | Hardest FIETS-derived climb category detected on the route, or Flat / Rolling. |
avg_gradient |
string |
- | Total ascent divided by analyzed profile length, rendered as a percentage string. |
avg_climb_gradient |
string |
- | Weighted gradient of the detected significant climbs, rendered as a percentage string. |
mud_intelligence |
MudIntelligence |
- | Ground saturation analytics, soil condition, and TAEL™ index prediction. |
terrain_analysis |
TerrainAnalysis | null |
null |
Full geometry-derived terrain intelligence: true ascent, max gradient, FIETS climb list, technical grade and data confidence. |
max_gradient |
float | null |
null |
Steepest positive gradient found anywhere on the route in percent. |
data_confidence |
float | null |
null |
Heuristic confidence in the elevation-derived terrain metrics from 0.0 to 1.0. |
technical_difficulty |
TechnicalDifficulty | null |
null |
Technical grade inferred from OSM tags and gradient, including its confidence and source. |
TireSetupRecommendation
| Field | Type | Default | Description |
|---|---|---|---|
wheel_label | string | - | Wheel diameter label used in the tactical display (e.g. 29, 700c). |
tire_width_mm | int | - | Actual tire width in millimeters used for the calculation. |
rim_internal_width_mm | int | null | null | Rim internal width used for volume support and mismatch checks. |
casing_type | string | - | Casing stiffness class applied (xc, trail, enduro, dh). |
tubeless | boolean | - | Whether a tubeless setup was assumed; tubes add roughly 18% pressure. |
psi_front | float | - | Recommended front tire pressure in PSI. |
psi_rear | float | - | Recommended rear tire pressure in PSI. |
bar_front | float | - | Recommended front tire pressure in bar. |
bar_rear | float | - | Recommended rear tire pressure in bar. |
strategy | string | - | Dominant optimization: Standard, Mud Flotation, Compliance, Efficiency, or Pinch-Flat Protection. |
load_split | dict[string, float] | - | Front/rear load share: 0.45/0.55 for road and gravel, 0.40/0.60 for MTB, E-MTB and enduro. |
knob_choice | string | - | Suggested tread pattern: Mud Spikes, Semi-Slick, or All-Terrain / Trail. |
advice | list[string] | [] | Actionable equipment advice, including inserts and tubeless conversion for S3+ terrain. |
warnings | list[string] | [] | Setup-specific warnings such as pinch-flat risk or rim-width mismatch. |
confidence | string | null | null | Confidence in the recommendation: low for the current heuristic, uncalibrated model. |
model_basis | string | null | null | Short description of the model and its calibration status. |
tactical_display | string | - | Human-readable string with differential pressures, for example F: 20.0 PSI | R: 25.5 PSI (1.38/1.76 bar). |
MechanicalSetup
| Field | Type | Default | Description |
|---|---|---|---|
compatible |
boolean |
- | Flag indicating if the user's bike setup is safely suitable for the route terrain. Rim-width mismatch is warning-only and does not set this to false. |
setup_details |
TireSetupRecommendation |
- | Structured differential front/rear pressure recommendation from the tire-volume and load-distribution model. |
bike_type |
string |
- | The specific category of bicycle analyzed (e.g., 'mtb', 'road', 'gravel'). |
safety_warnings |
list[string] |
- | Critical alerts regarding technical difficulty, pinch-flat risk, or environmental hazards. |
SurfaceEntry
| Field | Type | Default | Description |
|---|---|---|---|
type |
string |
- | Normalized surface classification (e.g., 'Paved', 'Grass', 'Unpaved'). |
percentage |
string |
- | The portion of total distance represented by this surface type (e.g., "35.8%"). |
EmtbMetrics
| Field | Type | Default | Description |
|---|---|---|---|
estimated_drain_wh |
float |
- | Predicted total energy consumption for the mission in Watt-hours. |
remaining_battery_pct |
float |
- | Estimated battery percentage remaining upon reaching the destination. |
safety_buffer_status |
string |
- | Safety assessment (e.g., 'SAFE', 'CRITICAL') based on remaining capacity. |
usable_wh_at_temp |
float |
- | Battery capacity (Wh) adjusted for thermal impact on cell efficiency. |
EmtbPower
| Field | Type | Default | Description |
|---|---|---|---|
gravity_resistance |
float |
- | Power in Watts required to overcome elevation gain based on total system weight. |
rolling_resistance |
float |
- | Power in Watts required to overcome friction based on surface type and tires. |
aerodynamic_drag |
float |
- | Power in Watts required to overcome air resistance at predicted speeds. |
rider_contribution |
int |
- | Estimated average human power output (Watts) provided by the cyclist. |
motor_net_output |
int |
- | Required average motor assistance (Watts) to maintain the mission pace. |
EmtbTactical
| Field | Type | Default | Description |
|---|---|---|---|
status |
string |
- | Analysis status indicating if E-MTB simulation was successful. |
battery_metrics |
EmtbMetrics |
- | Detailed battery drain, safety buffers, and thermal capacity adjustments. |
power_breakdown_w |
EmtbPower |
- | Physical force breakdown (Watts) including drag, gravity, and friction. |
tactical_advice |
string |
- | E-MTB specific guidance on mode selection, pacing, and battery management. |
assumptions |
object | null |
null |
Heuristic assumptions and confidence: speed, temperature, rider FTP/intensity, assist, motor limit, mud index, model basis. |
WeatherSnapshot
| Field | Type | Default | Description |
|---|---|---|---|
time | string | - | Local time of the forecast snapshot in HH:MM format. |
temp | float | - | Ambient air temperature in °C. |
app_temp | float | - | Apparent (feels-like) temperature in °C. |
rain_prob | int | - | Probability of precipitation as a percentage. |
rain_mm | float | - | Expected rainfall volume in millimeters. |
wind | float | - | Average sustained wind speed in km/h. |
gusts | float | - | Maximum predicted wind gust speed in km/h. |
wind_direction | int | - | Wind bearing in degrees clockwise from north. |
weather_code | int | null | null | WMO weather interpretation code reported by Open-Meteo. |
condition | string | null | null | Plain-language description of the WMO code. |
ReferenceConditions
| Field | Type | Default | Description |
|---|---|---|---|
temp_actual | float | - | Air temperature in °C at the requested reference hour. |
temp_apparent | float | - | Apparent temperature in °C at the reference hour. |
rain_probability | int | - | Precipitation probability at the reference hour. |
precipitation_mm | float | - | Rainfall in millimeters at the reference hour. |
wind_speed | float | - | Wind speed in km/h at the reference hour. |
wind_gusts | float | - | Wind gusts in km/h at the reference hour. |
wind_direction | int | - | Wind bearing in degrees at the reference hour. |
reference_hour_local | string | - | Local reference hour in HH:MM format. |
temp_max | float | - | Highest forecast temperature of the analyzed day. |
weather_code | int | null | null | WMO code at the reference hour. |
condition | string | null | null | Description of the reference WMO code. |
temp | float | null | null | Mean temperature after ride-window filtering. |
wind_dir_degrees | int | null | null | Circular mean wind bearing after ride-window filtering, not an arithmetic midpoint. |
wind_direction_ambiguous | boolean | false | True when opposing directions make the circular mean undefined. |
reference_hour | string | null | null | Label of the filtered ride window. |
SafetyAdvice
| Field | Type | Default | Description |
|---|---|---|---|
status | string | - | Verdict indicator: [GO], [WATCH], [CAUTION], [NOT RECOMMENDED] or [UNAVAILABLE]. |
message | string | - | Human-readable assessment from the worst hourly slot of the analyzed day. Never reports "ideal conditions" when forecast data is missing. |
wind_risk_score | float | null | null | Wind index computed as 0.4 × wind + 0.6 × gusts from the worst hour; above 55 the advice becomes [NOT RECOMMENDED]. Null when data is unavailable. |
gear_advice | string | null | null | Recommended clothing layers for the coldest apparent temperature. Null when data is unavailable. |
condition_at_peak_risk | string | null | null | Descriptive WMO condition at the peak-risk hour; context only, never used to override a threshold. |
NutritionBriefing
| Field | Type | Default | Description |
|---|---|---|---|
fluids | object | - | Total liters and hourly intake rate (ml/h). |
carbohydrates | object | - | Total grams and hourly target (g/h) with absorption ratio. |
electrolytes | object | - | Total and hourly sodium/salt requirements (mg). |
tactical_advice | list[string] | - | Critical nutrition alerts (e.g., Bonk Risk, Heat Stress). |
data_basis | string | null | null | Evidence basis for the fluid, carbohydrate and sodium targets. |
estimate_confidence | string | null | null | Confidence in the fluid target: low for estimates, moderate when measured. |
uncertainty_note | string | null | null | What the plan cannot resolve without an individual sweat test. |
inputs_used | object | null | null | Normalised inputs and their measurement source. |
references | list[string] | null | null | Published ranges informing the planning heuristics. |
ClimbMetrics
| Field | Type | Default | Description |
|---|---|---|---|
km_start | float | - | Distance from the start of the track where the climb begins. |
dist_km | float | - | Total length of the specific climbing sector in kilometers. |
gain_m | float | - | Total vertical ascent (D+) of the climb in meters. |
avg_grade | float | - | Average gradient percentage for the entire duration of the sector. |
category | string | - | BikeScout heuristic climb category (e.g., 'Cat 4', 'Cat 1', 'HC'). Not an official UCI race classification. |
category_system | string | null | "bikescout_heuristic" | Classification system used for the category. |
PerformanceSim
| Field | Type | Default | Description |
|---|---|---|---|
climb | string | - | Identifier for the climb including location name and UCI category. |
est_time_min | float | - | Estimated time in minutes to complete the sector at the given intensity. |
est_vam | int | - | Vertical Ascent Meters per hour (VAM) prediction. |
target_wkg | float | - | Required Power-to-Weight ratio (W/kg) for the baseline simulation. |
weather_adjusted_wkg | float | - | W/kg requirement adjusted for wind resistance and air density. |
TacticalActionZone
| Field | Type | Default | Description |
|---|---|---|---|
km | float | - | Exact kilometer mark where the zone or incident starts. |
grade | float | - | Local extreme gradient (steepest ramp) within the zone. |
type | string | - | Classification (e.g., 'Explosive Wall', 'Technical Descent', 'Cobbled Sector'). |
difficulty | string | - | Combined technical and physical difficulty assessment. |
WeatherContext
| Field | Type | Default | Description |
|---|---|---|---|
date_referenced | string | - | The date used for the thermal analysis. |
max_temp_detected | string | - | Peak temperature detected in the activity window (e.g., 16.2°C). |
temperature_basis | string | null | null | Where the temperature came from: ride_window, reference_fallback or default. |
is_future_event | bool | - | True when the analysis is based on a forecast rather than current conditions. |
EnvironmentalBriefing
| Field | Type | Default | Description |
|---|---|---|---|
message | string | null | null | Contextual planning/caution message. |
rain_avg | string | null | null | Average probability of precipitation during the mission window. |
wind_max | string | null | null | Maximum expected wind speed (sustained or gust peak). |
temp_avg | string | null | null | Average ambient temperature predicted for the activity duration. |
mud_score_mm | number | null | null | TAEL mud moisture index in mm when available; null otherwise. |
mud_available | boolean | null | null | Whether mud analysis was available for scoring. |
PlannerReport
| Field | Type | Default | Description |
|---|---|---|---|
verdict | string | - | Final tactical decision: GO, WATCH, or NO-GO. |
tactical_color | string | - | Visual risk indicator (e.g., 'GREEN', 'YELLOW', 'RED'). |
confidence_score | string | - | AI confidence level (0-100) in the accuracy of the prediction. |
best_window | string | - | The optimal time range identified for the best possible riding conditions. |
environmental_briefing | EnvironmentalBriefing | - | Aggregated summary of primary weather conditions. |
mud_risk_impact | string | - | Predicted soil saturation impact on speed, safety, and trail integrity. |
MissionConditions
| Field | Type | Default | Description |
|---|---|---|---|
weather | list[WeatherSnapshot] | null | null | Hourly weather forecast snapshots for the mission duration. |
mud_risk | MudRiskAnalysis | null | null | Technical analysis of soil saturation and trail rideability. |
max_temp_detected | string | - | The peak temperature identified within the activity window. |
safety_advice | SafetyAdvice | null | null | Critical safety briefing including gear recommendations and wind risk. |
Amenity
| Field | Type | Default | Description |
|---|---|---|---|
name | string | - | The name of the point of interest (e.g., 'Water Fountain', 'Bike Shop'). |
type | string | - | The category of the amenity for tactical filtering. |
distance_m | int | - | Distance from the sampled route/start point in meters. |
route_km | float | null | null | Approximate route progress in km where the POI was found (e.g. km 23 of 40); null when unknown. |
location | dict[string, float] | - | The exact GPS coordinates (lat/lon) of the amenity. |
opening_hours | string | null | null | OSM opening_hours tag when available; null if unknown. |
drinking_water | string | null | null | OSM drinking_water tag when available; null if unknown. |
water_source | string | null | null | OSM water source/fountain tag when available. |
potability | string | null | null | Potability hint for water POIs: potable_tagged, not_potable_tagged, unknown_verify, or null. |
NutritionPlanWrapper
| Field | Type | Default | Description |
|---|---|---|---|
status | string | - | Calculation status of the nutrition engine. |
error_message | string | null | null | Reason why the nutrition engine rejected the inputs. |
mission_nutrition_briefing | NutritionBriefing | - | Detailed fueling and hydration strategy. |
MissionLogistics
| Field | Type | Default | Description |
|---|---|---|---|
nutrition_plan | NutritionPlanWrapper | null | null | The physiological fueling plan including fluids, carbs, and electrolytes. |
nearby_amenities | list[Amenity] | null | null | A list of strategic points detected along or near the route. |
RouteSurface
| Field | Type | Default | Description |
|---|---|---|---|
profile_used |
string |
- | The ORS profile used to generate the selected route (e.g., cycling-mountain, cycling-road). Surface analysis reuses that route's geometry and does not open a second routing request. |
metadata |
object |
- | Technical metadata containing timestamps, engine versions, API flags and elevation_source for the terrain engine. It also includes offroad_share_percent (share of the selected route on unpaved/gravel/dirt/grass surfaces) and, when an off-road ride was requested, offroad_request_status (met/not_met) plus offroad_request_note. The note is advisory only: no further ORS route is requested. |
tactical_briefing |
TacticalBriefing |
- | Core metrics including distance, elevation gain, and TAEL™ mud intelligence. |
mechanical_setup |
MechanicalSetup |
- | Technical recommendations for tire pressure and setup compatibility for the terrain. |
surface_breakdown |
list[SurfaceEntry] |
- | A detailed statistical breakdown of normalized surface types along the route. |
emtb_tactical |
EmtbTactical | null |
null |
Optional battery and power physics metrics for E-MTB profiles. |
GeocodingResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version |
string |
- | The BikeScout protocol version for client-side compatibility. |
status |
string |
- | Operation status indicator (e.g., 'Success', 'Error'). |
lat |
float |
- | WGS84 Latitude of the identified location. |
lon |
float |
- | WGS84 Longitude of the identified location. |
display_name |
string |
- | Full human-readable address or localized place name. |
place_class |
string |
- | OSM Top-level classification (mapped from class). |
place_type |
string |
- | Specific location sub-type (mapped from type). |
importance |
float |
- | Search relevance score (0.0 to 1.0) based on location popularity. |
TacticalForecastResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version |
string |
- | The BikeScout protocol version for client-side compatibility. |
status |
string |
- | Current status of the weather service provider and data availability. |
error_message |
string | null |
null |
Diagnostic reason returned when the weather service reports Error, including invalid coordinates, hour or provider payload. |
metadata |
object |
- | Location, timezone, Open-Meteo source, analyzed scope and first/last hourly timestamps. |
tactical_forecast |
list[WeatherSnapshot] |
- | Numeric hourly breakdown for the requested day, including WMO codes and descriptions. |
reference_conditions |
ReferenceConditions |
- | Validated reference-hour values plus any ride-window aggregates. |
safety_advice |
SafetyAdvice |
- | Strategic safety briefing covering risks like crosswinds, thermal strain, or lightning. |
RouteSurfaceResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version |
string |
- | The BikeScout protocol version for client-side compatibility. |
status |
string |
- | Overall operation status indicator (e.g., 'Success', 'Error'). |
profile_used |
string |
- | The specific routing profile applied to the analysis (e.g., 'cycling-mountain'). |
metadata |
object |
- | Technical metadata including timestamps, API flags, and processing logs. |
tactical_briefing |
TacticalBriefing |
- | Core mission metrics including distance, elevation gain, and mud/soil intelligence. |
mechanical_setup |
MechanicalSetup |
- | Differential front/rear tire pressure, load distribution, casing and setup compatibility recommendations. |
surface_breakdown |
list[SurfaceEntry] |
- | Aggregated and normalized statistics of all terrain types encountered. |
emtb_tactical |
EmtbTactical | null |
null |
Optional power and battery metrics; only populated if is_ebike is true. |
RouteInfo
| Field | Type | Default | Description |
|---|---|---|---|
route_type | string | - | The specific cycling activity profile (e.g., 'cycling-road', 'cycling-mountain'). |
distance_km | float | - | The total length in kilometers of the selected route whose geometry is exported to GPX, map and altimetry. |
ascent_m | int | - | Total vertical elevation gain in meters, derived by the Terrain Truth Engine from the same exported route geometry when surface analysis succeeds. |
difficulty | string | - | Overall rating from distance, ascent, sustained climb gradient and requested complexity. A complexity of 4 or 5 raises it to Advanced or Expert even on a shorter route. |
surface_analysis | RouteSurface | null | null | A detailed breakdown of surface compositions, terrain intelligence and traction indices. |
max_gradient | float | null | null | Steepest positive gradient found anywhere on the route in percent. |
climb_list | list[ClimbDetail] | null | null | Presentation view of surface_analysis.tactical_briefing.terrain_analysis.climbs; mirrors the canonical list instead of duplicating it inside each nested block. |
data_confidence | float | null | null | Confidence in the elevation-derived terrain metrics from 0.0 to 1.0. |
FullMissionBriefingResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version | string | - | BikeScout protocol version. |
status | string | - | Operation status (Success/Error). |
target_date | string | null | null | Analysis target date (YYYY-MM-DD) used by weather, mud and planning tools. Default is tomorrow; max 5 days ahead. |
error_message | string | null | null | Reason why the mission briefing could not be completed. |
info | RouteInfo | null | null | Structured data regarding the route's morphology and difficulty. |
conditions | MissionConditions | null | null | Environmental analysis synchronized with the mission time window. |
logistics | MissionLogistics | null | null | Tactical recommendations for mechanical setup, nutrition, and timing. |
map_path | string | null | null | The local file path for the static map image of the route. |
mcp_resource_uri_map | string | null | null | The MCP URI for direct map layer access. |
map_style_applied | string | null | null | Map rendering style actually applied: gradient or solid. |
map_attribution | string | null | null | Attribution text for map tiles/data (e.g. OpenStreetMap contributors). |
gpx_export_path | string | null | null | The local file path of the generated GPX file. |
mcp_resource_uri_gpx | string | null | null | The MCP URI for downloading the GPX mission file. |
elevation_profile_path | string | null | null | The local file path for the elevation profile chart. |
mcp_resource_uri_elevation_profile | string | null | null | The MCP URI for the visual altimetry analysis. |
elevation_source | string | null | null | Credit for the elevation data behind the altimetry chart. |
elevation_samples_total | integer | null | null | Number of elevation samples considered for the altimetry chart. |
elevation_samples_interpolated | integer | null | null | Number of elevation samples estimated from neighbouring values. |
elevation_uncertainty | string | null | null | Explanation of which elevation samples are estimates. |
elevation_error | string | null | null | Reason why the elevation profile was omitted. |
nutrition_error | string | null | null | Reason why the nutrition plan was omitted. |
HydrationScoutResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version | string | - | BikeScout protocol version. |
status | string | - | Operation status (Success/Error). |
weather_context | WeatherContext | - | Environmental factors that influenced the hydration/sodium calculation. |
mission_nutrition_briefing | NutritionBriefing | - | Detailed fluid, carb, and electrolyte plan. |
error_message | string | null | null | Reason why the nutrition engine rejected the inputs. |
StrategicPlannerResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version | string | - | The BikeScout protocol version for client-side compatibility. |
status | string | - | Operation status indicator (e.g., 'Success', 'Error'). |
message | string | null | null | Error message when status is Error. |
next_step | string | null | null | Actionable next step when status is Error. |
metadata | object | {} | Analyzed date, surface, solar window, requested duration, mud availability/confidence. |
planner_report | PlannerReport | null | null | Strategic assessment and timing; null on Error. |
GpxRaceAuditResponse
| Field | Type | Default | Description |
|---|---|---|---|
payload_version | string | - | The BikeScout Protocol version for client-side compatibility. |
status | string | - | Overall success/error indicator of the race analysis engine. |
mode | string | - | Selected activity mode for physics engine logic ('ROAD' or 'MTB'). |
target_date | string | - | Date used for synchronizing weather, wind, and mud impact models. |
track_metrics | dict | - | Dictionary of core track data: distance, total ascent, and peak altitude. |
planning_tools | object | - | Container for weather snapshots, nutrition strategy, and mud risk analysis. |
climb_analysis | list[ClimbMetrics] | - | List of all detected climbing sectors with BikeScout heuristic categorization (not official UCI race classification). |
performance_simulation | list[PerformanceSim] | - | Climb-by-climb power, VAM, and timing estimates. |
tactical_alerts | list[dict] | - | Specific alerts for race dynamics (e.g., 'ECHELON RISK', 'HEADWIND SECTOR'). |
pre_climb_positioning | list[dict] | - | Strategic points where the rider should optimize pack position. |
tactical_action_zones | list[TacticalActionZone] | - | Key points designated for potential attacks or extreme technical caution. |
report_path | string | null | Local filesystem path to the generated PDF race book/roadbook, if requested. |
mcp_resource_uri_report | string | null | MCP resource URI for the generated PDF race book/roadbook (bikescout://race/{filename}), if requested. |
Skills
Domain skills provide specialized guidance for terrain, safety, and mechanical workflows. Skills complement the MCP API; they do not replace tool contracts.
| Skill | ID | Description |
|---|---|---|
| Arenberg | arenberg |
a tactical cycling director and equipment specialist for the **Northern French Pavé** (Hauts-de-France), specifically focusing on the **Trouée d'Arenberg** and the Paris-Roubaix sectors. |
| Castelliromani | castelliromani |
a local Italian MTB expert and tactical guide for the **Castelli Romani Regional Park** (Colli Albani), located just south of Rome. |
| Derby | derby |
a professional MTB guide and "Flow State" specialist for **Blue Derby**, Tasmania—Australia’s premier mountain bike destination. |
| Dolomites | dolomites |
a professional alpine MTB and Road cycling guide specialized in the Dolomites (Dolomiti), Italy. |
| Finaleligure | finaleligure |
a professional Enduro guide and local trail expert for **Finale Ligure**, Italy—the world's premier MTB destination. |
| Mechanical Setup | mechanical-setup |
Prefer the pressure and compatibility data in `info.surface_analysis.mechanical_setup` |
| Moab | moab |
a professional MTB guide and high-desert survival expert specialized in the **Moab, Utah** area. |
| Safety | safety |
This skill defines the technical resources, safety protocols, and mechanical baselines for the BikeScout ecosystem. The agent must use these guidelines to validate rider readiness and equipment setup. |
| Shimanamikaido | shimanamikaido |
a high-end cycle-touring and road specialist for the **Shimanami Kaido**, the spectacular 70km sea route connecting Japan's main island (Honshu) to Shikoku. |