iRacing MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@iRacing MCP Servershow me the current leaderboard"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: mc-mcp-server
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 variablesget_telemetry_values(names)- Get specified telemetry values
Race Information
get_leaderboard()- Get leaderboardget_driver_info()- Get driver informationget_session_info()- Get session informationget_qualify_results_info()- Get qualification results informationget_weekend_info()- Get weekend informationget_split_time_info()- Get split time informationget_radio_info()- Get radio infomationget_current_flags()- Get current flagsget_current_engine_warnings()- Get engine warnings
Camera Control
get_camera_info()- Get camera informationget_current_camera_status()- Get current camera statuscam_switch(group_number, car_number_raw, position)- Switch camera
Pit Operations
get_current_pit_service_status()- Get current pit service statuspit_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 implementationpyirsdk>=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 fileLicense
This project is released under the MIT License.
Acknowledgments
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ellettie/iracing-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server