npm racehooks-mcpstdioMITupdated 1mo ago
MCP server for RaceHooks — gives AI assistants (Claude, Cursor, Windsurf) direct access to RaceHooks motorsport analytics and data.
What can you do with RaceHooks?
@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 as a set of tools and resources an AI assistant can call:
Tools (actions):
list_feeds/list_webhooks/get_webhook/create_webhook/delete_webhooktest_webhook/get_webhook_logsget_live_session/list_eventsget_subscription/get_usage/get_usage_by_feed/get_billing_planstart_simulation/list_simulations/get_simulation/cancel_simulation
Resources (read-only context):
racehooks://feeds— full feed catalogracehooks://live— current live session stateracehooks://webhooks— all webhook subscriptionsracehooks://usage— current delivery usage
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 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.racewebhook 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
- RaceHooks console — sign up and manage your account
- RaceHooks API documentation
- Webhook API reference
- Feed catalog
- GitHub
- npm
- Smithery listing
- MCP specification
Install
Add RaceHooks to your client. Pick the one you use.
claude mcp add racehooks-mcp -- npx -y racehooks-mcpcodex mcp add racehooks-mcp -- npx -y racehooks-mcpamp mcp add racehooks-mcp -- npx -y racehooks-mcp{
"mcpServers": {
"racehooks-mcp": {
"command": "npx",
"args": [
"-y",
"racehooks-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"racehooks-mcp": {
"command": "npx",
"args": [
"-y",
"racehooks-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"racehooks-mcp","command":"npx","args":["-y","racehooks-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"racehooks-mcp": {
"command": "npx",
"args": [
"-y",
"racehooks-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"racehooks-mcp": {
"command": "npx",
"args": [
"-y",
"racehooks-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"racehooks-mcp": {
"command": "npx",
"args": [
"-y",
"racehooks-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"racehooks-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"racehooks-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"racehooks-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"racehooks-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y racehooks-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance16/25
- Trust16/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 48 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.3.1Latest | Jul 14, 2026 |