Skip to main content

iRacing MCP

iRacing MCP is a Python-based project that integrates iRacing with the Model Context Protocol (MCP). It provides tools and resources to interact with iRacing data and build custom applications.

Features

  • Retrieve iRacing profile statistics.
  • More coming soon

Getting Started

Prerequisites

Usage

Running the Server Standalone

To start the MCP server, run:

IRACING_USERNAME="your username" IRACING_PASSWORD="your-password" uvx iracing-mcp

Running the Server on VSCode

Add this to your settings.json (in mcp.servers):

"iracing": {
    "command": "uvx",
    "args": [
        "iracing-mcp@latest"
    ],
    "env": {
        "IRACING_USERNAME": "your-username",
        "IRACING_PASSWORD": "your password"
    }
}

Running the Server on other MCP Clients

Currently I am only using VS Code as MCP Client so I don't know how to configure to other MCP Clients. I am happy to receive PRs on how to configure in the different MCP Servers (e.g. Cursor, Claude Desktop, etc.)

Development

  1. Clone the repository:

    git clone https://github.com/musantro/iracing-mcp.git
    cd iracing-mcp
    
  2. Create environment with dependencies:

    uv sync
    
  3. Set up environment variables for iRacing credentials:

    export IRACING_USERNAME="your_username"
    export IRACING_PASSWORD="your_password"
    

Linting and Formatting

Use the following commands to lint and format the code:

make

Contributing

We welcome contributions! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Push your branch.
  4. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for iracing-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iracing-mcp 0.1.1
File Size Uploaded Provenance
iracing_mcp-0.1.1.tar.gz 21.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for iracing-mcp 0.1.1
File Interpreter ABI Platform
iracing_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / iracing_mcp-0.1.1.tar.gz

Download URL iracing_mcp-0.1.1.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7dcb39d7d55d2062bcf06cc307e91c9bde7ada74f7faaf0ea650cf6938367ce5
BLAKE2b-256 checksum
How to use checksums
623b8bac75f20256149c0db307c9f878c0ea53b5d775e65d9ccde9b38985d273
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / iracing_mcp-0.1.1-py3-none-any.whl

Download URL iracing_mcp-0.1.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af5dbe7bb328107824987fbf574d5503d524ecc71ed347e0276827da6b8c345e
BLAKE2b-256 checksum
How to use checksums
cc808ce0648744b53dcbe40aee07d69fe40c10edf6ced75747b2d5287face9ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for iracing-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page