aashnakunk/fastf1-mcp
MCP server with 17 analysis tools for FastF1's telemetry data for Formula One races from 2014 - current
Platform-specific configuration:
{
"mcpServers": {
"fastf1-mcp": {
"command": "npx",
"args": [
"-y",
"fastf1-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A local MCP server that gives Claude (or any MCP-compatible AI client) access to Formula 1 race data. Load any session from 2018 onwards, ask questions in natural language, and get answers backed by real telemetry, timing, and strategy data.
No hosted API. No credentials for data. Everything runs locally on your machine.
pip install fastf1-mcpAdd to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"f1": {
"command": "fastf1-mcp"
}
}
}Restart Claude Desktop. Then ask:
> "Load the 2024 Monaco qualifying and tell me who got pole"
> "Compare Verstappen and Leclerc's race pace at Silverstone"
> "What was Hamilton's pit strategy at Monza?"
The MCP server exposes 17 tools that Claude can call to fetch specific F1 data:
| Tool | What It Answers | |------|----------------| | load_session | Load a race, qualifying, or practice session | | season_calendar | "What races are in 2024?" | | race_result | "Who won?", "What was the podium?" | | qualifying_result | "Who got pole?", "Q3 times?" | | lap_times | "How consistent was Leclerc?" | | fastest_laps | "Who set the fastest lap?" | | pit_stops | "When did everyone pit?" | | tire_stints | "What compounds did they use?" | | driver_telemetry | "What was Verstappen's top speed?" | | head_to_head | "Compare Norris vs Piastri" | | weather | "Was it wet?" | | session_summary | "Give me an overview of the race" | | track_evolution | "Did the track get faster?" | | overtake_analysis | "Who gained the most positions?" | | identify_driver | "Who is car 44?" | | list_drivers | "Who was in this session?" | | session_status | "What session is loaded?" |
You don't need to know exact driver codes or race names. The server resolves natural language:
| You Say | Resolves To | |---------|---------
Loading reviews...