Back to Browse

Racehooks MCP Server

Developer ToolsUse Caution4.8MCP RegistryLocal
Free

Server data from the Official MCP Registry

F1 race analytics & live timing for AI assistants — webhooks, results, and race simulations.

About

F1 race analytics & live timing for AI assistants — webhooks, results, and race simulations.

Security Report

4.8
Use Caution4.8High Risk

This is a well-structured MCP server for RaceHooks motorsport analytics with proper OAuth 2 authentication, appropriate input validation via Zod schemas, and permissions that align with its purpose. The server requires valid credentials to operate, has no hardcoded secrets, and avoids dangerous patterns like arbitrary code execution or data exfiltration. Minor observations include broad exception handling and the potential for credential leakage via environment variables in configuration examples, but these are standard practices for this type of service and do not present critical risks. Supply chain analysis found 4 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.

7 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

process_spawn

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your RaceHooks client ID. Get yours at racehooks.io.Optional

Environment variable: RACEHOOKS_CLIENT_ID

Your RaceHooks client secret.Required

Environment variable: RACEHOOKS_CLIENT_SECRET

API base URL. Defaults to https://api.racehooks.io.Optional

Environment variable: RACEHOOKS_BASE_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-racehooks-racehooks-mcp": {
      "env": {
        "RACEHOOKS_BASE_URL": "your-racehooks-base-url-here",
        "RACEHOOKS_CLIENT_ID": "your-racehooks-client-id-here",
        "RACEHOOKS_CLIENT_SECRET": "your-racehooks-client-secret-here"
      },
      "args": [
        "-y",
        "racehooks-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

@racehooks/mcp

MCP server for RaceHooks — gives AI assistants (Claude, Cursor, Windsurf) direct access to RaceHooks motorsport analytics and data.

npm License: MIT

RaceHooks is an independent service and is not affiliated with or endorsed by Formula One Management or the FIA. "Formula 1," "F1," and related marks are trademarks of Formula One Licensing BV.

What this does

Exposes your RaceHooks account as a set of tools and resources an AI assistant can call:

Tools (actions):

  • list_feeds / list_webhooks / get_webhook / create_webhook / delete_webhook
  • test_webhook / get_webhook_logs
  • get_live_session / list_events
  • get_subscription / get_usage / get_usage_by_feed / get_billing_plan
  • start_simulation / list_simulations / get_simulation / cancel_simulation

Resources (read-only context):

  • racehooks://feeds — full feed catalog
  • racehooks://live — current live session state
  • racehooks://webhooks — all webhook subscriptions
  • racehooks://usage — current delivery usage

Prompts (guided workflows):

  • setup_race_event_webhook — create an events.race subscription with filters
  • setup_fantasy_scoring_webhook — create a fantasy-optimised subscription
  • check_account_health — full account health summary

Installation

npm install -g @racehooks/mcp

Or run directly with npx:

npx @racehooks/mcp

Get your API credentials at racehooks.io.

Configuration

Set two environment variables before starting:

export RACEHOOKS_CLIENT_ID="your-client-id"
export RACEHOOKS_CLIENT_SECRET="your-client-secret"
# Optional — defaults to https://api.racehooks.io
export RACEHOOKS_BASE_URL="https://api.racehooks.io"

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "racehooks": {
      "command": "npx",
      "args": ["-y", "@racehooks/mcp"],
      "env": {
        "RACEHOOKS_CLIENT_ID": "your-client-id",
        "RACEHOOKS_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Claude Code (project config)

Add to .claude/settings.json in your project:

{
  "mcpServers": {
    "racehooks": {
      "type": "stdio",
      "command": "racehooks-mcp",
      "env": {
        "RACEHOOKS_CLIENT_ID": "your-client-id",
        "RACEHOOKS_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Or with npx (no global install needed):

{
  "mcpServers": {
    "racehooks": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@racehooks/mcp"],
      "env": {
        "RACEHOOKS_CLIENT_ID": "your-client-id",
        "RACEHOOKS_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Cursor / Windsurf

Add to your MCP config (.cursor/mcp.json or equivalent):

{
  "mcpServers": {
    "racehooks": {
      "command": "npx",
      "args": ["-y", "@racehooks/mcp"],
      "env": {
        "RACEHOOKS_CLIENT_ID": "your-client-id",
        "RACEHOOKS_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}

Example usage with Claude

Once configured, you can ask Claude things like:

"Check my RaceHooks account health"

"Create an events.race webhook for https://myapp.com/hook, filtering for Ferrari only"

"Start a simulation of the 2025 Monaco GP qualifying against my webhooks at 10× speed"

"Show me which feeds are using the most delivery quota today"

"Set up a fantasy scoring webhook for my VER, NOR, LEC team at https://scoring.myapp.com/hook"

Security

The MCP server runs as a local stdio process — it never binds a network port. Your credentials are passed via environment variables, not included in tool calls or resource URIs.

All API calls are authenticated using OAuth 2 client credentials (token auto-refreshes before expiry).

Links

Reviews

No reviews yet

Be the first to review this server!