F1 MCP Server
A Model Context Protocol (MCP) server that provides Formula 1 data using the FastF1 Python package.
Features
- Get race schedules for any F1 season
- Retrieve session results (practice, qualifying, race)
- Access lap times and telemetry data
- Driver and constructor standings
- Circuit information
Quick Start
Prerequisites
- Python 3.13
- uv package manager
1. Install uv (if not already installed)
2. Setup F1 MCP Server
3. Run the server
MCP Inspector Setup
The MCP Inspector is a powerful tool for testing and debugging MCP servers. Here's how to set it up:
1. Install Node.js (if not already installed)
2. Install MCP Inspector
3. Run F1 MCP Server with Inspector
4. Using MCP Inspector
Once started, the inspector will:
- Launch a web interface (usually at
http://localhost:5173
) - Connect to your F1 MCP server automatically
- Provide an interactive UI to test all available tools
Available F1 Tools in Inspector:
get_race_schedule
- Browse F1 race calendarsget_session_results
- View race/qualifying resultsget_driver_standings
- Check championship standingsget_constructor_standings
- Team championship dataget_lap_times
- Detailed lap timing analysis
5. Example Usage in Inspector
Try these sample requests in the MCP Inspector:
Get 2024 Race Schedule:
Get Monaco GP Race Results:
Get Lap Times for Verstappen:
Troubleshooting MCP Inspector
Inspector won't start:
Server connection issues:
Port conflicts:
Usage with MCP Inspector
The MCP Inspector provides a web-based interface for testing F1 data tools:
Inspector Features:
- Interactive web UI at
http://localhost:5173
- Real-time F1 data testing
- JSON schema validation
- Tool documentation browser
Available Tools
get_race_schedule
: Get the race schedule for a specific seasonget_session_results
: Get results for a specific sessionget_driver_standings
: Get driver championship standingsget_constructor_standings
: Get constructor championship standingsget_lap_times
: Get lap times for a specific session
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides comprehensive Formula 1 data access including race schedules, session results, lap times, telemetry data, driver/constructor standings, and circuit information. Enables users to retrieve and analyze F1 racing data through natural language queries using the FastF1 Python package.
Related MCP Servers
- -securityFlicense-qualityProvides programmatic access to comprehensive football statistics and live match data via API-Football, enabling applications to retrieve league standings, team fixtures, player statistics, and real-time match events.Last updated -4
- AsecurityAlicenseAqualityProvides Formula One data and statistics through a Model Context Protocol interface, allowing users to access race calendars, session results, driver statistics, telemetry data, and championship standings.Last updated -84MIT License
- -securityAlicense-qualityProvides real-time and historical Formula 1 racing data through the Model Context Protocol, offering access to timing data, driver stats, race results, telemetry, and more.Last updated -11MIT License
- AsecurityAlicenseAqualityThis project implements a Model Context Protocol (MCP) server providing Formula One racing data using the Python FastF1 library. Inspired by an existing TypeScript server, it offers similar F1 data functionalities natively in Python via FastF1.Last updated -81MIT License