Claude Mobile
Enables mobile device automation for Android (via ADB) and iOS Simulator (via simctl), allowing you to control devices with natural language through screenshots, UI interactions, text input, and app management.
README
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
- Smart screenshots — Auto-compressed for optimal LLM processing (no more oversized images!)
- Device logs — Read logcat/system logs with filters for debugging
- 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 Code CLI (recommended)
claude mcp add --transport stdio mobile -- npx -y claude-in-mobile
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-mobile
From source
git clone https://github.com/AlexGladkov/claude-in-mobile.git
cd claude-in-mobile
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-mobile"]
}
}
}
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
| Tool | Android | iOS | Description |
|---|---|---|---|
list_devices |
✅ | ✅ | List all connected devices |
set_device |
✅ | ✅ | Select active device |
screenshot |
✅ | ✅ | Take screenshot |
tap |
✅ | ✅ | Tap at coordinates or by text |
long_press |
✅ | ✅ | Long press gesture |
swipe |
✅ | ✅ | Swipe in direction or coordinates |
input_text |
✅ | ✅ | Type text |
press_key |
✅ | ✅ | Press hardware buttons |
launch_app |
✅ | ✅ | Launch app |
stop_app |
✅ | ✅ | Stop app |
install_app |
✅ | ✅ | Install APK/.app |
get_ui |
✅ | ⚠️ | Get UI hierarchy (limited on iOS) |
find_element |
✅ | ❌ | Find elements by text/id |
get_current_activity |
✅ | ❌ | Get foreground activity |
open_url |
✅ | ✅ | Open URL in browser |
shell |
✅ | ✅ | Run shell command |
wait |
✅ | ✅ | Wait for duration |
get_logs |
✅ | ✅ | Get device logs (logcat/system log) |
clear_logs |
✅ | ⚠️ | Clear log buffer |
get_system_info |
✅ | ❌ | Battery, memory info |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.