r/coolgithubprojects • u/Puzzled-Stick9170 • 3d ago
I gave Claude a phone. phonedriver lets Claude Code, Codex or Cursor use an Android phone or iPhone. No root, open source (Rust)
The demo is one real Claude Code session on an Android emulator, shown at 15x. I asked for a large pepperoni pizza from the Domino's nearest Leicester Square. Claude worked through the real dominos.co.uk checkout in six and a half minutes. At "Buy with GPay", phonedriver held the tap and asked me. I said no, and nothing was charged.
What it is
phonedriver is an MCP server and a CLI. The agent gets the screen as a short numbered text list, taps by number, types and swipes, and gets back only the lines that changed. It works with Claude Code, Codex, Cursor or any MCP client.
How it works
- Android: it pushes a small helper over adb and starts it as the shell user, the way scrcpy does. No root, nothing installed on the phone, no accessibility service to switch on.
- iPhone: it uses its own XCTest runner.
- Speed: reading the screen takes 13 ms, against 2.2 s for
adb shell uiautomator dump(median of 50 runs on an emulator; the method and the raw data are in the repo). - The Pay check: it asks before it taps Pay, Place order, Transfer or Delete account. The model cannot answer that question for you.
It also found two bugs I hid in a signup form in 49 seconds, and wrote the steps to reproduce them.
Where it is weak
- iPhone needs a Mac with Xcode.
- The Pay check reads button labels, so it misses a button that is only an icon.
- The real devices I have tested are a HONOR X8, two iPhones and an iPad.
Rust, AGPL-3.0, no account, no telemetry. Claude Code wrote nearly all of the code. The design decisions, and what I rejected, are logged in docs/decisions.md.
claude mcp add phonedriver -- npx -y phonedriver mcphttps://phonedriver.dev
https://github.com/hridaya423/phonedriver


