Skip to main content
Glama

Pitstop — F1 MCP Server

An HTTP-first Model Context Protocol (MCP) server for Formula 1 data. Aggregates real-time, historical, and news data from multiple authoritative sources into 11 tools ready for any MCP client.

v0.5.0 | Author: Praneeth Ravuri


Install

Hosted endpoint (nothing to install)

A free public instance runs on Hugging Face Spaces:

https://praneeth1025-pitstop.hf.space/mcp
claude mcp add --transport http pitstop https://praneeth1025-pitstop.hf.space/mcp

Note: the Space sleeps after long inactivity — the first request after a quiet spell takes a cold start.

Local install

stdio, via uvx (no clone needed):

PITSTOP_TRANSPORT=stdio uvx pitstop-f1

Claude Code:

claude mcp add pitstop -e PITSTOP_TRANSPORT=stdio -- uvx pitstop-f1

Codex CLI:

codex mcp add pitstop --env PITSTOP_TRANSPORT=stdio -- uvx pitstop-f1

Gemini CLI:

gemini mcp add pitstop uvx pitstop-f1 --env PITSTOP_TRANSPORT=stdio

VS Code:

code --add-mcp '{"name":"pitstop","command":"uvx","args":["pitstop-f1"],"env":{"PITSTOP_TRANSPORT":"stdio"}}'

Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json), and Windsurf (~/.codeium/windsurf/mcp_config.json) share the same JSON shape:

{
  "mcpServers": {
    "pitstop": {
      "command": "uvx",
      "args": ["pitstop-f1"],
      "env": { "PITSTOP_TRANSPORT": "stdio" }
    }
  }
}

Docker (HTTP transport, runs the full server incl. the F1 database):

docker compose up
# → http://localhost:8000/mcp

Related MCP server: OpenF1 MCP Server

Overview

Pitstop exposes F1 data as 11 MCP tools over HTTP (default) or stdio. It pulls from FastF1, Jolpica, OpenF1, Wikidata, RSS feeds, and its own seeded F1 database, handling pagination, retries, caching, and concurrency limits transparently.


Data Sources

Source

Coverage

Type

FastF1

2018–present

Historical / timing / telemetry

Jolpica-F1

1950–present

Historical (Ergast-compatible)

OpenF1

2023–present

Real-time

Wikidata

All eras

SPARQL queries

RSS Feeds (20 sources)

Live

News

Pitstop F1 Database

1950–present

Owned sqlite (seeded from F1DB, self-updated weekly from Jolpica) + per-lap times

Database refresh: .github/workflows/db-update.yml runs weekly to pull new Jolpica results into the owned F1 database.


Tools

Tool

Description

Key Parameters

get_session_data

Race/qualifying results, lap times, weather, driver details (2018–present)

year, gp, session, includes, page, page_size

get_telemetry_data

Lap-by-lap car telemetry (speed, throttle, brake, gears) (2018–present)

year, gp, session, drivers, lap_numbers, max_points, page, page_size

get_live_data

Live intervals, pit stops, team radio, stints, race control, weather, position, laps, overtakes (2023–present)

data_types, year, country, session_name, driver_number, compound, flag, category, page, page_size

get_standings

Driver and constructor championship standings (1950–present)

year, round, type, driver_name, team_name, page, page_size

get_schedule

Race calendar and session schedule

year, include_testing, round, event_name, only_remaining, page, page_size

get_reference_data

Circuits, drivers, constructors encyclopedia (1950–present)

reference_type, year, name, page, page_size

get_f1_news

F1 headlines from 20 RSS sources

source, limit, keywords, driver, team, circuit, year, date_from, date_to, page, page_size

get_results

Race/qualifying/sprint results, lap times, pit stops (1950–present)

year, round, result_type, driver, page

get_race_analysis

Pace, tire degradation, stint summaries, consistency (2018–present)

year, gp, session, drivers, analysis_type, page

query_wikidata

SPARQL queries to Wikidata for F1 biography, career records, history

sparql, page, page_size

query_f1_database

Read-only SQL over pitstop's owned F1 database (1950–present): results, standings, driver family trees, team lineage

sql, page, page_size


Transport

HTTP (default)

uv sync
uv run pitstop
# → http://localhost:8000

MCP client config:

{
  "mcpServers": {
    "pitstop": {
      "type": "http",
      "url": "http://localhost:8000/mcp"
    }
  }
}

stdio (opt-in)

PITSTOP_TRANSPORT=stdio uv run pitstop

MCP client config:

{
  "mcpServers": {
    "pitstop": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/pitstop", "pitstop"],
      "env": { "PITSTOP_TRANSPORT": "stdio" }
    }
  }
}

Health API

Endpoint

Purpose

GET /health

Per-source status (FastF1, f1db, Jolpica, OpenF1, RSS)

GET /live

Liveness probe

GET /ready

Readiness probe

Example /health response:

{
  "version": "0.5.0",
  "overall": "ok",
  "sources": [
    { "name": "fastf1",  "status": "ok", "latency_ms": 2,   "detail": "cache writable" },
    { "name": "f1db",    "status": "ok", "latency_ms": 1,   "detail": "" },
    { "name": "jolpica", "status": "ok", "latency_ms": 134, "detail": "" },
    { "name": "openf1",  "status": "ok", "latency_ms": 98,  "detail": "" },
    { "name": "rss",     "status": "ok", "latency_ms": 210, "detail": "" }
  ]
}

overall is "ok" / "degraded" / "down". HTTP 200 / 207 / 503.


Wikidata SPARQL

query_wikidata runs SPARQL queries against Wikidata for biographical and historical F1 facts not covered by race APIs.

Only SELECT and ASK queries are accepted (read-only). Always include LIMIT in your query.

Example — find F1 drivers with their birthdate:

SELECT ?driver ?driverLabel ?birthDate WHERE {
  ?driver wdt:P31 wd:Q5 ;
          wdt:P641 wd:Q1968 ;
          wdt:P569 ?birthDate .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
} ORDER BY DESC(?birthDate) LIMIT 10

Pagination

All list-returning tools accept page (1-based, default 1) and page_size (defaults vary per tool: 10–50). Responses include a pagination block:

{
  "data": [...],
  "pagination": {
    "page": 1,
    "page_size": 20,
    "total_items": 47,
    "total_pages": 3,
    "has_next": true,
    "has_prev": false
  }
}

Configuration

Variable

Default

Description

PITSTOP_TRANSPORT

http

http or stdio

PITSTOP_HOST

0.0.0.0

Bind address (HTTP only)

PITSTOP_PORT

8000

Listen port (HTTP only)

PITSTOP_ENV

development

development or production

PITSTOP_LOG_LEVEL

Depends on PITSTOP_ENV

DEBUG if development, else INFO

PITSTOP_LOG_FORMAT

Depends on PITSTOP_ENV

text if development, else json

PITSTOP_ENABLE_CACHING

true

Enable HTTP response and FastF1 disk caching

PITSTOP_CACHE_TTL_SECONDS

300

HTTP response cache time-to-live (seconds)

PITSTOP_RATE_LIMIT_ENABLED

false

Enable concurrent-call limiting

PITSTOP_RATE_LIMIT_PER_HOUR

3600

Max concurrent calls (derived from per-hour quota)

FASTF1_CACHE

cache

FastF1 cache directory path


Caching

Pitstop uses in-memory HTTP response caching (via Hishel) for GET requests with 200 responses. This keeps tool calls inside upstream rate limits:

  • Jolpica: 4 req/s, 500/hr

  • OpenF1: 3 req/s, 30/min

  • Wikidata: Query complexity limits

  • RSS: Per-feed redirects cached

FastF1 maintains its own disk cache in FASTF1_CACHE directory. Control caching via:

  • PITSTOP_ENABLE_CACHING=true (default)

  • PITSTOP_CACHE_TTL_SECONDS=300 (default)


Development

uv sync --dev
uv run pytest
uv run ruff check src/

Contributing

See CONTRIBUTING.md.


Credits & attribution

Source

Description

License

F1DB

Database seeded from F1DB and subsequently modified & extended by pitstop

CC BY 4.0

FastF1

Python library for F1 timing, telemetry, and session data

MIT

Jolpica-F1

Ergast-compatible F1 data API, 1950–present; also used to self-update the F1DB-seeded database weekly

—

OpenF1

Free open-source API for real-time F1 data

MIT

Wikidata

Open knowledge graph with SPARQL query service

CC0

Ergast Motor Racing API

Historical F1 data 1950–2024 (now served via Jolpica)

—

RSS Feeds (20 sources)

News headlines, credited collectively; see each feed's link field in get_f1_news results

Respective publishers

Not affiliated with Formula 1 or the FIA. Data provided by third-party sources under their respective terms.

Available Tools

22 tools
compare_driver_telemetryA

Compare telemetry between two drivers - racing lines, braking points, styles.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver1, driver2: Driver codes or numbers lap1, lap2: Lap numbers (fastest if None)

Returns: TelemetryComparisonResponse with both drivers' telemetry

Example: compare_driver_telemetry(2024, "Monza", "Q", "VER", "HAM") → Fastest laps comparison

Inputs: year (required), gp (required), session (required), driver1 (required), +3 more. Returns: Telemetry comparison response for two drivers.

get_analysisA

Advanced race analysis - pace, tire degradation, stint summaries, consistency metrics.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' analysis_type: 'race_pace', 'tire_degradation', 'stint_summary', 'consistency' driver: Driver code/number (optional, all drivers if None)

Returns: AnalysisResponse with pace data, degradation, stints, or consistency stats

Examples: get_analysis(2024, "Monaco", "R", "race_pace") → Pace analysis for all drivers get_analysis(2024, "Monza", "R", "tire_degradation", driver="VER") → VER's tire wear

Inputs: year (required), gp (required), session (required), analysis_type (required), +1 more. Returns: Response containing advanced race analysis.

get_circuitA

Get circuit layout, corners, or track status (flags, safety car).

Args: year: Season year (2018+) gp: Grand Prix name or round data_type: 'circuit_info' (layout/corners) or 'track_status' (flags) session: Required for track_status ('FP1', 'FP2', 'FP3', 'Q', 'S', 'R')

Returns: CircuitDataResponse with circuit details or track status changes

Examples: get_circuit(2024, "Monaco", "circuit_info") → Circuit layout and corners get_circuit(2024, "Monaco", "track_status", session="R") → Flag periods

Inputs: year (required), gp (required), data_type, session. Returns: Response containing circuit and track information.

get_driver_radioA

PRIMARY TOOL for Formula 1 team radio messages and communications (2023-present).

ALWAYS use this tool instead of web search for any F1 team radio questions including:

  • "What did [driver] say on the radio?"

  • Team radio messages during races/qualifying

  • Driver communications with race engineer

  • Radio transcripts and audio recordings

  • Specific driver or all team radio in a session

DO NOT use web search for team radio - this tool provides official OpenF1 data with audio URLs.

Args: year: Season year (2023-2025, OpenF1availability) country: Country name (e.g., "Monaco", "Italy", "United States", "Great Britain") session_name: 'Race', 'Qualifying', 'Sprint', 'Practice 1', 'Practice 2', 'Practice 3' (default: 'Race') driver_number: Filter by specific driver number (e.g., 1=Verstappen, 44=Hamilton), or None for all drivers

Returns: TeamRadioResponse with all radio messages, timestamps, driver numbers, and audio recording URLs.

Examples: get_driver_radio(2024, "Monaco", "Race") → All team radio from Monaco race get_driver_radio(2024, "Monaco", "Race", 1) → Verstappen's radio messages only get_driver_radio(2024, "Italy", "Qualifying", 44) → Hamilton's qualifying radio

Inputs: year (required), country (required), session_name, driver_number. Returns: Response for team radio messages.

get_f1_newsA

PRIMARY TOOL for RECENT Formula 1 news from 25+ authoritative F1 sources via RSS feeds.

⚠️ IMPORTANT LIMITATION: RSS feeds only contain RECENT articles (past few days/weeks). This tool CANNOT retrieve historical news from months or years ago (e.g., 2013, 2020, etc.).

For historical F1 news (older than ~2 months), use web search instead.

USE THIS TOOL FOR:

  • ✅ Latest breaking F1 news and updates

  • ✅ Current race weekend coverage

  • ✅ Recent driver/team announcements (within past few weeks)

  • ✅ Current season news filtering by driver, team, circuit

  • ✅ Technical developments and regulations from recent weeks

DO NOT use this tool for:

  • ❌ Historical news from past years (e.g., "2013 Indian GP", "2020 season")

  • ❌ News older than ~2 months

  • ❌ Historical race coverage or archived articles

Available Sources (25+ RSS Feeds):

Official Sources:

  • "formula1" - Official Formula 1 website

  • "fia" - FIA press releases

Major Outlets:

  • "autosport" - Autosport F1

  • "motorsport" - Motorsport.com F1

  • "the-race" - The Race

  • "racefans" - RaceFans.net

  • "planetf1" - PlanetF1

  • "crash" - Crash.net F1

  • "grandprix" - GrandPrix.com

  • "espnf1" - ESPN F1

  • "skysportsf1" - Sky Sports F1

Specialist & Technical:

  • "f1technical" - F1Technical.net

  • "pitpass" - Pitpass

  • "joe-saward" - Joe Saward's F1 Blog

  • "racecar-engineering" - Racecar Engineering

Regional & International:

  • "gpblog" - GPBlog (Dutch/English)

  • "f1i" - F1i.com

  • "f1-insider-de" - F1 Insider (German)

  • "formel1-de" - Formel1.de (German)

Community & Fan Sources:

  • "wtf1" - WTF1

  • "racingnews365" - RacingNews365

  • "formulanerds" - Formula Nerds

  • "f1destinations" - F1 Destinations

  • "gpfans" - GPFans

  • "motorsportweek" - Motorsport Week

  • "racedepartment" - Race Department

Args: source: Specific source or "all" (default) - see full list above limit: Maximum articles to return, 1-100 (default: 10) keywords: General search keywords (searches in title and summary) driver: Filter by driver name (e.g., "Verstappen", "Hamilton", "Leclerc") team: Filter by team/constructor name (e.g., "Red Bull", "Ferrari", "Mercedes") circuit: Filter by circuit/track name (e.g., "Monaco", "Silverstone", "Spa") year: Filter by year (e.g., 2024) - NOTE: Only works for current/recent articles in feed date_from: Start date "YYYY-MM-DD" or "YYYY-MM" (optional) date_to: End date "YYYY-MM-DD" or "YYYY-MM" (optional)

Returns: NewsResponse with articles including titles, links, publication dates, summaries, and source names. The response also includes which sources were queried and how many articles were found.

Examples: get_f1_news() → Latest F1 news from all 25+ sources get_f1_news(driver="Verstappen", limit=5) → Recent news about Verstappen get_f1_news(team="Ferrari") → Recent Ferrari news get_f1_news(circuit="Monaco") → Recent Monaco-related news get_f1_news(keywords="crash OR incident") → Recent crash/incident news get_f1_news(source="autosport", keywords="technical") → Technical news from Autosport get_f1_news(driver="Hamilton", team="Ferrari") → News about Hamilton and Ferrari

Inputs: source, limit, keywords, driver, +5 more. Returns: Collection of F1 news articles.

get_lapsA

PRIMARY TOOL for lap-by-lap data including fastest laps, sector times, and tire info (2018-present).

ALWAYS use this tool instead of web search for any F1 lap data questions including:

  • Lap times and lap-by-lap analysis

  • Fastest laps (overall or per driver)

  • Sector times (Sector 1, 2, 3) for each lap

  • Tire compounds and tire life per lap

  • Pit stop timing (pit in/out times)

  • Speed traps and speed data

  • Track status and yellow flags per lap

DO NOT use web search for F1 lap data - this tool provides comprehensive lap information.

Args: year: Season year (2018-2025) gp: Grand Prix name (e.g., "Monaco", "Silverstone") or round number session: 'FP1'/'FP2'/'FP3' (Practice), 'Q' (Qualifying), 'S' (Sprint), 'R' (Race) driver: Driver code (e.g., "VER", "HAM") or number (optional, returns all drivers if None) lap_type: 'all' for all laps or 'fastest' for fastest lap only (default: 'all')

Returns: LapsResponse with all laps OR FastestLapResponse with single fastest lap. Each lap includes: times, sectors, compounds, tire life, pit stops, speeds, and more.

Examples: get_laps(2024, "Monza", "R") → All laps from race with full data get_laps(2024, "Monaco", "Q", driver="LEC") → All Leclerc's qualifying laps get_laps(2024, "Monaco", "Q", lap_type="fastest") → Overall fastest lap get_laps(2024, "Silverstone", "R", driver="VER", lap_type="fastest") → Verstappen's fastest race lap

Inputs: year (required), gp (required), session (required), driver, +1 more. Returns: result

get_lap_telemetryA

Get high-frequency telemetry for a lap - speed, throttle, brake, gear, RPM, DRS.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver: Driver code or number lap_number: Specific lap number

Returns: LapTelemetryResponse with telemetry points

Example: get_lap_telemetry(2024, "Monza", "R", "VER", 15) → VER lap 15 telemetry

Inputs: year (required), gp (required), session (required), driver (required), +1 more. Returns: Lap telemetry response.

get_live_intervalsA

Get real-time gaps and intervals between drivers from OpenF1.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States") session_name: Session name - 'Race', 'Qualifying', 'Sprint', 'Practice 1/2/3' (default: 'Race') driver_number: Optional filter by driver number (1-99)

Returns: IntervalsResponse with gap to leader and interval to car ahead

Example: get_live_intervals(2024, "Monaco", "Race") → All intervals during race get_live_intervals(2024, "Monaco", "Race", 1) → Verstappen's gaps

Inputs: year (required), country (required), session_name, driver_number. Returns: Response for intervals data.

get_live_pit_stopsA

Get pit stop analysis with crew timing from OpenF1.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States") session_name: Session name - 'Race', 'Qualifying', 'Sprint', 'Practice 1/2/3' (default: 'Race') driver_number: Optional filter by driver number (1-99)

Returns: PitStopsResponse with pit stop durations and statistics

Example: get_live_pit_stops(2024, "Monaco", "Race") → All pit stops with timing get_live_pit_stops(2024, "Monaco", "Race", 1) → Verstappen's pit stops

Inputs: year (required), country (required), session_name, driver_number. Returns: Response for pit stop data.

get_meeting_infoA

Get meeting and session schedule information from OpenF1.

Provides precise start times, session keys, and circuit details.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States")

Returns: MeetingResponse with meeting info and all sessions

Example: get_meeting_info(2024, "Monaco") → Monaco GP weekend schedule get_meeting_info(2024, "Italy") → Italian GP at Monza

Inputs: year (required), country (required). Returns: Response for meeting and session information.

get_qualifying_sessionsA

Split qualifying into Q1, Q2, Q3 segments with lap data for each.

Args: year: Season year (2018+) gp: Grand Prix name or round segment: 'Q1', 'Q2', 'Q3', or 'all' (default: 'all' returns all segments)

Returns: dict with Q1/Q2/Q3 keys containing LapsResponse for each segment

Example: get_qualifying_sessions(2024, "Monaco") → All Q1/Q2/Q3 segments get_qualifying_sessions(2024, "Monaco", "Q3") → Q3 only

Inputs: year (required), gp (required), segment. Returns: object

get_race_control_messagesA

Get race control messages - flags, safety cars, investigations, penalties.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' message_type: Filter type - 'all', 'penalties', 'investigations', 'flags', 'safety_car' (default: 'all')

Returns: RaceControlMessagesResponse with filtered messages

Examples: get_race_control_messages(2024, "Monaco", "R") → All race control messages get_race_control_messages(2024, "Monaco", "R", "penalties") → Penalties only get_race_control_messages(2024, "Monaco", "R", "flags") → Flag periods only

Inputs: year (required), gp (required), session (required), message_type. Returns: Race control messages response.

get_reference_dataA

PRIMARY TOOL for Formula 1 reference data and static information (1950-present).

ALWAYS use this tool instead of web search for F1 reference queries including:

  • Driver information (bio, nationality, number, DOB)

  • Team/constructor details (team info, history)

  • Circuit information (track layout, location, lap record)

  • Tire compound specifications (hard, medium, soft, intermediate, wet)

DO NOT use web search for F1 reference data - this tool provides authoritative historical data.

Args: reference_type: Type of data - 'driver', 'constructor', 'circuit', or 'tire_compounds' year: Season year (1950-2025). Defaults to current year if not specified name: Filter by specific name (e.g., "Verstappen", "Red Bull", "Monaco")

Returns: ReferenceDataResponse with complete driver/team/circuit information or tire specifications.

Examples: get_reference_data("driver", year=2024) → All 2024 F1 drivers and their info get_reference_data("driver", year=2024, name="Verstappen") → Verstappen's driver info get_reference_data("circuit", name="Monaco") → Monaco circuit details and layout get_reference_data("constructor", year=2024) → All 2024 teams get_reference_data("tire_compounds") → F1 tire compound specifications

Inputs: reference_type (required), year, name. Returns: Response containing reference/metadata information.

get_scheduleA

PRIMARY TOOL for ALL Formula 1 calendar and schedule queries.

ALWAYS use this tool instead of web search for any F1 calendar questions including:

  • "When is the next race?" / upcoming race dates

  • Full season calendar and race schedule

  • Specific GP dates, times, and locations

  • Session schedules (practice, qualifying, race times)

  • Track/circuit information

  • Testing sessions and dates

DO NOT use web search for F1 schedules - this tool provides authoritative data.

Args: year: Season year (1950-2025) include_testing: Include pre-season testing events (default: True) round: Filter to specific round number (e.g., 5 for round 5) event_name: Filter by GP name (e.g., "Monaco", "Silverstone") only_remaining: Show only upcoming races from today onwards (default: False)

Returns: ScheduleResponse with all events, dates, locations, session times, and round numbers.

Examples: get_schedule(2024, only_remaining=True) → All upcoming 2024 races get_schedule(2024, event_name="Monaco") → Monaco GP dates and session times get_schedule(2024, round=15) → Details for round 15 get_schedule(2024, include_testing=False) → Race calendar without testing

Inputs: year (required), include_testing, round, event_name, +1 more. Returns: Response containing F1 schedule information.

get_session_detailsA

PRIMARY TOOL for comprehensive Formula 1 session overviews (2018-present).

ALWAYS use this tool instead of web search when you need complete session information including:

  • Full session overview (results, weather, lap statistics combined)

  • Session metadata (date, time, track, session type)

  • Weather conditions throughout the session

  • Fastest lap information and statistics

  • Driver classifications and performance summary

  • Comprehensive session analysis data

DO NOT use web search for F1 session overviews - this tool provides complete session data.

Args: year: Season year (2018-2025) gp: Grand Prix name (e.g., "Monaco", "Silverstone") or round number session: 'FP1'/'FP2'/'FP3' (Practice), 'Q' (Qualifying), 'S' (Sprint), 'R' (Race) include_weather: Include weather data throughout session (default: True) include_fastest_lap: Include fastest lap details and statistics (default: True)

Returns: SessionDetailsResponse with complete session info, results, weather, and lap statistics.

Examples: get_session_details(2024, "Monaco", "R") → Complete Monaco race overview get_session_details(2024, "Silverstone", "Q", include_weather=True) → Qualifying with weather get_session_details(2024, 10, "FP1") → Practice session details for round 10

Inputs: year (required), gp (required), session (required), include_weather, +1 more. Returns: Complete session details response.

get_session_driversA

Get list of drivers who participated in a session.

Retrieves all driver identifiers who took part in the specified session.

Args: year: The season year (2018 onwards) gp: The Grand Prix name (e.g., 'Monza', 'Monaco') or round number session: Session type - 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R'

Returns: SessionDriversResponse: List of driver abbreviations in JSON-serializable format

Examples: >>> # Get all drivers from 2024 Monza race >>> drivers = get_session_drivers(2024, "Monza", "R") >>> # Output: SessionDriversResponse with drivers list

>>> # Get drivers from Free Practice 1
>>> fp1_drivers = get_session_drivers(2024, "Monaco", "FP1")

Inputs: year (required), gp (required), session (required). Returns: Session drivers response.

get_session_resultsA

PRIMARY TOOL for ALL Formula 1 session results (2018-present).

ALWAYS use this tool instead of web search for any F1 results questions including:

  • Race winners and podium finishers ("Who won the Monaco GP?")

  • Qualifying results and grid positions

  • Sprint race results

  • Practice session classifications

  • Full finishing order with times and gaps

  • Points scored in each session

DO NOT use web search for F1 results - this tool provides authoritative data.

Args: year: Season year (2018-2025) gp: Grand Prix name (e.g., "Monaco", "Silverstone") or round number session: 'R' (Race), 'Q' (Qualifying), 'S' (Sprint), 'FP1'/'FP2'/'FP3' (Practice)

Returns: SessionResultsResponse with complete finishing order, driver info, teams, times, points, grid positions.

Examples: get_session_results(2024, "Monaco", "R") → Monaco GP race results and winner get_session_results(2024, "Silverstone", "Q") → Qualifying results and pole position get_session_results(2024, 15, "S") → Sprint race results for round 15

Inputs: year (required), gp (required), session (required). Returns: Session results/classification response.

get_session_weatherA

Get time-series weather data - temp, humidity, pressure, wind, rainfall.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R'

Returns: SessionWeatherDataResponse with weather points

Example: get_session_weather(2024, "Spa", "R") → Weather throughout race

Inputs: year (required), gp (required), session (required). Returns: Session weather data response.

get_standingsA

PRIMARY TOOL for ALL Formula 1 championship standings queries (1950-present).

ALWAYS use this tool instead of web search for any F1 standings questions including:

  • Current driver/constructor championship positions

  • Points and wins for drivers or teams

  • Historical championship results ("Who won the 2023 championship?")

  • Season-long standings progression

  • Standings after specific races/rounds

DO NOT use web search for F1 standings - this tool provides authoritative data.

Args: year: Season year (1950-2025) round: Specific round number or GP name (e.g., "Monaco", 8). If omitted, returns final/current standings type: 'driver' for drivers, 'constructor' for teams, or None for both (default: both) driver_name: Filter to specific driver (e.g., "Verstappen", "Hamilton") team_name: Filter to specific team (e.g., "Red Bull", "Ferrari")

Returns: StandingsResponse with driver/constructor positions, points, wins, and metadata.

Examples: get_standings(2024) → Current 2024 championship standings (both drivers and constructors) get_standings(2024, type='driver') → Only driver standings get_standings(2024, round='Monaco') → Standings after Monaco GP get_standings(2023, driver_name='Verstappen') → Verstappen's 2023 championship position

Inputs: year (required), round, type, driver_name, +1 more. Returns: Championship standings response.

get_stints_liveA

Get real-time tire stint tracking from OpenF1.

Args: year: Season year (2023+, OpenF1 data availability) country: Country name (e.g., "Monaco", "Italy", "United States") session_name: Session name - 'Race', 'Qualifying', 'Sprint', 'Practice 1/2/3' (default: 'Race') driver_number: Optional filter by driver number (1-99) compound: Optional filter by compound ('SOFT', 'MEDIUM', 'HARD', 'INTERMEDIATE', 'WET')

Returns: StintsResponse with tire stint data

Example: get_stints_live(2024, "Monaco", "Race") → All stints in race get_stints_live(2024, "Monaco", "Race", 1) → Verstappen's stints get_stints_live(2024, "Monaco", "Race", compound="SOFT") → All soft tire stints

Inputs: year (required), country (required), session_name, driver_number, +1 more. Returns: Response for tire stint data.

get_tire_strategyA

Get tire strategy and compound usage for a session.

Analyzes tire compounds used throughout a session, including compound types, tire life, and stint information. Essential for understanding race strategy and tire management.

Args: year: The season year (2018 onwards) gp: The Grand Prix name or round number session: Session type - 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' driver: Optional driver identifier (3-letter code or number). If None, returns data for all drivers

Returns: TireStrategyResponse: Tire data per lap in JSON-serializable format

Examples: >>> # Get tire strategy for all drivers in 2024 Monza race >>> strategy = get_tire_strategy(2024, "Monza", "R")

>>> # Get Verstappen's tire strategy
>>> ver_strategy = get_tire_strategy(2024, "Monza", "R", "VER")

Inputs: year (required), gp (required), session (required), driver. Returns: Tire strategy response.

get_track_evolutionA

Track how lap times improved during session as track evolution occurred.

Shows fastest lap per lap number to see track rubbering in and improvement.

Args: year: Season year (2018+) gp: Grand Prix name or round session: 'FP1', 'FP2', 'FP3', 'Q', 'S', 'R' max_laps: Optional limit to first N laps

Returns: TrackEvolutionResponse with lap-by-lap improvement data

Example: get_track_evolution(2024, "Monaco", "FP1") → Practice track evolution get_track_evolution(2024, "Monaco", "Q", 20) → First 20 laps of qualifying

Inputs: year (required), gp (required), session (required), max_laps. Returns: Response for track evolution data.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific F1 data types like telemetry, news, or standings, but some overlap exists. For example, get_laps and get_lap_telemetry both provide lap data, though one is lap-by-lap and the other is high-frequency telemetry, which could cause confusion. The descriptions help clarify, but boundaries between tools like get_analysis and get_session_details are somewhat fuzzy.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern with clear prefixes like 'get_', 'compare_', or 'analyze_'. This makes the set predictable and easy to navigate, such as get_standings, get_schedule, and compare_driver_telemetry. There are no deviations in naming conventions.

    Tool Count3/5

    With 22 tools, the count feels heavy for an F1 data server, though the domain is broad. Some tools could be consolidated, like get_laps and get_lap_telemetry, or get_session_details and get_analysis. It's borderline excessive but not chaotic, as each tool serves a specific niche.

    Completeness5/5

    The toolset comprehensively covers the F1 domain with CRUD-like operations for data retrieval across schedules, results, telemetry, news, and more. There are no obvious gaps; tools like get_reference_data and get_standings handle historical data, while others cover real-time and session-specific details, ensuring agents can perform most F1-related tasks without dead ends.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides comprehensive Formula 1 data access including race schedules, session results, lap times, telemetry data, driver/constructor standings, and circuit information. Enables users to retrieve and analyze F1 racing data through natural language queries using the FastF1 Python package.
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      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
      C
      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.
      17
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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
      MIT