Claude Code notification
claude-notify
Sends desktop, ntfy mobile or webhook notifications when Claude Code finishes.
Install
npm install -g @daik0z/claude-notifygit clone https://github.com/ddaikodaiko/claude-notify.gitFrom the README
claude-notify
Get notified when Claude Code finishes working. Supports desktop (macOS, Linux, Windows), mobile via ntfy, and custom webhooks.
Also gives each git worktree its own stable loopback IP — so parallel Claude sessions don't fight over dev server ports.
Install
Requires Node.js 18 or later.
That's it. Claude Code will notify you from now on.
How it works
Adds a Stop hook to ~/.claude/settings.json. When a Claude Code session ends, it runs claude-notify send, reads the session transcript, and sends a summary to your configured channels.
Example notification body: 3 files edited · 2 commands
Channels
Desktop (default, zero config)
Works out of the box on macOS, Linux, and Windows. Uses native OS notifications.
Mobile — ntfy.sh (free, no account needed)
1. Install the ntfy app on your phone
2. Pick a topic — make it unguessable, it's your auth
3. Subscribe to ntfy.sh/your-secret-topic-xyz in the app
Self-hosted ntfy also works:
Webhooks (Slack, Discord, custom)
Default body template: {"text": "{{title}}: {{body}}"} — change with channels.webhook.bodyTemplate.
Worktree IP isolation
When running multiple Claude Code sessions in parallel, each session spins up its own dev server — and they all try to use the same ports.
claude-notify ip prints a stable loopback IP derived from the current git worktree path. Same worktree always gets the same IP. Different worktrees get different IPs. Bind your servers to it and they'll never conflict.
Or export it once at the start of the session:
Linux: no setup needed — the kernel routes the entire 127.0.0.0/8 block to loopback automatically.
macOS: run once per system boot to register the alias:
Commands
Config reference
Config lives at ~/.config/claude-notify/config.json (mode 600).
License
MITDetails
- Repository
- ddaikodaiko/claude-notify
- Language
- TypeScript
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- claudeclaude-codeclidesktop-notificationsdeveloper-toolsgit-worktreehooksnodejsnotificationsntfypush-notificationstypescript
FAQ
What is claude-notify?
Sends desktop, ntfy mobile or webhook notifications when Claude Code finishes. It is a notification for Claude Code, from ddaikodaiko/claude-notify on GitHub.
How do I install claude-notify?
Run npm install -g @daik0z/claude-notify, then follow the setup in the README.
Is claude-notify popular?
ddaikodaiko/claude-notify has 7 GitHub stars and 1 forks. It was last updated on 3 November 2026.
More notifications & sounds
claudecodenotify
10narlei/claudecodenotify
A macOS menu bar app that pops a floating notification in the centre of the screen when Claude needs you.
cctoast-wsl
6claudes-world/cctoast-wsl
Triggers Windows toast notifications with sounds and images from Claude Code hooks running in WSL.
notify
12mishgoldenberg/claude-mods
A mod with a notification inbox and native OS alerts for finished turns, subagents and background tasks.
claude-code-tts-hooks
6jordangarside/claude-code-tts-hooks
Speaks TTS summaries of Claude's responses and permission requests.
desk-notify
13KilimcininKorOglu/claude-code-mods
A mod that sends desktop notifications when a question or plan awaits you or a turn ends.
findmutlu-sounds
6mutlumehmet/claude-plugins
A mod with sound packs for sent prompts, permission prompts, finished jobs and subagents.
Browse the most popular Claude Code mods, all notifications & sounds, or the skills and MCP server directories.