
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
iracing-data-mcp-server
Advanced tools
A Node.js Model Context Protocol (MCP) server that provides seamless access to iRacing's racing simulation data API. This project serves as both a standalone CLI tool and an MCP server for AI assistant integration.
To use this MCP server with AI assistants like Claude Desktop, add the following configuration to your MCP settings file:
For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"iracing-data-mcp-server": {
"command": "npx",
"args": [
"iracing-data-mcp-server@latest",
"@modelcontextprotocol/server-filesystem",
"/path/to/your/cookie-jar-file"
]
"env": {
"COOKIE_JAR": "/path/to/your/cookie-jar-file",
"EMAIL": "your.email@example.com",
"API_KEY": "your_api_key_here"
}
}
}
}
The server will run and provide the following tools to AI assistants:
| Tool | Description | Parameters |
|---|---|---|
login | Authenticate with iRacing | None |
get_members_profile | Get member profile data | member_ids: number[] |
get_team | Retrieve team information | team_id: string |
get_member_recap | Get season recap data | member_id: number, year?: number, season?: number |
get_member_career | Get career statistics | member_id: number |
driver_lookup | Search for drivers | driver_name: string |
Create a .env file in your project directory:
# Required: Path to store authentication cookies
COOKIE_JAR=./cookies.txt
# Required: Your iRacing account credentials
EMAIL=your.email@example.com
# Option 1: Use your iRacing password
PASSWORD=your_password
# Option 2: Use pre-generated API key (recommended for security)
# API_KEY=your_api_key_here
Before using the cli, authenticate with iRacing:
npm run login
Use the command-line interface for direct data access:
# Single member
npm run api member 123456
# Multiple members
npm run api member 123456,789012
npm run api team 123456
npm run api member-career 123456
# Current season recap
npm run api member-recap --member-id 123456
# Specific year and season
npm run api member-recap --member-id 123456 --year 2024 --season 1
npm run api driver-lookup "Max Verstappen"
npm run api documentation
git clone https://github.com/yourusername/iracing-data-mcp-server.git
cd iracing-data-mcp-server
npm install
Recommended: Use an API key for enhanced security:
Generate API Key:
const crypto = require('crypto');
const apiKey = crypto.createHash('sha256')
.update(password + email)
.digest('base64');
Set in Environment:
API_KEY=your_generated_api_key
# Remove PASSWORD variable when using API_KEY
The server automatically manages authentication cookies:
COOKIE_JARBuilt with ❤️ for the racing community
FAQs
Node.js mcp server for iRacing data api
We found that iracing-data-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.