Get a push on iPhone, Android, or Apple Watch when Claude Code needs permission, asks a question, or finishes a turn, and answer it without walking back to your desk.
TL;DR: Claude Code already emits the right events (Notification with permission_prompt and idle_prompt, plus Stop when a turn ends). They just need a route to your phone. There are three ways to get one: Anthropic's Remote Control push (Claude only, needs a claude.ai plan), a DIY hook that curls a push service, or moshi-hook, which sends approvals, questions, and completions to Moshi as push notifications, Live Activities, and Apple Watch alerts that you can approve from the banner. This guide is written by the Moshi team and covers all three.
Which Claude Code events are worth a notification
Claude Code's hooks fire on lifecycle events. These are the ones worth sending to your phone:
| Event | When it fires | Phone-worthy? |
|---|---|---|
Notification · permission_prompt | Claude needs permission for a tool call | Yes: the agent is blocked until you answer |
Notification · idle_prompt | Claude is waiting for your input | Yes: the turn is over and it wants direction |
Stop | Claude finished responding | Usually: "done" is what you check the phone for |
StopFailure | A turn ended on an API error | Yes, so a dead session doesn't go unnoticed |
SubagentStop | A subagent finished | Usually not; it's noise during long runs |
Rule of thumb: notify on anything that blocks the agent, plus the end of each turn. Skip the rest, or your lock screen becomes another log file.
Option 1: Remote Control push (Claude only)
If you already use Claude Code Remote Control, Claude Code can push to the Claude mobile app. Turn it on in /config ("Push when actions required", optionally "Push when Claude decides").
- Good: free, first-party, no extra install.
- Limits: it needs a claude.ai plan (API keys aren't supported) and a Remote Control session. Pushes are skipped while you're typing in or focused on the connected terminal. It covers Claude only, so Codex or OpenCode sessions on the same machine stay silent.
Option 2: DIY hook + a push service
Claude Code hooks are shell commands, so you can wire Notification and Stop to any push service (ntfy, Pushover, a Slack webhook). In ~/.claude/settings.json:
{
"hooks": {
"Notification": [
{ "hooks": [{ "type": "command", "command": "curl -s -d 'Claude needs you' https://ntfy.sh/YOUR_TOPIC" }] }
],
"Stop": [
{ "hooks": [{ "type": "command", "command": "curl -s -d 'Claude finished' https://ntfy.sh/YOUR_TOPIC" }] }
]
}
}
- Good: five minutes of setup, works with any agent that has hooks.
- Limits: a notification only tells you to go look. You can't approve from it, you can't see what Claude wants to run, and you still need a terminal to answer. On public ntfy topics, anyone who guesses the name can read your messages.
Moshi also accepts this kind of one-way push through its webhook API or moshi-hook notify, if you want DIY hooks to land in the same inbox as everything else.
Option 3: moshi-hook (approve from the notification)
moshi-hook is a small daemon on your Mac, Linux, or WSL host. It installs Moshi's Claude Code hooks for you and turns the events into structured cards in Moshi:
- Permission prompts arrive as push notifications showing the command or question (up to 256 characters). Allow or deny from the banner, the Dynamic Island, or your Apple Watch.
- Turn completions update a Live Activity on the lock screen instead of piling up banners.
- One inbox row per session, so ten updates from one agent don't stack into ten notifications.
- The same setup covers Codex, OpenCode, Cursor, Grok, and the rest of the supported roster.
Set it up
On macOS:
brew tap rjyo/moshi
brew trust rjyo/moshi
brew install moshi-hook
moshi-hook pair --token <token from Moshi>
moshi-hook install
brew services start moshi-hook
On Linux or WSL:
curl -fsSL https://getmoshi.app/install.sh | sh
moshi-hook pair --token <token from Moshi>
moshi-hook install
moshi-hook service install
moshi-hook service install runs the daemon as a systemd user service, so it survives logout and reboots. If your WSL distro has systemd disabled, run moshi-hook serve from your shell startup or a process manager instead.
moshi-hook install writes hooks into ~/.claude/settings.json (or one project's .claude/settings.local.json with --local --target claude). Restart any running claude sessions so they pick up the hooks, then run moshi-hook doctor to check everything is green. Full reference: Install moshi-hook.
On the phone, open Settings → Push Notifications in Moshi, allow notifications, and send a test push (notifications docs).
Run Claude inside tmux or Herdr
Start claude inside tmux, Herdr, or another multiplexer. An agent in a plain terminal has no pane Moshi can open from a notification, so by default its events still reach the inbox but their pushes are silent. Approvals you can answer from the phone still alert either way. To get visible pushes for those sessions too, run moshi-hook set suppress-push-without-mux off (hook settings).
Don't buzz when you're at the desk
On macOS, moshi-hook set suppress-push-while-unlocked on keeps the inbox updating but silences pushes while your Mac is unlocked. If the lock check fails, notifications stay on, so an approval can't vanish silently (hook settings).
What leaves your machine
Only what you see in a push or inbox row goes through Moshi's server: the event type, short snippets of your prompt and Claude's reply (up to 200 and 80 characters), the approval text, and metadata such as the project name, model, and tool name. Transcripts, diffs, and code stay between your host and your phone. With end-to-end encryption on, even the summaries are sealed on the host, and Moshi's server relays only ciphertext.
Which one to pick
| You want… | Use |
|---|---|
| Claude only, free, already on Remote Control | Remote Control push |
| A ping when something happens, nothing more | DIY hook |
| To answer approvals from the lock screen or watch, across several agents | moshi-hook + Moshi |
The free Moshi tier includes agent-event push (10 events per minute) and a trial of inbox actions. Pro raises the push rate and unlocks unlimited approvals from the inbox and Apple Watch (subscription).
FAQ
Can Claude Code send notifications to my phone?
Yes. Claude Code fires Notification hooks when it needs permission (permission_prompt) or input (idle_prompt), and a Stop hook when a turn ends. Route them to your phone with Remote Control push, a DIY hook that calls a push service, or moshi-hook.
Can I approve Claude Code permission prompts from my phone?
With moshi-hook and Moshi, yes. The permission request arrives as a push, and you allow or deny it from the banner (iPhone and Apple Watch) or from Moshi's inbox. If you don't answer in time, the request falls back to Claude's normal prompt in the terminal, so nothing is auto-approved behind your back (Claude Code guide).
Do Claude Code notifications work on Android?
Yes. Moshi runs on Android 10+ and receives the same agent pushes. Live Activities and Apple Watch alerts are iOS-only.
Why am I not getting notifications?
The most common cause is running claude outside a multiplexer. By default, agents in a plain terminal (no tmux, Herdr, or Zellij) still update the inbox, but their pushes are silent. Start claude inside tmux or Herdr, or run moshi-hook set suppress-push-without-mux off (hook settings).
Then check three more things: the claude session was started after the hooks were installed (restart it if not), moshi-hook doctor reports the Claude Code hook as ready, and notifications are allowed for Moshi in your phone's settings. On a Mac, suppress-push-while-unlocked also silences pushes while the Mac is unlocked, if you turned it on. Troubleshooting covers the rest.
Related reading
- Claude Code on your phone: full setup
- Moshi with Claude Code
- Agent hooks: inbox, Live Activities, usage, Apple Watch
- Claude Code Remote Control: setup, limits, alternatives
- Push notifications and webhooks
Disclosure: published on getmoshi.app by the Moshi team. Hook event names come from Anthropic's Claude Code hooks reference as of November 2026; check the live docs if a release changes them.
