@racehooks/mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@racehooks/mcpShow me which feeds are using the most delivery quota today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@racehooks/mcp
MCP server for RaceHooks — gives AI assistants (Claude, Cursor, Windsurf) direct access to RaceHooks motorsport analytics and data.
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 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.
Tools
Live
Tool | What it does | Key args | Plan |
| 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) |
| Race weekends with session schedules and status. |
| All |
Post-race insights
Tool | What it does | Key args | Plan |
| Races with a completed post-race analytics bundle. |
| All |
| 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. |
| All (Free gets tyre state only; strategic predictions need Developer+) |
| Public model manifest: what each model predicts, model family, calibration tier, last trained. | — | All |
| Per-lap analytics snapshot for a session. |
| Developer+ |
| Post-race analytics status and aggregate telemetry metrics. |
| All (aggregates need Developer+) |
Races
Tool | What it does | Key args | Plan |
| Race details with results and qualifying grid. |
| All (timing fields need Developer+) |
| Qualifying results. |
| All (Q1/Q2/Q3 times need Developer+) |
| Pit stop records (driver, stop, lap, duration). |
| All |
| Tyre stints (compound, lap range, tyre age). |
| All |
| Lap-by-lap weather. |
| All |
| Per-lap times and positions. |
| Developer+ |
| Practice and qualifying pace summary per driver. |
| Developer+ |
History (drivers, constructors, circuits, seasons)
Tool | What it does | Key args | Plan |
| Drivers, searchable. |
| All (page size 25 on Free, 100 paid) |
| Driver profile with career stats. |
| All |
| Race-by-race results for a driver. |
| All (timing fields need Developer+) |
| Championship standings history for a driver. |
| All |
| Constructors. |
| All |
| Constructor profile with lineage history. |
| All |
| Race-by-race results for a constructor. |
| All (timing fields need Developer+) |
| Championship standings history for a constructor. |
| All |
| Circuits with location. |
| All |
| Circuit details and analytics. |
| All |
| Seasons with race counts. | — | All |
| Final driver and constructor standings for a season. |
| All |
| Races in a season. |
| All |
Telemetry
Tool | What it does | Key args | Plan |
| Per-lap telemetry aggregates (speed, throttle, brake, DRS, aggression). |
| Developer+ |
| Per-lap telemetry for one driver. |
| Developer+ |
| Every driver's telemetry for one lap. |
| Developer+ |
| Race-level telemetry summary. |
| Developer+ |
| Per-lap telemetry metrics from the race data API. |
| Developer+ |
| Per-stint telemetry and degradation slopes. |
| Custom |
| Driver aggression index rankings. |
| Custom |
Fantasy
Tool | What it does | Key args | Plan |
| Estimated F1 Fantasy points per driver with full breakdown. |
| Developer+ |
| Pit-stop time leaderboard (stationary time) for a session. |
| Developer+ |
Account, usage and webhooks
Tool | What it does | Key args | Plan |
| Feed catalog with the plan each feed requires. |
| All |
| Webhook subscriptions on the account. |
| All |
| One webhook by ID. |
| All |
| Create a webhook; returns the signing secret once. |
| All |
| Change URL, method, or filters; pause/resume with |
| All |
| Delete a webhook. |
| All |
| Send a test payload now. |
| All |
| Recent delivery logs. |
| All |
| Current signing secret. |
| All |
| Rotate the signing secret (old one stops working immediately). |
| All |
| Tier, plan limits, and usage snapshot. | — | All |
| Deliveries and failures this period, remaining bucket. | — | All |
| Deliveries by feed this period. | — | All |
| Delivery latency percentiles by feed. | — | All |
| Hourly deliveries for the last 24 hours. | — | All |
| Delivery history across past periods. | — | All |
| Current plan, limits, usage this period, and billing period dates. | — | All |
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 catalogracehooks://live— current live session stateracehooks://webhooks— all webhook subscriptionsracehooks://usage— current delivery usageracehooks://drivers— current-season driver rosterracehooks://circuits— circuits with locationracehooks://seasons— seasons with race counts
Prompts (guided workflows)
setup_race_event_webhook— create anevents.racesubscription with filterssetup_fantasy_scoring_webhook— create a fantasy-optimised subscriptioncheck_account_health— full account health summaryanalyze_race_strategy— pit strategy, tyre management, and model predictions for one racecompare_drivers— two drivers head-to-head across a raceexplain_ml_predictions— what the models predicted vs what happened in the latest analysed race
Related MCP server: iRacing MCP Server
Installation
npm install -g @racehooks/mcpOr run directly with npx:
npx @racehooks/mcpGet your API credentials at racehooks.io.
Configuration
Two environment variables are required; the server exits on start-up without them:
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
Claude Code does not read MCP servers from .claude/settings.json. Add the server with the CLI:
claude mcp add racehooks \
-e RACEHOOKS_CLIENT_ID=your-client-id \
-e RACEHOOKS_CLIENT_SECRET=your-client-secret \
-- npx -y @racehooks/mcpAdd --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:
{
"mcpServers": {
"racehooks": {
"command": "npx",
"args": ["-y", "@racehooks/mcp"],
"env": {
"RACEHOOKS_CLIENT_ID": "${RACEHOOKS_CLIENT_ID}",
"RACEHOOKS_CLIENT_SECRET": "${RACEHOOKS_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.racewebhook for https://myapp.com/hook, filtering for Ferrari only"
"Compare VER and NOR tyre degradation in the last race"
"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, are sent only to the RaceHooks API (to obtain an access token), and are never included in tool calls or resource URIs.
All API calls are authenticated using OAuth 2 client credentials (token auto-refreshes before expiry).
Links
RaceHooks console — sign up and manage your account
This server cannot be deployed
Maintenance
Related MCP Connectors
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides 118+ Formula 1 analytics tools, enabling race analysis, driver comparisons, telemetry exploration, and strategy simulation through natural language.MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to access real-time iRacing telemetry, race information, camera control, pit operations, and replay features through the MCP protocol.171MIT
- FlicenseAqualityDmaintenanceMCP server for motorsport event documents, enabling AI agents to search, read, compare amendments, and parse schedules via typed tools.9-
- AlicenseBqualityBmaintenanceMCP server that provides F1 telemetry analysis, tyre degradation modeling, and pit strategy recommendations, delivering race engineer-style calls grounded in real data. It exposes tools for degradation fits, fuel correction, and strategy reasoning via LangGraph.4MIT