MCP server for RaceHooks — F1 live timing tools for Claude, Cursor, and Windsurf
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add racehooks-mcp -- npx -y @racehooks/mcp{
"mcpServers": {
"racehooks-mcp": {
"command": "npx",
"args": ["-y", "@racehooks/mcp"],
"env": {
"RACEHOOKS_CLIENT_SECRET": "<racehooks_client_secret>",
"RACEHOOKS_BASE_URL": "<racehooks_base_url>"
}
}
}
}RACEHOOKS_CLIENT_SECRETRACEHOOKS_BASE_URLMCP Servers overview
# @racehooks/mcp
MCP server for [RaceHooks](https://racehooks.io) — gives AI assistants (Claude, Cursor, Windsurf) direct access to RaceHooks motorsport analytics and data.
[](https://www.npmjs.com/package/@racehooks/mcp)
[](LICENSE)
> 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](https://racehooks.io) account to an AI assistant as **59 tools**, **7 resources**, and **6 guided prompts**. Every call is made with your account's credentials, so what a tool returns depends on your plan (Free, Developer, or Custom). The data tools cover Formula 1.
> **Simulation tools are being updated.** The six session-replay tools in this release (`start_simulation`, `list_simulations`, `get_simulation`, `pause_simulation`, `resume_simulation`, `cancel_simulation`) call an API endpoint that has been retired, so they currently return 404. Replacement tools are in progress; until they ship, use the console to replay sessions.
>
> `get_billing_plan` currently returns 401 with API credentials (its endpoint accepts console sessions only). Use `get_subscription` for tier, limits, and analytics enrichment.
### Tools
**Live**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `get_live_session` | Current session state: flag, lap, running order, intervals, tyres, race control messages. Empty when nothing is live. | — | All (Free gets the latest milestone classification instead of live timing) |
| `list_events` | Race weekends with session schedules and status. | `year`, `upcoming`, `limit` | All |
**Post-race insights**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `list_insight_races` | Races with a completed post-race analytics bundle. | `season` | All |
| `get_race_insights` | Per-driver, per-lap model outputs (pit, safety car, overtake, undercut, tyre health, cliff risk, LTOE, win probability, expected points) plus pit stops, stints, and lap times. | `raceId` | All (Free gets tyre state only; strategic predictions need Developer+) |
| `get_model_meta` | Public model manifest: what each model predicts, model family, calibration tier, last trained. | — | All |
| `get_session_analytics` | Per-lap analytics snapshot for a session. | `sessionId` | Developer+ |
| `get_race_summary` | Post-race analytics status and aggregate telemetry metrics. | `raceId` | All (aggregates need Developer+) |
**Races**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `get_race` | Race details with results and qualifying grid. | `raceId` | All (timing fields need Developer+) |
| `get_race_qualifying` | Qualifying results. | `raceId` | All (Q1/Q2/Q3 times need Developer+) |
| `get_race_pitstops` | Pit stop records (driver, stop, lap, duration). | `raceId` | All |
| `get_race_tyres` | Tyre stints (compound, lap range, tyre age). | `raceId` | All |
| `get_race_weather` | Lap-by-lap weather. | `raceId` | All |
| `get_race_laps` | Per-lap times and positions. | `raceId`, `driverId` | Developer+ |
| `get_event_pace` | Practice and qualifying pace summary per driver. | `eventId` | Developer+ |
**History (drivers, constructors, circuits, seasons)**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `list_drivers` | Drivers, searchable. | `search`, `nationality`, `active`, `limit`, `offset` | All (page size 25 on Free, 100 paid) |
| `get_driver` | Driver profile with career stats. | `driverId` | All |
| `get_driver_results` | Race-by-race results for a driver. | `driverId`, `season` | All (timing fields need Developer+) |
| `get_driver_standings` | Championship standings history for a driver. | `driverId`, `season` | All |
| `list_constructors` | Constructors. | `lineage`, `active`, `limit`, `offset` | All |
| `get_constructor` | Constructor profile with lineage history. | `constructorId` | All |
| `get_constructor_results` | Race-by-race results for a constructor. | `constructorId`, `season` | All (timing fields need Developer+) |
| `get_constructor_standings` | Championship standings history for a constructor. | `constructorId`, `season` | All |
| `list_circuits` | Circuits with location. | `country`, `limit`, `offset` | All |
| `get_circuit` | Circuit details and analytics. | `circuitId` | All |
| `list_seasons` | Seasons with race counts. | — | All |
| `get_season_standings` | Final driver and constructor standings for a season. | `year` | All |
| `get_season_races` | Races in a season. | `year` | All |
**Telemetry**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `get_telemetry_laps` | Per-lap telemetry aggregates (speed, throttle, brake, DRS, aggression). | `raceId`, `driverId`, `lapNumber` | Developer+ |
| `get_telemetry_driver_laps` | Per-lap telemetry for one driver. | `raceId`, `driverId` | Developer+ |
| `get_telemetry_lap_comparison` | Every driver's telemetry for one lap. | `raceId`, `lapNumber` | Developer+ |
| `get_telemetry_race_summary` | Race-level telemetry summary. | `raceId` | Developer+ |
| `get_race_telemetry_laps` | Per-lap telemetry metrics from the race data API. | `raceId`, `driverId` | Developer+ |
| `get_race_telemetry_stints` | Per-stint telemetry and degradation slopes. | `raceId`, `driverId` | Custom |
| `get_race_telemetry_aggression` | Driver aggression index rankings. | `raceId` | Custom |
**Fantasy**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `get_fantasy_scores` | Estimated F1 Fantasy points per driver with full breakdown. | `raceId` | Developer+ |
| `get_fantasy_pit_times` | Pit-stop time leaderboard (stationary time) for a session. | `sessionId` | Developer+ |
**Account, usage and webhooks**
| Tool | What it does | Key args | Plan |
|---|---|---|---|
| `list_feeds` | Feed catalog with the plan each feed requires. | `limit` | All |
| `list_webhooks` | Webhook subscriptions on the account. | `limit`, `offset` | All |
| `get_webhook` | One webhook by ID. | `webhookId` | All |
| `create_webhook` | Create a webhook; returns the signing secret once. | `feedId`, `webhookUrl`, `webhookMethod`, `filters` | All |
| `update_webhook` | Change URL, method, or filters; pause/resume with `active`. | `webhookId`, `webhookUrl`, `filters`, `active` | All |
| `delete_webhook` | Delete a webhook. | `webhookId` | All |
| `test_webhook` | Send a test payload now. | `webhookId` | All |
| `get_webhook_logs` | Recent delivery logs. | `webhookId`, `limit` | All |
| `get_webhook_secret` | Current signing secret. | `webhookId` | All |
| `rotate_webhook_secret` | Rotate the signing secret (old one stops working immediately). | `webhookId` | All |
| `get_subscription` | Tier, plan limits, and usage snapshot. | — | All |
| `get_usage` | Deliveries and failures this period, remaining bucket. | — | All |
| `get_usage_by_feed` | Deliveries by feed this period. | — | All |
| `get_usage_latency` | Delivery latency percentiles by feed. | — | All |
| `get_usage_hourly` | Hourly deliveries for the last 24 hours. | — | All |
| `get_usage_history` | Delivery history across past periods. | — | All |
| `get_billing_plan` | Billing plan detail. **Currently returns 401 with API credentials** (see note above). | — | — |
**Simulation (currently unavailable — see note above):** `start_simulation`, `list_simulations`, `get_simulation`, `pause_simulation`, `resume_simulation`, `cancel_simulation`.
### Resources (read-only context)
- `racehooks://feeds` — full [feed catalog](https://racehooks.io/docs/feeds)
- `racehooks://live` — current live session state
- `racehooks://webhooks` — all webhook subscriptions
- `racehooks://usage` — current delivery usage
- `racehooks://drivers` — current-season driver roster
- `racehooks://circuits` — circuits with location
- `racehooks://seasons` — seasons with race counts
### 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
- `analyze_race_strategy` — pit strategy, tyre management, and model predictions for one race
- `compare_drivers` — two drivers head-to-head across a race
- `explain_ml_predictions` — what the models predicted vs what happened in the latest analysed race
## Installation
```bash
npm install -g @racehooks/mcp
```
Or run directly with npx:
```bash
npx @racehooks/mcp
```
Get your API credentials at [racehooks.io](https://racehooks.io).
## Configuration
Two environment variables are required; the server exits on start-up without them:
```bash
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`:
```json
{
"mcpServers": {
"racehooks": {
"command": "npx",
"args": ["-y", "@racehooks/mcp"],
"env": {
"RACEHOOKS_CLIENT_ID": "your-client-id",
"RACEHOOKS_CLIENT_SECRET": "your-client-secret"
}
}
}
}
```
## Claude Code
Claude Code does not read MCP servers from `.claude/settings.json`. Add the server with the CLI:
```bash
claude mcp add racehooks \
-e RACEHOOKS_CLIENT_ID=your-client-id \
-e RACEHOOKS_CLIENT_SECRET=your-client-secret \
-- npx -y @racehooks/mcp
```
Add `--scope project` to write it to a shared `.mcp.json` in your project, or `--scope user` to make it available in every project. To check the file in without committing secrets, reference environment variables in `.mcp.json`:
```json
{
"mcpServers": {
"racehooks": {
"command": "npx",
"args": ["-y", "@racehooks/mcp"],
"env": {
"RACEHOOKS_CLIEWhat people ask about racehooks-mcp
What is racehooks/racehooks-mcp?
+
racehooks/racehooks-mcp is mcp servers for the Claude AI ecosystem. MCP server for RaceHooks — F1 live timing tools for Claude, Cursor, and Windsurf It has 1 GitHub stars and its last recorded update is dated 2026-10-02.
How do I install racehooks-mcp?
+
You can install racehooks-mcp by cloning the repository (https://github.com/racehooks/racehooks-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is racehooks/racehooks-mcp safe to use?
+
Our security agent has analyzed racehooks/racehooks-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains racehooks/racehooks-mcp?
+
racehooks/racehooks-mcp is maintained by racehooks. The last recorded GitHub activity is dated 2026-10-02, with 0 open issues.
Are there alternatives to racehooks-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy racehooks-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/racehooks-racehooks-mcp)<a href="https://claudewave.com/repo/racehooks-racehooks-mcp"><img src="https://claudewave.com/api/badge/racehooks-racehooks-mcp" alt="Featured on ClaudeWave: racehooks/racehooks-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.