Formula 1 MCP Server
About
Access extensive Formula 1 statistics and information using the FastF1 library and OpenF1 API.
Details
- Author
- darakhsh1999
- Categories
- Database, Other, API
Jump to
Setup
Install Formula 1 MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/darakhsh1999/f1-mcp-server
Follow the installation instructions in the repository README, then restart your MCP client.
Access extensive Formula 1 statistics and information using the FastF1 library and OpenF1 API.
This project defines a MCP server for Formula 1 data, providing fans, analysts, and developers with easy access to a vast range of F1 statistics and information. Built with Python and powered by the Gradio framework, it offers a user-friendly web interface to explore historical and recent F1 data from theFastF1library and the officialOpenF1 API.
Architectural overview of the MCP server and client. The MCP server is hosted using aGradioback-end and can be either run locally or on a remote server.
The interface is organized into severalGradiotabs, each dedicated to a specific type of F1 data:
- Championship Standings:View final driver and constructor championship standings for any season from 1950 to the present.
- Event Information:Get detailed information for any Grand Prix, including schedules and circuit details.
- Season Calendar:Display the complete race calendar for a given year.
- Track Visualizations:Generate and view plots of the fastest race lap, visualizing speed, gear changes, and cornering G-forces.
- Session Results:Fetch detailed results for any race session (Practice, Qualifying, or Race).
- Driver & Constructor Info:Look up background information and statistics for drivers and teams.
- OpenF1 API Tools:An advanced toolkit for developers to directly query the OpenF1 API, build custom requests, and view raw JSON responses.
- Backend:Python
- Web Framework:Gradio
- Data Sources:
- fastf1Python library for historical data.
- openf1for live and recent data via their public API.
The MCP server is defined insideapp.py.
The MCP client and AI agent is defined insidemcp_client.pyand allows interaction with the MCP server through server side events (SSE) transport.
For MCP clients that support SSE transport (for Claude Desktop, see below), the following configuration can be used:
{ "mcpServers": { "gradio": { "url": "https://agents-mcp-hackathon-f1-mcp-server.hf.space/gradio_api/mcp/sse" } } }
For Claude Desktop, the following configuration can instead be used, but make sure you have Node.js installed:
{ "mcpServers": { "gradio": { "command": "npx", "args": [ "mcp-remote", "https://agents-mcp-hackathon-f1-mcp-server.hf.space/gradio_api/mcp/sse", "--transport", "sse-only" ] } } }
Access college football statistics from the College Football Data API.
Access Formula 1 data, including race results, driver standings, and circuit information.
Provides football (soccer) data using the API-Football service.
Access MLB game data, standings, and player statistics using the SportRadar API.
The hockey data API. Stats, odds, and everything between.
41 sports API providers, 396 tools: scores, stats, odds, esports, chess, motorsport & more.
Provides club information and advanced player statistics for Euroleague and Eurocup basketball from the Euroleague API.
An MCP server for the NHL API, providing access to all documented endpoints.
Provides real-time football match information from the SoccerDataAPI using natural language.
Provides football (soccer) statistics and live match data using the API-Football service.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





