MCP server for Formula 1 data via the FastF1 library. Ask Claude (or any MCP-compatible client) about race results, lap times, telemetry, standings, pit stops, and qualifying — with historical data back to 1950 via the Ergast API.
21 tools covering:
- Ergast historical lookups (standings, schedules, race results, driver/circuit info) — 1950 to present
- Session data (lap times, race pace, stint analysis, pit stops, qualifying breakdown)
- Telemetry (speed traces, sector times, driver comparisons with lap delta)
- Utilities (event/driver listing, session cache management)
4 MCP resources: f1://schedule/{year}, f1://drivers/{year}, f1://constructors/{year}, f1://circuits
5 guided prompts: race_recap, qualifying_analysis, driver_comparison, strategy_analysis, weekend_preview
Install: pip install fastf1-mcp-server
Server Config
{
"mcpServers": {
"fastf1": {
"command": "uv",
"args": [
"run",
"fastf1-mcp-server"
],
"cwd": "/absolute/path/to/fastf1-mcp",
"env": {
"FASTF1_MCP_LOG_LEVEL": "INFO",
"FASTF1_MCP_MAX_CACHED_SESSIONS": "10"
}
}
}
}