npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

claude-in-mobile

v2.3.0

Published

MCP server for mobile and desktop automation - Android (ADB), iOS Simulator (simctl), and Desktop (Compose)

Downloads

627

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)   │
└─────────────┘     └──────────────────┘     └─────────────────┘
  1. Claude sends commands through MCP protocol
  2. Server routes to appropriate platform (ADB or simctl)
  3. Commands execute on your device
  4. Results (screenshots, UI data) return to Claude

License

MIT