get_driver
Pack: f1 · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
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
| Name | Type | Required | Description |
|---|---|---|---|
driverId | string | yes | Ergast 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
| Field | Type | Description |
|---|---|---|
driver_id | string | Ergast driver ID |
number | string | null | Permanent car number |
code | string | null | Three-letter driver code |
name | string | Full driver name |
date_of_birth | string | null | Date of birth (ISO format) |
nationality | string | null | Driver nationality |
url | string | null | Wikipedia 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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the f1 pack
{
"mcpServers": {
"f1": {
"url": "https://gateway.pipeworx.io/f1/mcp"
}
}
}
See Getting Started for client-specific install steps.