Help / Command line & AI apps

Command line & AI apps

Use the warashi command in Terminal, and let Claude, Cursor and other AI apps read your Mac's history over MCP.

Help menu

Both are optional and read-only: they read what Warashi has already saved and can't change anything.

The warashi command

  1. Install it

    Settings › General › Command Line and AI › Install…. macOS asks for your password once.

  2. Use it in Terminal

    Type warashi to see the commands.

CommandWhat it shows
warashi nowLatest readings, up to about a minute old
warashi apps --hours 3Apps that used the most CPU
warashi history cpu --hours 24One metric over time
warashi explain 14:30What happened at a moment (also 30m, 2h)
warashi sleep --days 7Sleep and battery lost

Add --json to any of them for output your scripts can read.

Connect an AI app

  1. Copy the setup

    Settings › General › Command Line and AI › Copy Setup.

  2. Paste it into your AI app

    Add it to the MCP settings of Claude, Cursor or another app that supports MCP, then ask something like “Why was my Mac slow at 3 pm?”.

Good to know: Nothing is shared until you add Warashi to an AI app. That app and its service then receive what it asks for: app names and usage history, never activity records or file paths. Remove it from the app's settings to stop.

If something's not right

  • warashi isn't found: open a new Terminal window, or press Install… again if you moved Warashi.

More in Troubleshooting, or email adam@warashi.app.