iRacing MCP Server

iRacing MCP Server

Enables AI assistants to access real-time iRacing telemetry, race information, camera control, pit operations, and replay features through the MCP protocol.

Category
Visit Server

README

iRacing MCP Server

An MCP (Model Context Protocol) server for accessing iRacing telemetry data and game functionality.

Overview

This project provides real-time telemetry data, leaderboard information, camera control, pit commands, replay functionality, and more from iRacing through the MCP protocol. It enables AI assistants and other applications to easily access iRacing data.

Key Features

šŸ“Š Telemetry Data

  • Retrieve real-time telemetry values
  • Get list of available telemetry variables

šŸ Race Information

  • Get leaderboard (competitive positions only)
  • Access driver information, session information, weekend information, and split time information
  • Monitor current flags and engine warnings

šŸ“¹ Camera Control

  • Get available camera groups
  • Switch cameras (by car number, position, group specification)
  • Check current camera status

šŸ”§ Pit Operations

  • Check pit service status
  • Execute pit commands (refueling, tire changes, repairs, etc.)
  • Manage safe pit operations

šŸŽ¬ Replay Features

  • Search and navigate replays
  • Move between sessions, laps, and frames
  • Jump to incident markers

Requirements

  • Python 3.13 or higher
  • iRacing (must be running)
  • uv

Usage

1. Configure mcp.json

{
    "mcpServers": {
        "iracing-mcp-server": {
            "command": "uvx",
            "args":["iracing-mcp-server"]
        }
    }
}

Available Tools

Telemetry Related

  • get_telemetry_names() - Get available telemetry variables
  • get_telemetry_values(names) - Get specified telemetry values

Race Information

  • get_leaderboard() - Get leaderboard
  • get_driver_info() - Get driver information
  • get_session_info() - Get session information
  • get_qualify_results_info() - Get qualification results information
  • get_weekend_info() - Get weekend information
  • get_split_time_info() - Get split time information
  • get_radio_info() - Get radio infomation
  • get_current_flags() - Get current flags
  • get_current_engine_warnings() - Get engine warnings

Camera Control

  • get_camera_info() - Get camera information
  • get_current_camera_status() - Get current camera status
  • cam_switch(group_number, car_number_raw, position) - Switch camera

Pit Operations

  • get_current_pit_service_status() - Get current pit service status
  • pit_command(commands_and_values) - Execute pit command

Replay Features

  • replay_search(search_commands) - Search and navigate replay

Development

Dependencies

  • mcp[cli]>=1.12.2 - MCP protocol implementation
  • pyirsdk>=1.3.5 - iRacing SDK Python bindings

Project Structure

iracing-mcp-server/
ā”œā”€ā”€ src/iracing_mcp_server/
│   ā”œā”€ā”€ __init__.py          # Main entry point
│   ā”œā”€ā”€ server.py            # MCP server implementation
│   ā”œā”€ā”€ leaderboard.py       # Leaderboard processing
│   └── prompt.py            # Prompt templates
ā”œā”€ā”€ pyproject.toml           # Project configuration
└── README.md               # This file

License

This project is released under the MIT License.

Acknowledgments

  • pyirsdk - Python bindings for iRacing SDK
  • MCP - Model Context Protocol

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured