Formula One MCP Server logo

Formula One MCP Server

by rakeshgangwar

This Model Context Protocol (MCP) server provides access to Formula One data and statistics using the FastF1 Python library. It allows you to access race calendars, event information, session results, driver data, lap times, telemetry, and championship standings through a clean MCP interface.

View on GitHub

Last updated: N/A

What is Formula One MCP Server?

The Formula One MCP Server is a tool that provides access to Formula One data and statistics through a Model Context Protocol (MCP) interface. It leverages the FastF1 Python library to retrieve data such as race calendars, event information, session results, and driver telemetry.

How to use Formula One MCP Server?

To use the server, you need to install the necessary Python and Node.js dependencies, build the TypeScript code, and add the server configuration to your Cline MCP settings file. Once configured, you can use the available tools with Cline to query Formula One data using natural language.

Key features of Formula One MCP Server

  • Get Formula One race calendars for specific seasons

  • Retrieve detailed information about Grand Prix events

  • Get session results (Race, Qualifying, Practice)

  • Access driver information and statistics

  • Analyze driver performance with lap times and telemetry data

  • Compare multiple drivers' performance

  • Get championship standings for drivers and constructors

Use cases of Formula One MCP Server

  • Analyzing driver performance during a race

  • Comparing the performance of different drivers

  • Predicting race outcomes based on historical data

  • Visualizing telemetry data to understand driving techniques

FAQ from Formula One MCP Server

What data source does this server use?

This server uses the FastF1 Python library, which provides access to official Formula 1 timing data, car telemetry, and session results.

What are the prerequisites for running this server?

You need Node.js 18 or later, Python 3.8 or later, and the FastF1 library installed.

How do I install the Python dependencies?

You can install the Python dependencies using the command: pip install fastf1 pandas numpy

How do I add the server to my MCP settings?

You need to add a configuration block to your Cline MCP settings file (~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json) with the server's command and arguments.

What kind of queries can I make?

You can ask questions like 'Show me the 2023 Formula One race calendar', 'Get the results from the 2022 Monaco Grand Prix', or 'Compare Hamilton and Verstappen's performance in the 2021 British Grand Prix'.