get_driver

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

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_driver for the schema, then POST the same URL with its arguments for the data.

Look up F1 driver profile by ID. Returns name, car number, nationality, and date of birth.

Parameters

NameTypeRequiredDescription
driverIdstringyesErgast driver ID (e.g., “hamilton”, “verstappen”, “leclerc”)

Example call

Arguments

{
  "driverId": "hamilton"
}

curl

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

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_driver', {
  "driverId": "hamilton"
});

More examples

{
  "driverId": "verstappen"
}

Response shape

Always returns: driver_id, number, code, name, date_of_birth, nationality, url

FieldTypeDescription
driver_idstringErgast driver ID
numberstring | nullPermanent car number
codestring | nullThree-letter driver code
namestringFull driver name
date_of_birthstring | nullDate of birth (ISO format)
nationalitystring | nullDriver nationality
urlstring | nullWikipedia URL for driver
Full JSON Schema
{
  "type": "object",
  "properties": {
    "driver_id": {
      "type": "string",
      "description": "Ergast driver ID"
    },
    "number": {
      "type": [
        "string",
        "null"
      ],
      "description": "Permanent car number"
    },
    "code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Three-letter driver code"
    },
    "name": {
      "type": "string",
      "description": "Full driver name"
    },
    "date_of_birth": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date of birth (ISO format)"
    },
    "nationality": {
      "type": [
        "string",
        "null"
      ],
      "description": "Driver nationality"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Wikipedia URL for driver"
    }
  },
  "required": [
    "driver_id",
    "number",
    "code",
    "name",
    "date_of_birth",
    "nationality",
    "url"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026