Reference

Telemetry

Learn what anonymous usage data Kubb collects, how to opt out, and how the data improves the tool.

The Kubb CLI collects anonymous command, plugin, and performance data.

Telemetry is enabled by default. Disable it any time with the DO_NOT_TRACK or KUBB_DISABLE_TELEMETRY environment variable.

What is collected

Telemetry includes these fields:

FieldDescriptionExample
commandCLI command that was run"generate", "validate", "mcp"
kubbVersionKubb CLI version"5.0.0"
nodeVersionNode.js major version"22"
runtimeJavaScript runtime name"node", "bun", "deno"
runtimeVersionRuntime major version"22"
platformOperating system"linux", "darwin", "win32"
ciWhether running in CItrue
agentName of the AI coding agent that ran the command, if any"claude"
pluginsPlugin names and their options (only for generate)[{ "name": "@kubb/plugin-ts", "options": { "output": { "path": "types" } } }]
durationCommand execution time in milliseconds1432
filesCreatedNumber of files generated (only for generate)47
statusWhether the command succeeded or failed"success"

Commands that send telemetry

CommandDescription
kubb generateSent after code generation completes or fails
kubb validateSent after OpenAPI validation completes or fails
kubb mcpSent after the MCP server starts or fails to start

What is not collected

Kubb never sends:

  • OpenAPI specification contents
  • File paths or directory structures
  • Secrets, API keys, or tokens
  • Source code or generated code
  • IP addresses or user identifiers

How to opt out

Set DO_NOT_TRACK or KUBB_DISABLE_TELEMETRY to 1 or true:

Terminal
DO_NOT_TRACK=1 kubb generate

Add export DO_NOT_TRACK=1 to your shell profile to opt out permanently. DO_NOT_TRACK follows the cross-tool convention.

Data transmission

Telemetry is formatted as OpenTelemetry OTLP traces. Kubb sends them to https://otlp.kubb.dev/v1/traces at the end of each command. The request fires only when you are online. It times out after 5 seconds and fails silently if anything goes wrong.