bellpip
Try it free

Claude Code notifications in VS Code and Cursor

Claude Code sends no desktop notification from VS Code's integrated terminal. Ring the terminal bell with one setting, or add a hook that shows a macOS notification. Hooks are run by Claude Code itself, so the same fix works in Cursor's terminal.

Checked against Claude Code's documentation on 27 October 2026.

Two ways to run Claude Code in the editor

Why the terminal stays silent

From Claude Code's docs: "By default Claude Code sends a desktop notification only in Ghostty, Kitty, and iTerm2", and "terminals that do not receive a desktop notification, such as Warp or the VS Code integrated terminal, can use a hook or set preferredNotifChannel to "terminal_bell" instead" (terminal configuration).

Fix 1: the terminal bell

{
  "preferredNotifChannel": "terminal_bell"
}

Put it in ~/.claude/settings.json. Whether you hear the bell depends on the editor's own bell and sound settings.

Fix 2: a Notification hook

Add this to ~/.claude/settings.json (merge it into an existing "hooks" block if you have one). It applies to every Claude Code session, whichever terminal it runs in:

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

If no notification appears, Script Editor needs notification permission: the full steps are in Get notified when Claude Code needs your input.

A notification when Claude Code is done

The Notification hook tells you about a finished turn only about 60 seconds later, and only if you haven't typed since (hooks reference). For an alert the moment Claude finishes, add a Stop hook next to it, inside the same "hooks" block:

"Stop": [
  {
    "hooks": [
      {
        "type": "command",
        "command": "osascript -e 'display notification \"Claude Code is done\" with title \"Claude Code\"'"
      }
    ]
  }
]

Stop runs "whenever Claude finishes responding, not only at task completion", and not when you interrupt with Esc. For a sound instead of a banner, see Play a sound when Claude Code is done or needs you.

The extension's panel

The hooks reference says "Claude Code fires the same hook events wherever it runs: sessions in the terminal, IDE extensions, the Desktop app, and cloud sessions" (hooks reference), so the hooks above also run for the extension's panel. Two differences there:

A built-in notification for the extension is still an open request (#57230).

Getting back to the right terminal

With two editor windows and a few terminal tabs each, a notification tells you something happened but not where. You still hunt for the tab.

Bellpip shows each Claude Code session in the MacBook notch with its state. Click a row and Bellpip brings forward the VS Code or Cursor window that holds that session, then the exact terminal in it, or, for a session in the extension's panel, that session's tab. The same works for Terminal, iTerm2, Ghostty and tmux.

What Bellpip covers: Claude Code running in a terminal, including VS Code's and Cursor's integrated terminals, and sessions in the Claude Code extension's panel. A click on a panel session opens that session's tab.

Bellpip keeps every Claude Code session in your MacBook's notch, rings with a different chime when one needs you, finishes or fails, and lowers your music under the chime. macOS only. Free for 7 days of use, then pay what you want, even $0.

Try free Hear the three chimes

Questions

How do I get a notification when Claude Code is done in VS Code?

Add a Stop hook (above). It runs the moment Claude finishes, in the integrated terminal and in the extension's panel.

Why doesn't Claude Code notify me in VS Code?

Its desktop notification only works in Ghostty, Kitty and iTerm2. In VS Code's terminal, use the terminal bell or a hook (above).

Does this work in Cursor?

Yes. Both fixes are Claude Code settings in ~/.claude/settings.json, not editor settings, so they apply to Claude Code in any terminal, Cursor's included.

Can the hook say which project needs me?

Yes, with a little scripting: the hook receives the session's details as JSON on standard input, including the working directory (see the hooks reference). Bellpip shows the session's name in the notch without any setup.

Does Bellpip work with the Claude Code extension's panel?

Yes. A session in the panel shows in the notch like one in a terminal, and a click on its row opens that session's tab.