The Formula1 MCP Server provides access to real-time and historical Formula 1 racing data through the Model Context Protocol. It offers everything from live telemetry to driver standings and weather information, making F1 data easily accessible through standardized tools.
The easiest way to install the Formula 1 MCP Server is through Smithery:
npx -y @smithery/cli install @Panth1823/formula1-mcp --client claude
If you prefer manual installation:
git clone https://github.com/Panth1823/formula1-mcp
cd formula1-mcp
npm install
npm run build
After installation, add the server to your MCP client configuration:
{
"mcpServers": {
"formula1": {
"command": "node",
"args": ["<path-to-your-cloned-repo>/build/index.js"],
"cwd": "<path-to-your-cloned-repo>",
"enabled": true
}
}
}
Configuration file locations:
%APPDATA%\.cursor\mcp.json
~/.cursor/mcp.json
~/.config/.cursor/mcp.json
Get real-time timing data for the current session. Parameters: None required
Get status information about the current session. Parameters: None required
Get weather data for a session. Parameters:
Get detailed car telemetry data. Parameters:
Get pit stop information. Parameters:
Get team radio communications. Parameters:
Get race control messages. Parameters:
Get information about a specific driver. Parameters:
Find session keys for historical events. Parameters:
Get race results for a specific historical race. Parameters:
Get driver championship standings. Parameters:
Get constructor championship standings. Parameters:
Get lap times for a specific driver. Parameters:
Get the F1 race calendar. Parameters:
Get detailed circuit information. Parameters:
Get a list of available F1 seasons. Parameters:
Get qualifying session results. Parameters:
Get detailed driver information from Ergast API. Parameters:
Get detailed constructor information from Ergast API. Parameters:
Clear the local cache for F1 data. Parameters: None required
Here are some example queries you can use with the F1 MCP server:
For debugging issues with the MCP server, you can use the MCP Inspector.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "formula1" '{"command":"node","args":["<path-to-your-cloned-repo>/build/index.js"],"cwd":"<path-to-your-cloned-repo>","enabled":true}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"formula1": {
"command": "node",
"args": [
"<path-to-your-cloned-repo>/build/index.js"
],
"cwd": "<path-to-your-cloned-repo>",
"enabled": true
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"formula1": {
"command": "node",
"args": [
"<path-to-your-cloned-repo>/build/index.js"
],
"cwd": "<path-to-your-cloned-repo>",
"enabled": true
}
}
}
3. Restart Claude Desktop for the changes to take effect