Skip to main content
Glama
virendhanwani

f1-mcp

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

get_race_results

Race results by season + round number

get_race_results_by_name

Race results by season + race/circuit name (e.g. "Monaco")

get_qualifying_results

Qualifying results by season + round

get_pit_stops

Pit stop log for a race (2011 season onward)

get_driver_standings

Drivers' championship standings for a season

get_constructor_standings

Constructors' championship standings for a season

Related MCP server: OpenF1 MCP Server

Setup

python -m venv venv && source venv/bin/activate
pip install -r requirements.txt

Running it

Standalone, with MCP Inspector (for testing tools/prompts manually):

npx @modelcontextprotocol/inspector python src/server.py

With 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.py is the only file that touches raw Jolpica JSON. Every method returns a typed schemas.py model — tool functions never parse MRData.* 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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Provides access to Formula 1 data including driver and constructor championship standings with support for current and historical seasons. Enables users to query F1 championship information through natural language with plans for expanded race data and telemetry.
    22
    1
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    Enables 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.
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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
  • A
    license
    -
    quality
    D
    maintenance
    Provides easy access to Formula 1 data including championship standings, event info, season calendars, track visualizations, session results, and driver/constructor info via FastF1 and OpenF1 API.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

  • Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.

  • Universal AI API Orchestrator — 1,554 tools, 96 services. One install.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/virendhanwani/f1-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server