f1verse

v0.15.0
io.github.jinsim/f1verse Checked 2 days ago Published 27 days ago

Formula 1 race data with the domain rules applied: stints, tyre wear, publish-safety.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

f1_source_status Last observed access state for each data source.

Last observed access state for each data source. No network probe. Distinguishes authentication, rate limits, availability and sources not yet checked in this process.

f1_race_events Evidence-linked race and pit-cycle events.

Evidence-linked race and pit-cycle events. Stable event IDs, input lineage and observed gap changes. No causal strategy claim or media download.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_turning_points Ranked retrospective race turning-point candidates.

Ranked retrospective race turning-point candidates. Ranks observed events by an explicit fixed event-kind heuristic. Uses future race information; not a live forecast or win-value model.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.
limitintegerMaximum candidate events.

f1_pace_changes Persistent retrospective pace shifts within clean stints.

Persistent retrospective pace shifts within clean stints. Adjacent clean-lap windows, with trend removed, detect pace changes. Excluded laps are boundaries; the method does not identify a cause.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_retirement_risk Observed retirement survival across selected settled races.

Observed retirement survival across selected settled races. All-cause Kaplan-Meier over completed laps. Finishes are censored. Not a calibrated future reliability forecast; causes are unavailable.

ParameterTypeDescription
rounds *arrayUp to ten rounds to pool; repeated rounds deduplicated.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_race_story Everything that happened in one race, as structured JSON.

Everything that happened in one race, as structured JSON. The whole race in one call: final results with broadcast-convention gaps, lead changes, laps led per driver, the event timeline, tyre stints, median race pace (pit/SC/VSC laps excluded), and safety-car interruptions. Use this first for any 'what happened in race X' question — it is one request instead of six.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_race_brief A short factual race summary in plain English.

A short factual race summary in plain English. A publishable prose summary of a race, built from templates only — every number in it comes from the data, so it is safe to quote verbatim. Use when the user wants a readable recap rather than fields to compute with.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_session_results Classification for any session of a weekend.

Classification for any session of a weekend. Results for one session, classified the way that kind of session actually is: races give position and gap (lapped cars as '+1 LAP'), qualifying gives per-segment times with gaps to that segment's fastest and where each driver was eliminated, practice gives a best-lap table.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.
sessionstringSession name as the calendar spells it: Race, Qualifying, Sprint, Sprint Qualifying, Practice 1-3. Defaults to Race.

f1_weekend_sessions Which sessions a given round has, in order.

Which sessions a given round has, in order. Lists the sessions of a race weekend with start and end times — the valid inputs for the 'session' argument of the other tools. Call this when unsure whether a round was a sprint weekend.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_season_status Where the season stands right now and what is next.

Where the season stands right now and what is next. The latest completed race, sessions that have finished and settled, the next session and how many hours until it starts. Use this to answer 'when is the next race' or to resolve 'the last race' into a concrete round number before calling the other tools.

ParameterTypeDescription
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_standings Championship standings after the latest completed round.

Championship standings after the latest completed round. Drivers' or constructors' championship table, with points and wins, as of the most recent round that has been scored.

ParameterTypeDescription
year *integerSeason year, e.g. 2026. Race data 2023+.
kindstringWhich championship table to return.

f1_driver_career A driver's career totals, 1950 to today.

A driver's career totals, 1950 to today. Starts, wins, podiums, poles and points for one driver across all of F1 history, plus the next round-number milestones they are approaching. Takes an Ergast-style driver id such as 'max_verstappen', 'hamilton' or 'leclerc'.

ParameterTypeDescription
driver_id *stringErgast/Jolpica driver id, e.g. 'max_verstappen', 'hamilton'.

f1_data_quality Is this session's data complete, current and safe to publish?

Is this session's data complete, current and safe to publish? Completeness per field, how old the fetched copy is, whether the classification is still provisional (stewards rewrite results hours after the flag), corrections observed so far, agreement between independent sources, and a single 'publishable' verdict. Call this before stating a result as final, especially within a few hours of a session ending.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.
sessionstringSession name as the calendar spells it: Race, Qualifying, Sprint, Sprint Qualifying, Practice 1-3. Defaults to Race.

f1_tyre_wear How fast each set of tyres degraded, stint by stint.

How fast each set of tyres degraded, stint by stint. Raw clean-stint lap-time trends and fuel-scenario corrected degradation, with exclusions, sample sizes and sensitivity. 2026+ corrected wear requires an explicit fuel_model; without it only raw trends are available. Earlier default coefficients are illustrative assumptions, not measured fuel. Circuit abrasion is a scenario index, not a measured surface property.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.
fuel_modelobjectOptional caller fuel scenario, not measured fuel. Required for 2026+ corrected wear.

f1_deleted_laps Lap times the stewards struck out, with reinstatements.

Lap times the stewards struck out, with reinstatements. Every lap-time deletion race control announced in a session, with the car, the time, the stated reason, and whether the deletion still stands — a reinstated lap is reported with the reversal visible rather than silently dropped. Use before treating a fastest lap or a qualifying position as settled.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.
sessionstringSession name as the calendar spells it: Race, Qualifying, Sprint, Sprint Qualifying, Practice 1-3. Defaults to Race.

f1_running_order Who was where at the end of every lap.

Who was where at the end of every lap. The order on track lap by lap, plus how much each lap churned and who made the biggest single gain. This is the data behind any position-change chart; use it for 'how did the race unfold' rather than fetching results and guessing.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_battles Pairs that ran nose-to-tail, and for how long.

Pairs that ran nose-to-tail, and for how long. Every stretch where two cars held consecutive positions within 1.5 seconds for at least three laps, with the closest the gap got. Finds the fights a results table hides — a scrap for eighth that ran twenty laps never shows up in the standings.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_archive_race A race from 1996-2022, before the live-timing feeds.

A race from 1996-2022, before the live-timing feeds. Results, lap-by-lap running order, lead changes and laps led for the seasons the modern feeds do not cover. Pit stops are included from 2011. The reply carries a 'coverage' block naming exactly what that era does and does not hold, so an absent field is never mistaken for a zero. Use f1_race_story for 2023 onward — it knows strictly more.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_closest_titles Championships ranked by how close they finished.

Championships ranked by how close they finished. The smallest title margins in history, measured both in points and relative to what a win was worth that season — the only way seasons decades apart compare honestly, since two points in 1958 is most of a win and two points today is not.

ParameterTypeDescription
topintegerHow many seasons to return.

f1_season_shape How a championship unfolded, round by round.

How a championship unfolded, round by round. Each contender's running points total, who led after every round, and where the lead changed hands. Two seasons can end on the same margin and look nothing alike; this is what tells a procession from a fight.

ParameterTypeDescription
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_highlights The stretches of a race worth watching.

The stretches of a race worth watching. Windows where the timing feed's own passing signals cluster, ranked by density. An editing index rather than a verdict — it says where cars were changing state, not that a pass completed. 2023 onward.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_title_race Championship win probability, and who is still mathematically alive.

Championship win probability, and who is still mathematically alive. Two answers to 'who wins the title', kept deliberately apart. First the arithmetic: maximum points still available, and who is therefore out for certain — a fact, not a forecast. Then the projection: the rest of the season simulated thousands of times, resampling each driver from the positions they have actually finished in, with retirements at their measured rate. Every run first re-draws the driver's own level, so a short season widens the answer rather than hiding inside it. Returns the assumptions and sample sizes it st…

ParameterTypeDescription
year *integerSeason year, e.g. 2026. Race data 2023+.
runsintegerSimulated seasons. More is steadier and slower.

f1_circuit_profile A circuit's layout, pit-loss economics and historical record.

A circuit's layout, pit-loss economics and historical record. Geometry, corner-by-corner lap position and local heading change, mini-sector and marshal-sector boundaries, pit loss under green/SC/VSC, a reference lap, and historical outcomes in one evidence-labelled profile. Coordinate length is explicitly not presented as surveyed metres; absent elevation, width and DRS geometry are named rather than guessed. Use this for a race-preview track explainer.

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_circuit_survey The circuit measured from the cars that drove it.

The circuit measured from the cars that drove it. What no public circuit map carries, measured from telemetry instead: the height profile with gradients and total climb; where overtakes actually happen, clustered into zones and merged across the timing line; how much of the lap is spent at full throttle and where the braking zones are, with entry and minimum speeds; the width of road the field used and the camber of it. DRS zones are included for seasons that had DRS and reported as a regulation change, not a weather excuse, for those that do not. Every figure names the laps and drivers behind…

ParameterTypeDescription
round *integerRound number within the season, 1-based.
year *integerSeason year, e.g. 2026. Race data 2023+.

f1_circuit_directory Every Formula 1 venue recorded in the historical results.

Every Formula 1 venue recorded in the historical results. A source-labelled directory of circuit ids, names, cities, countries and coordinates from 1950 to today. This is the discovery call for a historic venue; pass its id to f1_circuit_history for results, and use f1_circuit_profile with a year and round when the question needs that event's specific layout.

f1_circuit_history A Formula 1 venue's winners, pole conversion and records.

A Formula 1 venue's winners, pole conversion and records. Historical results at one circuit: every event count, recent winners and their starting positions, pole-to-win conversion, and the most successful drivers. Use f1_circuit_directory first to discover the stable circuit id; this is results history, so it does not assign a modern map to an older layout.

ParameterTypeDescription
circuit_id *stringStable circuit id from f1_circuit_directory, e.g. 'monza', 'spa' or 'nurburgring'.