Skip to main content
Glama

Formula One MCP Server

フォーミュラワン MCP サーバー

このモデルコンテキストプロトコル(MCP)サーバーは、FastF1 Pythonライブラリを使用して、F1のデータと統計情報へのアクセスを提供します。レースカレンダー、イベント情報、セッション結果、ドライバーデータ、ラップタイム、テレメトリ、チャンピオンシップ順位表など、わかりやすいMCPインターフェースからアクセスできます。

特徴

  • 特定のシーズンのF1レースカレンダーを入手
  • グランプリイベントの詳細情報を取得する
  • セッション結果を取得する(レース、予選、練習)
  • ドライバー情報と統計にアクセスする
  • ラップタイムとテレメトリデータでドライバーのパフォーマンスを分析
  • 複数のドライバーのパフォーマンスを比較する
  • ドライバーとコンストラクターのチャンピオンシップ順位を取得する

前提条件

  • Node.js 18以降
  • Python 3.8以降
  • FastF1ライブラリ

インストール

1. Pythonの依存関係をインストールする

pip install fastf1 pandas numpy

2. Node.jsの依存関係をインストールする

cd f1-mcp-server npm install

3. TypeScriptコードをビルドする

npm run build

4. MCP設定に追加

Cline MCP 設定ファイル ( ~/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": [] } } }

利用可能なツール

1. get_event_schedule

特定のシーズンのF1レースカレンダーを取得します。

パラメータ:

  • year (数字):シーズン年(例:2023)

2. get_event_info

特定のF1グランプリに関する詳細情報を取得します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • identifier (文字列):イベント名またはラウンド番号(例:「モナコ」または「7」)

3. get_session_results

特定のF1セッションの結果を取得します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • event_identifier (文字列): イベント名またはラウンド番号 (例: "Monaco" または "7")
  • session_name (文字列): セッション名 (例: "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")

4. get_driver_info

特定のF1ドライバーに関する情報を取得します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • event_identifier (文字列): イベント名またはラウンド番号 (例: "Monaco" または "7")
  • session_name (文字列): セッション名 (例: "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • driver_identifier (文字列): ドライバー識別子 (番号、コード、または名前。例: "44"、"HAM"、"Hamilton")

5. analyze_driver_performance

F1 セッションにおけるドライバーのパフォーマンスを分析します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • event_identifier (文字列): イベント名またはラウンド番号 (例: "Monaco" または "7")
  • session_name (文字列): セッション名 (例: "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • driver_identifier (文字列): ドライバー識別子 (番号、コード、または名前。例: "44"、"HAM"、"Hamilton")

6. compare_drivers

複数のF1ドライバーのパフォーマンスを比較します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • event_identifier (文字列): イベント名またはラウンド番号 (例: "Monaco" または "7")
  • session_name (文字列): セッション名 (例: "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • drivers (文字列):ドライバーコードのコンマ区切りリスト(例:"HAM,VER,LEC")

7. get_telemetry

特定の F1 ラップのテレメトリ データを取得します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • event_identifier (文字列): イベント名またはラウンド番号 (例: "Monaco" または "7")
  • session_name (文字列): セッション名 (例: "Race", "Qualifying", "Sprint", "FP1", "FP2", "FP3")
  • driver_identifier (文字列): ドライバー識別子 (番号、コード、または名前。例: "44"、"HAM"、"Hamilton")
  • lap_number (数値、オプション): ラップ番号 (指定しない場合は最速ラップが取得されます)

8. get_championship_standings

F1チャンピオンシップの順位表を入手します。

パラメータ:

  • year (数字):シーズン年(例:2023)
  • round_num (数値、オプション): ラウンド番号 (指定されていない場合は最新の順位を取得します)

使用例

サーバーが MCP 設定に追加され実行されると、Cline でこれらのツールを使用して Formula One データにアクセスできるようになります。

クエリの例:

  • 「2023年のF1レースカレンダーを見せてください」
  • 「2022年モナコグランプリの結果はこちら」
  • 「2021年イギリスGPにおけるハミルトンとフェルスタッペンのパフォーマンスを比較」
  • 「2023年イタリアGP予選におけるルクレールの最速ラップのテレメトリーデータを見せてください」
  • 「現在のF1チャンピオンシップの順位はどうなっていますか?」

データソース

このサーバーは、公式のF1タイミングデータ、車両テレメトリ、セッション結果へのアクセスを提供するFastF1 Pythonライブラリを使用します。

ライセンス

マサチューセッツ工科大学

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

モデル コンテキスト プロトコル インターフェイスを通じて Formula 1 のデータと統計を提供し、ユーザーがレース カレンダー、セッション結果、ドライバー統計、テレメトリ データ、チャンピオンシップ順位にアクセスできるようにします。

  1. 特徴
    1. 前提条件
      1. インストール
        1. Pythonの依存関係をインストールする
        2. Node.jsの依存関係をインストールする
        3. TypeScriptコードをビルドする
        4. MCP設定に追加
      2. 利用可能なツール
        1. get_event_schedule
        2. get_event_info
        3. get_session_results
        4. get_driver_info
        5. analyze_driver_performance
        6. compare_drivers
        7. get_telemetry
        8. get_championship_standings
      3. 使用例
        1. データソース
          1. ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that interfaces with Biomart databases, allowing models to discover biological datasets, explore attributes/filters, retrieve biological data, and translate between different biological identifiers.
              Last updated -
              8
              5
              Python
              MIT License
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables users to access Strava fitness data, including user activities, activity details, segments, and leaderboards through a structured API interface.
              Last updated -
              3
              Python
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server for data wrangling that provides standardized interfaces for data preprocessing, transformation, and analysis tasks including data aggregation and descriptive statistics.
              Last updated -
              1
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              Provides 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 -
              11
              TypeScript
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/rakeshgangwar/f1-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server