get_historical_laps
Retrieve detailed lap-by-lap data from 2018 onward, including lap times, tyre compounds, stint pace and pit stops, for seasons where other F1 sources have no coverage.
Instructions
Detailed laps for 2018 onward (FastF1, optional extra): every lap with time, tyre compound, tyre age, stint, pit in/out, position and whether it was neutralised, plus per-stint pace and degradation. Use it for seasons before 2023, where OpenF1 has nothing. race = round number, 'last' or a name like 'Monza'. The first load of a session takes 10-60 seconds. Needs: pip install "f1-mcp[fastf1]".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>",
"race": "<race>",
"driver": "<driver>"
},
"name": "get_historical_laps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| race | Yes | ||
| year | Yes | ||
| driver | Yes | ||
| session_name | No | Race |