Getting Started

iphone-use

Let AI agents use your real iPhone. With iphone-use installed on your Mac, Claude Code, Codex or any MCP client reads the phone's screen as text, taps, types and swipes in any app, including the ones with no API: Health, banking, chat apps, or the app you are testing. You can watch it live and take the phone back at any time.

bash Β· on the Mac the iPhone is plugged into
$ curl -fsSL https://raw.githubusercontent.com/leeguooooo/iphone-use/main/install.sh | sh

Connect your agent in three steps

  1. Get the phone ready: a Mac with macOS 15 or later and Xcode signed in to an Apple ID (a free one works), an iPhone with iOS 15 or later and Developer Mode on (Settings β†’ Privacy & Security β†’ Developer Mode), and a USB cable for the first setup. Plug the iPhone in and unlock it.
  2. Run the installer above. It sets the phone up, shows an agent opening Settings and reading it, registers the MCP server with Claude Code and Codex (and with Cursor and Claude Desktop when they are installed), and opens the control page in your browser with a one-time sign-in. If anything is missing, it says what and how to fix it.
    bash
    $ iphone-use doctor   # what is missing, and how to fix it
    $ iphone-use try      # a harmless check: open Settings, read the screen, go Home
  3. Ask your agent. Start a new chat in Claude Code or Codex and say what you want done on the phone. You do not need to learn any commands; the bundled skill teaches the agent the loop. Other clients: MCP, HTTP API and skill.

Full requirements, plugins, upgrades and a second phone: Install.


Ask your agent

Requests like these work in any app on the phone. The agent finds an app by its name, types long text in one step and reads a list across pages.


Without the terminal


Why a real iPhone

ℹ️ Speed, as measured by the maintainer
On the same iPhone 13 over USB (October 2026), the iphone-use runner read the screen in 0.08–0.135 s and a tap plus waiting for the screen to settle took 1.0 s; agent-device took about 0.7 s and 2.8–3.3 s. Through the full agent API, a tap by label that returns the settled change took about 1.9 s on an iPhone 17 Pro Max. These are the project's own measurements from its README, not an independent benchmark.

Under the hood

One daemon per phone runs on your Mac. It reads the screen as an accessibility tree, sends taps and typing through its own XCTest runner on the iPhone, and checks that the screen has settled before it answers.


Quick answers

Does it need a jailbreak?

No. It needs Developer Mode on the iPhone and a signed XCTest runner, which the installer builds with your Xcode team.

Which agents can use it?

Claude Code, Codex, Cursor, Claude Desktop and any other MCP client, through the bundled MCP server. Scripts and other agents can call the HTTP API under /agent/*.

Does it need a Mac?

Yes. The daemon runs on a Mac with macOS 15 or later and Xcode. Other devices can reach its browser page and APIs, but the phone itself is hosted by the Mac.

Is it free and open source?

It costs nothing to download and use. It is source-available under the PolyForm Shield 1.0.0 license, not an OSI-approved open-source license: non-competing use, modification and distribution are permitted, while using it to provide a competing product or service is not.

More in the FAQ.


The *-use family

Small tools that give an AI agent hands on one real thing you already use.

Paid setup and sponsorship

Need help setting up a real iPhone, connecting your agent or creating an iOS app test flow? Email the maintainer with your environment, the workflow and expected result, and where you are stuck; scope, acceptance criteria and a quote are agreed before work starts. Bug reports and feature requests stay welcome on GitHub issues. Please keep credentials and private account data out of inquiries.

PolyForm Shield 1.0.0 (source-available) Β· GitHub Β· made by Β· Privacy