get_laps
Pack: openf1 · Endpoint: https://gateway.pipeworx.io/openf1/mcp
Lap times / telemetry for an F1 session: per-lap duration, sector times, speed-trap, pit-out flag. Live race data. session_key=“latest” for the most recent / ongoing session. Optionally filter by driver_number or lap_number.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
session_key | number,string | yes | Session key, or ‘latest’ for the most recent session. Required. |
driver_number | number | no | Restrict to a single driver, e.g. 1, 44. |
lap_number | number | no | Restrict to a single lap. |
Example call
curl -X POST https://gateway.pipeworx.io/openf1/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_laps","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openf1": {
"url": "https://gateway.pipeworx.io/openf1/mcp"
}
}
}
See Getting Started for client-specific install steps.