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
- uv - Install here
- iRacing account with legacy authentication (required) - Enable it here: https://oauth.iracing.com/accountmanagement/security
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
-
Clone the repository:
git clone https://github.com/musantro/iracing-mcp.git cd iracing-mcp
-
Create environment with dependencies:
uv sync -
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:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Push your branch.
- 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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| iracing_mcp-0.1.1.tar.gz | 21.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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.