Press Enter on your Mac from your phone. For when leaning forward is too much.
Built for use with Claude Code — when you're on the couch and Claude's asking if you want to proceed.
curl -fsSL https://raw.githubusercontent.com/b1rdmania/claude-remote/main/install.sh | bashThen grant Terminal accessibility permissions: System Settings → Privacy & Security → Accessibility → Terminal ✓
-
Start the server on your Mac:
claude-remote
-
On your iPhone:
- Visit b1rdmania.github.io/claude-remote
- Tap Setup and enter the IP shown in your terminal
- Add to Home Screen (Share → Add to Home Screen)
-
Press the big orange button. That's it.
- A tiny Flask server runs on your Mac listening for POST requests
- The web app (PWA) sends requests from your phone over your local network
- AppleScript simulates the Enter keystroke on whatever window is focused
- macOS (uses AppleScript for keystrokes)
- Python 3
- iPhone/iPad on the same WiFi network
Can't connect?
Check your Mac's firewall allows incoming connections on port 5050.
Button does nothing?
Make sure Terminal (or your terminal app) has Accessibility permissions.
Still not working?
Verify both devices are on the same WiFi network. Try http://YOUR_IP:5050/health in a browser to test.
If you prefer not to use the install script:
pip install flask flask-cors
curl -O https://raw.githubusercontent.com/b1rdmania/claude-remote/main/server.py
python server.pyMIT — do whatever you want with it.
Made with Claude 🧡