CallMeMCP/call-me

Claude Code notifications: how to know on your phone when it's done or needs you

·

Give Claude Code your phone number. With the number you get from callmemcp.com, it texts you when a task is done and rings you when it needs a yes or no, and you answer out loud.

That's the /call-me way, and the setup is below. But first the honest answer to "how do I get Claude Code notifications?", because most of it is built in. Claude Code can ring a terminal bell or show a desktop alert. It can run any command you like through a Notification hook. And with Remote Control on a claude.ai plan it can push to the Claude app on your phone. Which one you want comes down to one question: do you only need to know it's done, or does it need a decision from you while you're away?

Can Claude Code make a sound when it's done?

Yes. When Claude finishes or stops at a permission prompt and you seem to be away from the terminal, Claude Code fires a notification. In Ghostty, Kitty and iTerm2 that's a desktop notification (iTerm2 only after you turn on its alerts). Most other terminals stay quiet unless you set preferredNotifChannel to "terminal_bell" in your settings (terminal docs). That's enough when you're in the next room. Once you leave the computer it can't reach you.

What is the Claude Code notification hook?

It's a hook on the Notification event: it runs a command you choose when Claude Code wants your attention. Two matchers matter here. permission_prompt fires when a permission prompt has waited about six seconds, and idle_prompt fires about 60 seconds after Claude finished, if you haven't typed since. The matchers arrived in Claude Code 2.0.37 (November 2025, changelog), and the hooks guide has desktop alert commands for macOS, Linux and Windows.

What I like about it is that Claude Code owns the timing. The hook only fires when you look away, which makes it the right place to send something to your phone.

Can I get Claude Code notifications on my phone?

Yes, in three ways that have nothing to do with me.

Remote Control push. Since Claude Code 2.1.110 (April 2026), a session with Remote Control on can push to the Claude app on iPhone or Android. Run /config and turn on Push when actions required (permission prompts and questions), Push when Claude decides, or both. If you already use Remote Control, do this first. Anthropic's docs name the limits themselves: it needs a Pro, Max, Ultra, Team or Enterprise plan (API keys, Bedrock, Google Cloud's Agent Platform and Foundry are out), it skips the push while you're focused on the terminal, and on iOS, Focus modes and notification summaries can hold pushes back. I go deeper on Remote Control in Claude Code Remote Control from your phone.

A push service in the hook. ntfy is the simplest: there is no sign-up, the topic name works as the password, and you subscribe to that topic in the ntfy app on your phone (ntfy docs). As the command of a Notification hook, this sends the alert text there:

jq -r .message | curl -sS -d @- https://ntfy.sh/pick-a-long-random-topic

Pushover works the same way with an app token and a user key.

A chat channel. Anthropic's channel plugins for Telegram, Discord and iMessage (a research preview since 2.1.80, March 2026) let you message a running session from your phone, and since 2.1.81 a channel that supports it can relay permission prompts, so you approve by replying in the chat (channels docs). You need Bun, and for Telegram or Discord your own bot.

Every one of these is a banner. If you're driving, or the phone is in your pocket on a walk, a banner waits until you look.

Can Claude Code call my phone?

Yes, with /call-me. The app (iPhone or Android) gives you a 10-digit number, and with it a Claude Code phone call rings like any other call: on the lock screen, in your AirPods, through CarPlay. You answer out loud and your words go back to Claude as text.

The quickest way in Claude Code is the plugin:

claude plugin marketplace add radres/call-me
claude plugin install call-me@call-me
claude plugin enable call-me@call-me

Restart Claude Code and say "set up /call-me for me". With the plugin, Claude decides when a text is enough and when to call. Your text replies land in the live session, and if Claude ends a turn on a question you haven't answered, its Stop hook gives you a grace period and then wakes Claude to reach you. Every other client is on the setup page.

The plugin leaves those decisions to the model. If you'd rather have fixed rules, /call-me also has a plain curl API (README), and a hook can call it directly. The three hooks below are the ones I tested.

Can Claude Code notify me when done?

Yes. This Notification hook texts your /call-me number whenever Claude Code would show its own alert. It goes in ~/.claude/settings.json, with your number in CALLME_TO. async means the session never waits on the network.

{
  "env": { "CALLME_TO": "<your 10-digit /call-me number>" },
  "hooks": {
    "Notification": [
      {
        "matcher": "permission_prompt|idle_prompt",
        "hooks": [
          {
            "type": "command",
            "async": true,
            "command": "jq -c --arg to \"$CALLME_TO\" '{to: $to, from: \"Claude Code\", body: ((.cwd | split(\"/\") | last) + \": \" + .message)}' | curl -sS https://callmemcp.com/text -H 'content-type: application/json' -d @-"
          }
        ]
      }
    ]
  }
}

The text starts with the project folder, like "my-api: Claude needs your permission to use Bash", so you know which session it is.

How do I make a Claude Code Stop hook text me the answer?

The Notification text is generic. When you want the result itself ("Tests pass, I pushed the fix"), use a Stop hook. Stop runs every time Claude finishes a turn and receives last_assistant_message, so this one only texts while a marker file says you're away. Run touch ~/.callme-away when you leave and rm ~/.callme-away when you're back. Add it next to "Notification" inside "hooks":

"Stop": [
  {
    "hooks": [
      {
        "type": "command",
        "async": true,
        "command": "[ ! -f ~/.callme-away ] || jq -c --arg to \"$CALLME_TO\" '{to: $to, from: \"Claude Code\", body: ((.cwd | split(\"/\") | last) + \": \" + (.last_assistant_message // \"Done.\" | .[0:1500]))}' | curl -sS https://callmemcp.com/text -H 'content-type: application/json' -d @-"
      }
    ]
  }
]

If you use both hooks, take idle_prompt out of the first matcher, or one finished task sends you two texts.

Can I approve Claude Code permission prompts from my phone?

Yes, by saying yes. A PermissionRequest hook runs the moment Claude Code is about to show a permission prompt, and it can answer allow or deny on your behalf (hooks reference). This script rings you while you're away, reads out the tool and the command, and turns your answer into the decision. Save it as ~/.claude/hooks/callme-approve.sh and run chmod +x on it:

#!/bin/bash
# PermissionRequest hook: ring my phone, approve or deny with my spoken answer.
[ -f "$HOME/.callme-away" ] || exit 0   # at the desk: the normal prompt
ask=$(jq -r '"Claude Code wants to use \(.tool_name). " + ([.tool_input.description, .tool_input.command, .tool_input.file_path] | map(select(. != null)) | join(". ") | .[0:600]) + ". Yes or no?"')
res=$(jq -nc --arg to "$CALLME_TO" --arg text "$ask" '{to: $to, text: $text, from: "Claude Code", timeout_s: 120}' |
  curl -sS --max-time 150 https://callmemcp.com/ring -H 'content-type: application/json' -d @-)
ans=$(jq -r '.transcript // ""' <<<"$res" | tr '[:upper:]' '[:lower:]')
case "$ans" in
  yes*|yeah*|yep*|sure*|ok*|"go ahead"*|approve*)
    say="Approved."; out='{"hookSpecificOutput":{"hookEventName":"PermissionRequest","decision":{"behavior":"allow"}}}' ;;
  no|no[!w]*|nope*|"don't"*|stop*|deny*)
    say="Denied."; out=$(jq -nc --arg m "Denied by phone: $ans" '{hookSpecificOutput: {hookEventName: "PermissionRequest", decision: {behavior: "deny", message: $m}}}') ;;
  *) say="I did not catch that, so it is waiting on your screen."; out="" ;;
esac
# A /call-me call stays open after your answer: end it with one last line.
id=$(jq -r '.call_id // empty' <<<"$res")
[ -n "$id" ] && jq -nc --arg t "$(jq -r .session_token <<<"$res")" --arg s "$say" '{session_token: $t, text: $s}' |
  curl -sS --max-time 20 "https://callmemcp.com/aiphone/calls/$id/hangup" -H 'content-type: application/json' -d @- >/dev/null
[ -n "$out" ] && echo "$out"
exit 0

Then register it next to the other two:

"PermissionRequest": [
  {
    "hooks": [
      { "type": "command", "command": "~/.claude/hooks/callme-approve.sh", "timeout": 180 }
    ]
  }
]

A /call-me call stays open after you answer, so an agent can keep talking; that's why the script hangs up with one last line. A missed call, an answer that isn't a clear yes or no, or a phone that is already on another call gives no decision, and the normal prompt waits on your screen. Deny rules still win: a hook can't approve what a deny rule refuses. The script needs jq and curl. I tried it in a real Claude Code session pointed at the /call-me demo line, which answers by itself: the answer came back as "Yes, go ahead and ship it", the hook allowed the command, and the command ran.

Which one should you use?

At the desk, the bell. On Remote Control with only "it's done" to hear, the push in /config. A push with no account at all, ntfy in the hook. When Claude needs a decision and I'm out, I want a call: it rings in my AirPods or the car, I answer out loud, and Claude carries on. The same number works for Codex (Codex notifications) and the rest of my agents, and what /call-me is covers everything else.

All posts

Give your AI a number to call you

Get the app, give your agent the number, and it can ring you or text you.