Node.js mcp server for iRacing data api
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add iracing-data --env COOKIE_JAR='<COOKIE_JAR>' --env EMAIL='<EMAIL>' -- npx iracing-data-mcp-server@latest @modelcontextprotocol/server-filesystem /path/to/your/cookie-jar-file~/.codex/config.toml
[mcp_servers.iracing-data]
command = "npx"
args = ["iracing-data-mcp-server@latest", "@modelcontextprotocol/server-filesystem", "/path/to/your/cookie-jar-file"]
env = { COOKIE_JAR = "<COOKIE_JAR>", EMAIL = "<EMAIL>" }
# codex mcp add iracing-data --env COOKIE_JAR='<COOKIE_JAR>' --env EMAIL='<EMAIL>' -- npx iracing-data-mcp-server@latest @modelcontextprotocol/server-filesystem /path/to/your/cookie-jar-file~/.cursor/mcp.json
{
"mcpServers": {
"iracing-data": {
"command": "npx",
"args": [
"iracing-data-mcp-server@latest",
"@modelcontextprotocol/server-filesystem",
"/path/to/your/cookie-jar-file"
],
"env": {
"COOKIE_JAR": "<COOKIE_JAR>",
"EMAIL": "<EMAIL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"iracing-data": {
"type": "stdio",
"command": "npx",
"args": [
"iracing-data-mcp-server@latest",
"@modelcontextprotocol/server-filesystem",
"/path/to/your/cookie-jar-file"
],
"env": {
"COOKIE_JAR": "<COOKIE_JAR>",
"EMAIL": "<EMAIL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"iracing-data": {
"command": "npx",
"args": [
"iracing-data-mcp-server@latest",
"@modelcontextprotocol/server-filesystem",
"/path/to/your/cookie-jar-file"
],
"env": {
"COOKIE_JAR": "<COOKIE_JAR>",
"EMAIL": "<EMAIL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"iracing-data": {
"command": "npx",
"args": [
"iracing-data-mcp-server@latest",
"@modelcontextprotocol/server-filesystem",
"/path/to/your/cookie-jar-file"
],
"env": {
"COOKIE_JAR": "<COOKIE_JAR>",
"EMAIL": "<EMAIL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"iracing-data": {
"command": "npx",
"args": [
"iracing-data-mcp-server@latest",
"@modelcontextprotocol/server-filesystem",
"/path/to/your/cookie-jar-file"
],
"env": {
"COOKIE_JAR": "<COOKIE_JAR>",
"EMAIL": "<EMAIL>"
}
}
}
}Environment variables
COOKIE_JAREMAIL
Replace the placeholders with your own credentials and keep them out of version control.