Tour de France MCP
Tools

Race structure

Event configuration, stages, teams and the rider start list.

Reference data describing an edition. These tools are populated before the race starts and stay largely stable throughout it.

tdf_event

Global event configuration (ad units, live-radio URL, display flags).

Endpoint: GET /api/event ยท Returns: single object ยท takes no parameters.

{ "name": "tdf_event", "arguments": {} }

tdf_stages

Stages of an edition (usually 21): stage number, type, dates, start/finish cities and distance. Sorted by stage number. Compact by default โ€” the long French route descriptions are ~96% of the payload and are dropped unless you pass full: true.

Endpoint: GET /api/stage-{year}

ParameterTypeDefaultDescription
yearinteger2026Four-digit edition year.
stageintegerโ€”If set (1โ€“21), return only that stage.
fullbooleanfalseInclude the long per-city route HTML (~160 KB).
rawbooleanfalseKeep backend _ metadata keys.
limit / offsetintegerโ€” / 0Pagination.
// just stage 5 of the 2026 edition
{ "name": "tdf_stages", "arguments": { "year": 2026, "stage": 5 } }

tdf_teams

Teams for an edition: code, name, nationality, colours and jersey/logo image URLs.

Endpoint: GET /api/team-{year}

ParameterTypeDefaultDescription
yearinteger2026Four-digit edition year.
limit / offsetintegerโ€” / 0Pagination.
{ "name": "tdf_teams", "arguments": { "year": 2026 } }

tdf_riders

The rider start list for an edition โ€” identity, nationality, career stats and team. Teams are filtered out of the upstream feed, riders are sorted by bib, and each rider's team code/name is resolved for you. Compact by default; pass full: true for image URLs and site links, or filter with bib / team.

Endpoint: GET /api/allCompetitors-{year}

ParameterTypeDefaultDescription
yearinteger2026Four-digit edition year.
bibintegerโ€”Return only the rider with this bib number.
teamstringโ€”Return only riders on this team code (e.g. UEX, COF).
fullbooleanfalseInclude image URLs and per-language site links.
rawbooleanfalseRaw upstream payload (backend _ metadata + opaque $team hash, no team resolution).
limit / offsetintegerโ€” / 0Pagination.
// every rider on team UEX (UAE Emirates)
{ "name": "tdf_riders", "arguments": { "year": 2026, "team": "UEX" } }

Rankings and results reference riders by bib. Join those rows to tdf_riders on bib to recover names, teams and stats.

On this page