Claude Code on iPhone

Claude Code on iPhone: run it on your own server

Short answer: yes. Claude Code is a terminal tool, so the practical way to use it from a phone is to run it on a server and connect from your iPhone. ServerCC is an iOS app built for exactly this — it opens an SSH connection to your own machine and gives you a real terminal, tuned for running Claude Code and Codex.

Claude Code running in a terminal on iPhone via ServerCC

The two ways to use Claude Code from a phone

Anthropic's official Claude app offers Remote Control, which lets you steer Claude Code sessions from your phone through Anthropic's infrastructure. It is the fastest way to check on a session you started elsewhere.

The SSH approach — what ServerCC does — connects straight to your own server instead. That difference matters if you want:

  • A full terminal, not a remote control. Run any command — git, tests, editors, deploy scripts — in the same session as Claude Code.
  • Sessions that survive anything. ServerCC runs agents inside tmux on your server, so closing the app, losing signal, or switching networks never kills a run.
  • Your infrastructure, your rules. Works with any SSH server — VPS, home lab, air-gapped networks via built-in Tailscale. Nothing routes through a third-party relay.
  • Codex too. The same app runs the OpenAI Codex CLI with equal support.

Five-minute setup

1

Install ServerCC from the App Store

Free to download, works on iPhone and iPad.

2

Add your server

Host, user, and a password or SSH key — encrypted keys are supported, and everything is stored in the iOS Keychain. See Server Management and SSH Keys.

3

Open a workspace and go

Point ServerCC at a project directory (or clone one), tap Claude Code, and the agent starts inside a persistent tmux session. The Quick Start covers the details.

What you get beyond the terminal

FAQ

Is there an official Claude Code mobile app?

Anthropic's Claude app includes Remote Control for steering sessions from your phone. ServerCC is independent and takes the SSH route to your own server — see the comparison above, or the full breakdown in Remote Control vs SSH.

Does my computer need to stay on?

No — Claude Code runs on whatever server you SSH into. Your iPhone is just the window; close it and the tmux session keeps working.

What does it cost?

ServerCC is free to download with core features included; a Pro upgrade unlocks the full toolset. Claude Code itself runs under your existing Anthropic plan on your server.