Claude Code notifications on your iPhone

Start a long task and walk away. Your iPhone tells you when Claude Code is done, when it's waiting for you, and when it needs your approval.

Paste this into Claude Code to set it up

Set up ActivitySmith so you can notify me on my iPhone.
Follow https://activitysmith.com/agent-setup.md

It adds the MCP server, walks you through the sign-in, and checks that your iPhone is paired. Free for 7 days, no credit card. Prefer to do it yourself? Set it up by hand.

An iPhone Lock Screen with a Live Activity for a billing migration at step 4 of 5, an approval request from Claude Code, and a Push Notification that says the checkout bug is fixed

Three ways to get notified

Start with the first one. Add a rule when you want it in every session, and a hook when you can't afford to miss one.

Ask for it in one task

Add one sentence to your request. Claude writes the message itself, so you learn what changed, not only that it stopped.

Tell Claude Code

Notify me when you finish this task, with a one-line summary of what changed.
Push Notification from Claude Code: Checkout bug fixed. Stopped the double charge on retries, added 6 tests, and opened PR #214.

Make it a rule for every session

Add this note to ~/.claude/CLAUDE.md. Claude Code reads that file in every project. The setup prompt also offers to add it for you.

A rule is an instruction, so Claude can still skip it. When that matters, use a hook.

## ActivitySmith
- When a long task finishes, fails, or needs my input, send me a Push Notification with the ActivitySmith `send_push_notification` tool.
- When I ask you to get my approval before a kind of action, treat it as a rule. Every time, call `request_approval` first and continue only after I approve.

Add a hook that fires every time

Claude Code runs hooks itself, so they do not depend on Claude remembering. These two call ActivitySmith directly. You write no script and need no API key.

  1. 1. Connect ActivitySmith first, with the setup prompt or by hand.
  2. 2. Open ~/.claude/settings.json and add one of the hooks below. Keep the settings you already have.
  3. 3. Run /hooks in Claude Code to check that it loaded.

When Claude is waiting for you

The best one to start with. You hear about a permission request after a few seconds, and about a finished task after a minute. If you are still typing in the terminal, it stays quiet.

{
"hooks": {
"Notification": [{
"matcher": "idle_prompt|permission_prompt",
"hooks": [{
"type": "mcp_tool",
"server": "activitysmith",
"tool": "send_push_notification",
"input": {
"title": "Claude Code needs you",
"message": "${message}"
}
}]
}]
}
}
Two Push Notifications titled Claude Code needs you: Claude needs your permission, and Claude is waiting for your input

After every reply

You get Claude's last reply as the message. It fires after short answers too, so it suits long runs better than back-and-forth work.

A very long reply is shortened to fit in the notification. The full text stays in your history in the ActivitySmith app.

{
"hooks": {
"Stop": [{
"hooks": [{
"type": "mcp_tool",
"server": "activitysmith",
"tool": "send_push_notification",
"input": {
"title": "Claude Code finished",
"message": "${last_assistant_message}"
}
}]
}]
}
}
Push Notification titled Claude Code finished, with Claude's last reply: Fixed add in calc.py by changing return a - b to return a + b

Approve the risky steps from your iPhone

Tell Claude which steps need your OK. When it gets there, it stops and asks you. You see the exact command and why it wants to run it, then approve, reject, or type what you want instead. Claude continues when you answer.

Tell Claude Code

Ask for my approval before you run a database migration or deploy to production.

See what an approval request looks like

Time Sensitive Push Notification: Claude Code needs your approval. Run the production migration that adds seat counts to billing?

See how far along it is

For a run that takes a while, Claude can keep a Live Activity on your Lock Screen and update it at every step. One look at your phone, and you know if it's worth walking back.

Tell Claude Code

Show your progress on my Lock Screen while you work through the migration plan.

Read the guide to agent progress

Live Activity on the iPhone Lock Screen: Billing migration, running 48 tests, step 4 of 5

Set it up by hand

The setup prompt does these steps for you. This is what happens underneath.

  1. 1. Add the MCP server

    Run this in your terminal. User scope makes it available in all your projects.

    claude mcp add --transport http --scope user activitysmith https://mcp.activitysmith.com/mcp
  2. 2. Sign in

    Start a new Claude Code session and run /mcp. Select activitysmith, then Authenticate. Approve the access in your browser. You can create an account on the same page.

  3. 3. Pair your iPhone

    Install the ActivitySmith app, sign in with the same account, and allow notifications.

  4. 4. Send yourself a test

    Ask Claude Code to send one. If it arrives, you are done.

    Tell Claude Code

    Send a test Push Notification to my iPhone.

Claude's own notifications, or ActivitySmith?

Claude Code can already reach your phone through the Claude app. If you keep Remote Control on and only want a nudge now and then, that may be all you need. Here is where they differ.

TopicClaude appActivitySmith
What you needClaude app: The Claude app, with Remote Control onActivitySmith: The ActivitySmith app and MCP server
Your Claude accountClaude app: A Pro, Max, Ultra, Team, or Enterprise plan. API keys do not work.ActivitySmith: Any way you use Claude Code, including an API key
When it notifies youClaude app: When Claude decides to, and when it needs you to actActivitySmith: When you ask, when your rule says so, or every time with a hook
Answering from your phoneClaude app: You can continue the whole session in the Claude appActivitySmith: You answer the steps you told Claude to ask about
What else can use itClaude app: ClaudeActivitySmith: Codex, Cursor, and other agents, plus your scripts, apps, and CI
PhonesClaude app: iPhone and AndroidActivitySmith: iPhone and iPad
PriceClaude app: Included in your Claude planActivitySmith: 7-day free trial, then a paid plan

Checked against Anthropic's documentation in December 2026.

If nothing arrives

Claude says it has no ActivitySmith tools
Run /mcp. If activitysmith needs authentication, select it and sign in. If you just added it, start a new session.
It says the notification was sent, but nothing arrives
Ask Claude to list your ActivitySmith devices. If the list is empty, install the iPhone app and sign in with the same account. If your iPhone is listed, check that notifications are allowed and that Focus is off.
The hook does nothing
Run /hooks to check that Claude Code loaded it. The server value must match the name in /mcp. Sign in there first, because a hook cannot open the sign-in page.

Frequently asked questions

Does Claude Code have notifications built in?

Yes. Claude Code can show desktop notifications, and it can send them to the Claude app on your phone while Remote Control is on. ActivitySmith adds notifications for every event you pick with a hook, approvals for the steps you choose, and progress on your Lock Screen. It also works with Codex, Cursor, and your own scripts.

Do I need an API key?

No. You approve a sign-in in your browser, and both Claude and the hooks use that connection. You need a key only for code that runs without Claude Code, such as a server or a CI job.

Can it notify me only when I'm away from my computer?

Yes. Use the hook for when Claude is waiting. In the terminal, it runs about a minute after Claude finishes if you have not typed anything, or a few seconds after a permission request if you have not typed.

Does it work in VS Code?

Yes. The Claude Code extension for VS Code uses the same MCP servers and the same settings file as the terminal, so you set it up once.

Can I approve Claude Code's permission prompts from my iPhone?

Not the built-in prompts. The hook tells you that one is waiting, and you answer it in Claude Code. For steps you choose, such as production deploys, tell Claude to ask for your approval through ActivitySmith. You answer those on your iPhone.

What does ActivitySmith see?

Only what is in the notification, Live Activity, or approval request. It does not read your code or your conversation. The hook for every reply sends the text of Claude's last reply, so use the other hook if those replies can contain something private.

Walk away while Claude Code works

Start your 7-day free trial. No credit card required.