Skip to main content

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

Metadata

Release files for claude-code-notify 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-code-notify 1.0.3
File Size Uploaded
claude_code_notify-1.0.3.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-code-notify 1.0.3
File Interpreter ABI Platform
claude_code_notify-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 23.2 kB

Release files / claude_code_notify-1.0.3.tar.gz

Download URL claude_code_notify-1.0.3.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
55d20fb362bc272d1989d4f7731e87e687ac937195d57a90523d598184d4edff
BLAKE2b-256 checksum
How to use checksums
0a4ff4841ee97330321921d0f98bd6c284e327ce2fec32aaa00bf494b8aaeed2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.

Transparency log

Release files / claude_code_notify-1.0.3-py3-none-any.whl

Download URL claude_code_notify-1.0.3-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1d8f40ef61c7b030b124fa5c965023810d37a596b2758f382d4af058eca5f53
BLAKE2b-256 checksum
How to use checksums
15f87c1017e4be315915dd011b272abe5e4de49ce0ca57ca44a13af196ef175a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page