MCP cover image
See in Github
2025-03-22

1

Github Watches

1

Github Forks

0

Github Stars

Formula One MCP Server

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.

Features

  • 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

Prerequisites

  • Node.js 18 or later
  • Python 3.8 or later
  • FastF1 library

Installation

1. Install Python dependencies

pip install fastf1 pandas numpy

2. Install Node.js dependencies

cd f1-mcp-server
npm install

3. Build the TypeScript code

npm run build

4. Add to MCP settings

Add the following to your Cline MCP settings file (~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):

{
  "mcpServers": {
    "formula1": {
      "command": "node",
      "args": ["/Users/rakeshgangwar/Documents/Cline/MCP/f1-mcp-server/build/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Available Tools

1. get_event_schedule

Get Formula One race calendar for a specific season.

Parameters:

  • year (number): Season year (e.g., 2023)

2. get_event_info

Get detailed information about a specific Formula One Grand Prix.

Parameters:

  • year (number): Season year (e.g., 2023)
  • identifier (string): Event name or round number (e.g., "Monaco" or "7")

3. get_session_results

Get results for a specific Formula One session.

Parameters:

  • year (number): Season year (e.g., 2023)
  • event_identifier (string): Event name or round number (e.g., "Monaco" or "7")
  • session_name (string): Session name (e.g., "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")

4. get_driver_info

Get information about a specific Formula One driver.

Parameters:

  • year (number): Season year (e.g., 2023)
  • event_identifier (string): Event name or round number (e.g., "Monaco" or "7")
  • session_name (string): Session name (e.g., "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • driver_identifier (string): Driver identifier (number, code, or name; e.g., "44", "HAM", "Hamilton")

5. analyze_driver_performance

Analyze a driver's performance in a Formula One session.

Parameters:

  • year (number): Season year (e.g., 2023)
  • event_identifier (string): Event name or round number (e.g., "Monaco" or "7")
  • session_name (string): Session name (e.g., "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • driver_identifier (string): Driver identifier (number, code, or name; e.g., "44", "HAM", "Hamilton")

6. compare_drivers

Compare performance between multiple Formula One drivers.

Parameters:

  • year (number): Season year (e.g., 2023)
  • event_identifier (string): Event name or round number (e.g., "Monaco" or "7")
  • session_name (string): Session name (e.g., "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • drivers (string): Comma-separated list of driver codes (e.g., "HAM,VER,LEC")

7. get_telemetry

Get telemetry data for a specific Formula One lap.

Parameters:

  • year (number): Season year (e.g., 2023)
  • event_identifier (string): Event name or round number (e.g., "Monaco" or "7")
  • session_name (string): Session name (e.g., "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • driver_identifier (string): Driver identifier (number, code, or name; e.g., "44", "HAM", "Hamilton")
  • lap_number (number, optional): Lap number (gets fastest lap if not provided)

8. get_championship_standings

Get Formula One championship standings.

Parameters:

  • year (number): Season year (e.g., 2023)
  • round_num (number, optional): Round number (gets latest standings if not provided)

Example Usage

Once the server is added to your MCP settings and running, you can use these tools with Cline to access Formula One data.

Example queries:

  • "Show me the 2023 Formula One race calendar"
  • "Get the results from the 2022 Monaco Grand Prix"
  • "Compare Hamilton and Verstappen's performance in the 2021 British Grand Prix"
  • "Show me the telemetry data from Leclerc's fastest lap in the 2023 Italian Grand Prix qualifying"
  • "What are the current F1 championship standings?"

Data Source

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

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

    Reviews

    4 (1)
    Avatar
    user_8PlBIv0D
    2025-04-15

    I have been using the Model Context Protocol (MCP) Tools for several months now and it has significantly improved my workflow. It's a user-friendly and versatile tool that helps streamline various tasks with great efficiency. I highly recommend it to anyone needing reliable context management. The ease of use and the support by the author are top-notch!