Skip to main content
Glama
Panth1823

Formula1 MCP Server

by Panth1823

鍛冶屋のバッジ

Formula1 MCPサーバー!🏎️💨

TypeScriptベースのF1 MCPサーバー。モデルコンテキストプロトコル(CMP)を介して、リアルタイムおよび過去のF1レースデータの興奮を指先で直接体験できます。ホットラップではフェルスタッペンより速い!(まあ、そこまで速くはないかもしれませんが、頑張っています!)

リソース

  • 標準化されたURI経由でF1セッションデータにアクセスする

  • リアルタイムテレメトリデータ

  • 過去のレース情報

  • ドライバーとコンストラクターの順位

  • 天気データ

  • サーキット情報

はじめる

Smithery経由のクイックインストール

Smithery 経由で Formula 1 MCP サーバーを自動的にインストールするには:

npx -y @smithery/cli install @Panth1823/formula1-mcp --client claude

手動インストール

  1. リポジトリをクローンします:

git clone https://github.com/Panth1823/formula1-mcp
cd formula1-mcp
  1. インストール:

npm install
  1. 建てる:

npm run build

Related MCP server: Formula One MCP Server (Python)

設定

MCP クライアント構成に追加:

{
  "mcpServers": {
    "formula1": {
      "command": "node",
      "args": ["<path-to-your-cloned-repo>/build/index.js"],
      "cwd": "<path-to-your-cloned-repo>",
      "enabled": true
    }
  }
}

設定場所:

  • Windows: %APPDATA%\.cursor\mcp.json

  • MacOS: ~/.cursor/mcp.json

  • Linux: ~/.config/.cursor/mcp.json

利用可能なツール

1. getLiveTimingData

現在のセッションのリアルタイムのタイミング データを取得します。

パラメータ:

  • 不要

2. getCurrentSessionStatus

現在のセッションに関するステータス情報を取得します。

パラメータ:

  • 不要

3. getDriverInfo

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

パラメータ:

  • driverId (文字列): ドライバー識別子 (例: "max_verstappen"、"lewis_hamilton")

4. getHistoricalSessions

履歴イベントのセッション キーを見つけます。

パラメータ:

  • year (数字、オプション):シーズン年(例:2023)

  • circuit_short_name (文字列、オプション): 回路名 (例: "monza"、"spa")

  • country_name (文字列、オプション): 国名 (例: "Italy"、"Belgium")

  • session_name (文字列、オプション): セッションの種類 (例: 「レース」、「予選」)

5. getHistoricRaceResults

特定の過去のレースのレース結果を取得します。

パラメータ:

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

  • round (番号):レース番号(例:1、2、3)

6. getDriverStandings

ドライバーチャンピオンシップの順位を取得します。

パラメータ:

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

7. getConstructorStandings

コンストラクターチャンピオンシップの順位を取得します。

パラメータ:

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

8. getLapTimes

特定のドライバーのラップタイムを取得します。

パラメータ:

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

  • round (番号):レース番号(例:1、2、3)

  • driverId (文字列): ドライバー識別子 (例: "max_verstappen"、"lewis_hamilton")

9. getWeatherData

セッションの天気データを取得します。

パラメータ:

  • sessionKey (文字列、オプション): セッション識別子

10. 車getCarData

詳細な車のテレメトリデータを取得します。

パラメータ:

  • driverNumber (文字列): ドライバーの車番号 (例: "44"、"33")

  • sessionKey (文字列、オプション): セッション識別子

  • filters (文字列、オプション): データフィルター

11. getPitStopData

ピットストップ情報を取得します。

パラメータ:

  • driverNumber (文字列、オプション): ドライバーの車番号

  • sessionKey (文字列、オプション): セッション識別子

12. getTeamRadio

チームの無線通信を取得します。

パラメータ:

  • driverNumber (文字列、オプション): ドライバーの車番号

  • sessionKey (文字列、オプション): セッション識別子

13. getRaceControlMessages

レース制御メッセージを取得します。

パラメータ:

  • sessionKey (文字列、オプション): セッション識別子

14. getRaceCalendar

F1レースカレンダーを入手してください。

パラメータ:

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

15. getCircuitInfo

詳細な回路情報を取得します。

パラメータ:

  • circuitId (文字列): 回路識別子 (例: "monza"、"spa")

16. getSeasonList

利用可能な F1 シーズンのリストを取得します。

パラメータ:

  • limit (数値、オプション): 返される季節の数

17. getQualifyingResults

予選セッションの結果を取得します。

パラメータ:

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

  • round (番号):レース番号(例:1、2、3)

18. getDriverInformation

Ergast API から詳細なドライバー情報を取得します。

パラメータ:

  • driverId (文字列): ドライバー識別子 (例: "max_verstappen"、"lewis_hamilton")

19. getConstructorInformation

Ergast API から詳細なコンストラクター情報を取得します。

パラメータ:

  • constructorId ID(文字列): コンストラクター識別子(例:"red_bull"、"mercedes")

20. clearCache

F1 データのローカル キャッシュをクリアします。

パラメータ:

  • 不要

データソース

  • ライブデータ: F1 ライブタイミング API (OpenF1)

  • 履歴: Ergast API (FastF1)

  • 「2023年モナコGPの結果を表示」

  • 「現在の順位を取得する」

  • 「シルバーストーンの天気」

  • 「ハミルトンのラップタイム」

  • 「2024年のカレンダーを表示」

  • 「フェルスタッペンの情報」

  • 「日本GP予選」

デバッグ

デバッグにはMCP Inspectorを使用します。

ヘルプ

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides 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.
    8
    11
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    This 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.
    8
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that provides comprehensive Formula One racing data, enabling access to event schedules, driver information, telemetry data, race results, and performance analytics through natural language queries.
    8
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables access to Formula 1 data from the openF1.org API, including driver information, race results, lap times, telemetry, pit stops, weather conditions, and live position data across multiple seasons.
    -