Access Formula 1 race data, telemetry, lap times, standings, and analytics powered by FastF1
A Model Context Protocol (MCP) server that provides comprehensive Formula 1 data and analytics for Claude Desktop integration.
This server exposes 36+ tools for accessing F1 data:
git clone https://github.com/drivenrajat/f1.git
cd f1
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .
Add this server to your Claude Desktop MCP configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"f1": {
"command": "python",
"args": ["/path/to/f1/f1_server.py"]
}
}
}
Or if using uv:
{
"mcpServers": {
"f1": {
"command": "uv",
"args": ["run", "--directory", "/path/to/f1", "python", "f1_server.py"]
}
}
}
Once configured, you can ask Claude questions like:
The server automatically caches FastF1 data in a cache directory to improve performance on repeated queries.
MIT License - see LICENSE for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx f1-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-drivenrajat-f1": {
"command": "uvx",
"args": [
"f1-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencef1-mcppypiF1 Data Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.