Skip to main content

Desktop notifications for Claude Code - get notified when tasks complete

Project description

claude-code-notify

English | 中文

Desktop notifications for Claude Code - get notified when tasks complete, when permission is needed, or when Claude is waiting for input.

Features

  • Task Completion Notifications: Get notified when Claude finishes a task, with a preview of the response
  • Permission Prompts: Know immediately when Claude needs your approval
  • Idle Prompts: Get alerted when Claude is waiting for your input
  • Cross-Platform: Works on macOS, Windows, and Linux
  • Multi-Language Support: Auto-detects system language (EN, ZH, JA, KO, DE, FR, ES)

Changelog

v1.0.2 (2026-01-23)

New Features

  • 🌍 Add i18n support for 7 languages: English, 简体中文, 日本語, 한국어, Deutsch, Français, Español
  • 🔔 Add new notification types: auth_success, elicitation_dialog
  • 🛡️ Add fallback message detection for missing notification_type (workaround for Claude Code bug)

Improvements

  • ✨ Add emoji indicators for all notification types
  • 🧪 Add comprehensive test suite (51 tests)

v1.0.0 (2026-01-23)

  • Initial release
  • Support for Stop and Notification hooks
  • Cross-platform support (macOS, Windows, Linux)

Installation

Option 1: pip/uv install (Recommended)

pip install git+https://github.com/starpipi/claude-code-notify.git

Or with uv:

uv tool install git+https://github.com/starpipi/claude-code-notify.git

Then add to ~/.claude/settings.json:

{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "claude-code-notify"
          }
        ]
      }
    ],
    "Notification": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "claude-code-notify"
          }
        ]
      }
    ]
  }
}

Option 2: Claude Code Plugin

Clone the repository to the plugins marketplace directory:

git clone https://github.com/starpipi/claude-code-notify.git ~/.claude/plugins/marketplaces/claude-code-notify

Then enable the plugin in ~/.claude/settings.json:

{
  "enabledPlugins": {
    "notify@claude-code-notify": true
  }
}

Platform Requirements

macOS

No additional setup needed. Uses native osascript.

Windows

No additional setup needed. Uses PowerShell with Windows Forms.

Linux

Requires libnotify:

# Debian/Ubuntu
sudo apt install libnotify-bin

# Fedora
sudo dnf install libnotify

# Arch
sudo pacman -S libnotify

Manual Testing

Test notifications directly from the command line:

# If installed via pip/uv
claude-code-notify "Test Title" "Test message body"

# If installed via plugin
python3 ~/.claude/plugins/marketplaces/claude-code-notify/plugin/hooks/notify.py "Test" "Hello"

Debug Logs

Debug logs are written to /tmp/claude_code_notify_debug.log for troubleshooting.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_notify-1.0.3.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_notify-1.0.3-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_notify-1.0.3.tar.gz.

File metadata

  • Download URL: claude_code_notify-1.0.3.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for claude_code_notify-1.0.3.tar.gz
Algorithm Hash digest
SHA256 55d20fb362bc272d1989d4f7731e87e687ac937195d57a90523d598184d4edff
MD5 fcf6daf0bc1700091b989c8dc362ff15
BLAKE2b-256 0a4ff4841ee97330321921d0f98bd6c284e327ce2fec32aaa00bf494b8aaeed2

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_notify-1.0.3.tar.gz:

Publisher: publish.yml on starpipi/claude-code-notify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_code_notify-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_notify-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d1d8f40ef61c7b030b124fa5c965023810d37a596b2758f382d4af058eca5f53
MD5 947e84b774d8da8352b7f2251fdbcf2d
BLAKE2b-256 15f87c1017e4be315915dd011b272abe5e4de49ce0ca57ca44a13af196ef175a

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_notify-1.0.3-py3-none-any.whl:

Publisher: publish.yml on starpipi/claude-code-notify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page