· 7 minute read

Claude Code notifications: the complete Mac setup guide.

Claude Code can alert you on a Mac through its built-in local notification setting or through hooks you configure yourself. Use the built-in channel for a bell or desktop banner. Use a hook when you need a specific action at a permission prompt or completed turn. For alerts away from the Mac, use a phone push or call.

Try a phone callcompare the channels

key takeaways.

start with Claude Code’s own setting.

Open /config inside Claude Code and look for Local notifications. The same choice can be saved as preferredNotifChannel in your Claude Code settings file. Anthropic lists auto, terminal_bell, iterm2, iterm2_with_bell, ghostty, kitty and notifications_disabled. The default auto detects several terminals and chooses a local channel for you.

For a bell you can hear at your desk, set terminal_bell. For iTerm2 or Ghostty, first try auto, then choose the matching channel if you want an explicit setting. Claude Code’s settings reference describes what each value does, including Terminal.app’s special behavior under auto.

{
  "preferredNotifChannel": "terminal_bell"
}

A bell or banner tells you to look at the session. It cannot make a decision for you and it will not reach you when the Mac is out of earshot.

use the event that matches the moment.

Claude Code’s PermissionRequest hook runs as Claude is about to ask for tool permission. For a notification after the prompt has remained unanswered, match the permission_prompt type on Notification. Anthropic says that usually arrives about six seconds later. If you answer sooner, that Notification hook may never fire. Stop runs after the main agent finishes a response; it does not mean the agent is stuck on permission.

For a simple Mac banner, add a command hook to your Claude Code settings. This example uses macOS’s osascript and keeps the two messages distinct:

{
  "hooks": {
    "Notification": [{
      "matcher": "permission_prompt",
      "hooks": [{
        "type": "command",
        "command": "osascript -e 'display notification \"Claude Code needs your approval\" with title \"Claude Code\"'"
      }]
    }],
    "Stop": [{
      "hooks": [{
        "type": "command",
        "command": "osascript -e 'display notification \"Claude Code finished\" with title \"Claude Code\"'"
      }]
    }]
  }
}

Merge those entries into an existing hooks object; do not replace other hooks that are already there. If your terminal or Claude Code already shows the alert you need, another hook can produce duplicates. A hook command receives event details as JSON on standard input. The pasted article’s $MESSAGE example would not receive a Claude Code message automatically.

what your Mac terminal changes.

iTerm2

Claude Code can send an iTerm2 notification directly with the iterm2 channel, or combine it with a bell using iterm2_with_bell. iTerm2 also has its own alerts for a bell, an idle session and other terminal events. If you configure both Claude Code and iTerm2 alerts, test one permission prompt and remove whichever duplicate you do not need. See iTerm2’s alert settings.

Ghostty

Claude Code’s auto and ghostty channels can send a desktop notification in Ghostty. Ghostty’s desktop-notifications option controls notifications requested through terminal escape sequences. Its bell-features option controls what a bell does. The similarly named app-notifications option is for Ghostty’s own in-app notices on GTK, so it is not the macOS switch for Claude Code alerts. See Ghostty’s configuration reference.

Terminal.app

Terminal.app can ring the terminal bell. A custom hook can also run osascript to show a macOS notification, as in the example above. Check macOS notification permission for the app that sends the alert, and test from the terminal where Claude Code runs.

when you leave the Mac, choose a phone signal.

A local banner is easy to miss from another room. Anthropic’s Remote Control mobile push is the first-party option when you want to read the session and continue working from your phone. It requires Remote Control to be active and the Claude mobile app to have notification permission. It is a good place to start if you already have an eligible Claude plan and want the full conversation on your phone.

CallMyAgent fits a narrower moment: you walked away, an agent is still waiting, and you want your phone to ring. Its Mac app connects to Claude Code’s hooks, waits for the delay you set, and calls when you are away and outside quiet hours. At your Mac it plays a sound instead. The call reads one request and can take one spoken answer. It also watches Codex. You can try two test calls without a card.

A push-first service may suit you better if you want to inspect every step on your phone. Pushary offers a push with a call fallback. See the comparison hub for the tradeoffs, including the free first-party path.

test one prompt before you rely on it.

Choose a Claude Code task that produces a real permission prompt and leave the prompt unanswered briefly. Confirm the local bell or banner appears, then approve or deny at the Mac. For a permission_prompt Notification hook, allow for the roughly six-second delay. For a PermissionRequest hook, the event should arrive when the permission decision is about to be shown. Check your JSON settings, hook matcher and terminal notification permission if nothing appears.

To turn off Claude Code’s built-in local alerts, choose notifications_disabled in /config or set that value for preferredNotifChannel. That setting does not remove custom hooks. Remove only the hook commands you added if you want those custom banners to stop. If you use CallMyAgent, turn off its agent watching or change its call settings in the Mac app rather than deleting every Notification and Stop hook from your file.

questions.

Can Claude Code call my phone itself?

Claude Code has local notifications, hooks and a first-party mobile push path through Remote Control. A normal phone call requires a separate service such as CallMyAgent.

Why did the permission alert arrive after the prompt?

The Notification hook’s permission_prompt type normally fires after the request has remained unanswered for about six seconds. Use PermissionRequest if your integration needs the event when Claude is about to ask.

Does disabling the bell remove my hooks?

No. preferredNotifChannel controls Claude Code’s local notification channel. Hook commands are separate entries in your settings file.

what we checked.

Technical settings were checked against first-party documentation on 24 November 2026. Terminal and Claude Code behavior may change with updates.