Kobbe CLIInspect analytics, setup health, and site settings from your terminal.

Use the Kobbe CLI when you want quick terminal access to your sites, traffic, setup health, and management commands.

The CLI package is @kobbe/cli. It also includes MCP server mode for AI agents, covered in AI agents.

Install

npm install -g @kobbe/cli
  • Open profile menu → Agent access (or go to app.kobbe.io/settings/agent-access)
  • Copy the token immediately (shown once)
  • Workspace owners and managers only
  • Use Cmd/Ctrl K and search Agent access if you do not see it in the menu

Agent access is included on every plan.

Log in locally:

kobbe login --token kbpat_YOUR_TOKEN

For self-hosted or preview environments, pass a custom app URL:

kobbe login --token kbpat_YOUR_TOKEN --api https://app.kobbe.io

Read analytics

kobbe sites
kobbe live
kobbe overview --site site_123 --range today
kobbe timeseries --site site_123 --range 7d
kobbe breakdown --site site_123 --dimension countries --range 7d
kobbe events --site site_123 --range 7d --event "Signup"
kobbe campaigns --site site_123 --range 30d
kobbe next --site site_123 --range today
kobbe setup-health --site site_123

Use these commands to check what changed, inspect setup health, and find the next page or source worth improving.

Goals and funnels

Read and manage conversion goals and funnels:

kobbe goals --site site_123 --range 30d
kobbe create-goal --site site_123 --preset custom --event "Signup"
kobbe delete-goal --site site_123 --goal goal_id

kobbe funnels --site site_123 --range 30d
kobbe create-funnel --site site_123 --name "Signup" \
  --steps '[{"type":"pageview","value":"/pricing"},{"type":"event","value":"Signup"}]'
kobbe delete-funnel --site site_123 --funnel funnel_id

Manage sites

Management commands are available when the token has the right scopes:

kobbe create-site --name "Docs site" --domain docs.example.com
kobbe update-site --site site_123 --name "Marketing"
kobbe rotate-token --site site_123

Destructive commands require a typed confirmation:

kobbe delete-site --site site_123 --confirm "DELETE example.com"
kobbe reset-stats --site site_123 --confirm "RESET example.com"

If the confirmation is missing or wrong, Kobbe returns the exact phrase required.