New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

claude-in-android

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

claude-in-android

MCP server for mobile device automation - Android (ADB) and iOS Simulator (simctl)

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

Claude Mobile

MCP server for mobile device automation — Android (via ADB) and iOS Simulator (via simctl). Like Claude in Chrome but for mobile devices.

Control your Android phone, emulator, or iOS Simulator with natural language through Claude.

Features

  • Unified API — Same commands work for both Android and iOS
  • Screenshot capture — See what's on the device screen
  • UI interactions — Tap, long press, swipe by coordinates or element text
  • Text input — Type into focused fields
  • App control — Launch, stop, and install apps
  • Platform selection — Explicitly target Android or iOS, or auto-detect

Installation

claude mcp add --transport stdio mobile -- npx -y claude-in-android

To add globally (available in all projects):

claude mcp add --scope user --transport stdio mobile -- npx -y claude-in-android

From npm

npx claude-in-android

From source

git clone https://github.com/AlexGladkov/claude-in-android.git
cd claude-in-android
npm install
npm run build

Manual configuration

Add to your Claude Code settings (~/.claude.json or project settings):

{
  "mcpServers": {
    "mobile": {
      "command": "npx",
      "args": ["-y", "claude-in-android"]
    }
  }
}

Windows

claude mcp add --transport stdio mobile -- cmd /c npx -y claude-in-android

Requirements

Android

  • ADB installed and in PATH
  • Connected Android device (USB debugging enabled) or emulator

iOS

  • macOS with Xcode installed
  • iOS Simulator (no physical device support yet)

Available Tools

ToolAndroidiOSDescription
list_devicesList all connected devices
set_deviceSelect active device
screenshotTake screenshot
tapTap at coordinates or by text
long_pressLong press gesture
swipeSwipe in direction or coordinates
input_textType text
press_keyPress hardware buttons
launch_appLaunch app
stop_appStop app
install_appInstall APK/.app
get_ui⚠️Get UI hierarchy (limited on iOS)
find_elementFind elements by text/id
get_current_activityGet foreground activity
open_urlOpen URL in browser
shellRun shell command
waitWait for duration

Usage Examples

Just talk to Claude naturally:

"Show me all connected devices"
"Take a screenshot of the Android emulator"
"Take a screenshot on iOS"
"Tap on Settings"
"Swipe down to scroll"
"Type 'hello world' in the search field"
"Press the back button on Android"
"Open Safari on iOS"
"Switch to iOS simulator"
"Run the app on both platforms"

Platform Selection

You can explicitly specify the platform:

"Screenshot on android"     → Uses Android device
"Screenshot on ios"         → Uses iOS simulator
"Screenshot"                → Uses last active device

Or set the active device:

"Use the iPhone 15 simulator"
"Switch to the Android emulator"

How It Works

┌─────────────┐     ┌──────────────────┐     ┌─────────────────┐
│   Claude    │────▶│  Claude Mobile   │────▶│  Android (ADB)  │
│             │     │   MCP Server     │     └─────────────────┘
│             │     │                  │     ┌─────────────────┐
│             │     │                  │────▶│  iOS (simctl)   │
└─────────────┘     └──────────────────┘     └─────────────────┘
  • Claude sends commands through MCP protocol
  • Server routes to appropriate platform (ADB or simctl)
  • Commands execute on your device
  • Results (screenshots, UI data) return to Claude

License

MIT

Keywords

mcp

FAQs

Package last updated on 05 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts