get_sessions

Pack: openf1 · Endpoint: https://gateway.pipeworx.io/openf1/mcp

List F1 sessions (a Race, Qualifying, or Practice within a Grand Prix weekend). Use to find the session_key needed for drivers/laps. Filter by year, country, session_name (“Race”,“Qualifying”,“Practice 1”), or meeting_key.

Parameters

NameTypeRequiredDescription
yearnumbernoSeason year, e.g. 2024.
country_namestringnoHost country, e.g. “Bahrain”.
session_namestringnoe.g. ‘Race’, ‘Qualifying’, ‘Practice 1’.
meeting_keynumbernoRestrict to one Grand Prix weekend (from get_meetings).

Example call

curl -X POST https://gateway.pipeworx.io/openf1/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_sessions","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "openf1": {
      "url": "https://gateway.pipeworx.io/openf1/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 6, 2026