f1-mcp
Click 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., "@f1-mcpGet the 2023 Monaco Grand Prix results"
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.
f1-mcp
An MCP server exposing Formula 1 historical data (results, qualifying, pit stops, and championship standings) as tools an LLM can call directly — built on the Jolpica-F1 API.
Tools (more to be added)
Tool | Description |
| Race results by season + round number |
| Race results by season + race/circuit name (e.g. "Monaco") |
| Qualifying results by season + round |
| Pit stop log for a race (2011 season onward) |
| Drivers' championship standings for a season |
| Constructors' championship standings for a season |
Related MCP server: MCP Server F1Data
Setup
python -m venv venv && source venv/bin/activate
pip install -r requirements.txtRunning it
Standalone, with MCP Inspector (for testing tools/prompts manually):
npx @modelcontextprotocol/inspector python src/server.pyWith Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"f1-mcp": {
"command": "python",
"args": ["/absolute/path/to/f1-mcp/src/server.py"]
}
}
}Design notes
client.pyis the only file that touches raw Jolpica JSON. Every method returns a typedschemas.pymodel — tool functions never parseMRData.*nesting directly.Name-based race lookup (
get_race_results_by_name) resolves a loose name ("Monaco", "Monaco GP") against the season's race calendar using substring matching first, with a fuzzy fallback (difflib) for typos — since the Ergast/ Jolpica API only supports lookup by round number.Season schedules are cached per-session to avoid refetching the calendar on every name-based lookup.
Data source
Jolpica-F1 — free, no API key required. Historical race data from 1950 onward; pit stop data from 2011 onward.
This server cannot be deployed
Maintenance
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Access Pollinations models and API capabilities through agent tools.
Web scraping, Google SERP, Markdown and ChatGPT/Gemini answers as typed tools for AI agents.
171Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables access to Formula 1 data from the openF1.org API, including driver information, race results, lap times, telemetry, pit stops, weather conditions, and live position data across multiple seasons.-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Formula 1 data through LLM interfaces like Claude. Provides access to F1 information including circuits, constructors, drivers, grand prix, manufacturers, races, and seasons.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides live Formula 1 data such as driver standings, race results, and schedule for the current season, enabling users to ask about F1 without stale training data.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query real-time and historical Formula 1 data through the OpenF1 API, providing tools for driver info, lap times, telemetry, race events, and more.MIT