Android Layout Inspector MCP — AI skill for Claude Code
Spatial inspection of a live Android UI for AI agents — finds overlapping views, clipping, touch targets under 48dp, occluded controls and unlabeled clickables by measuring real uiautomator geometry o.
How to install Android Layout Inspector MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Rixmerz/android-layout-inspector-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Android Layout Inspector MCP does
Spatial inspection of a live Android UI for AI agents — finds overlapping views, clipping, touch targets under 48dp, occluded controls and unlabeled clickables by measuring real uiautomator geometry over adb, not by eyeballing screenshots
Alternatives in AI
- Module Feature — Add a new feature (model + service + controller + views + routes + tests) to an existing module 407 ★
- Spmind — [ICML 2026] Autonomous AI agent for end-to-end spatial proteomics analysis, with SP-Bench for agentic multiple 277 ★
- Debug Skill — Give your AI agent a real debugger — breakpoints, stepping, variable inspection, and stack traces via CLI 218 ★
README
android-layout-inspector-mcp
Spatial inspection of a **live Android UI** for AI agents. Pulls the real view hierarchy off a device or emulator over `adb` + `uiautomator`, and reports layout problems as **measured geometry** — overlap area in px², touch targets in dp, clipped fractions — not as an opinion about a screenshot.
The Android counterpart of [layout-inspector-mcp](https://github.com/Rixmerz/layout-inspector-mcp), which does the same job for web pages via Playwright.
Why
An agent that changes a layout has no way to know whether the result overlaps, clips, or leaves a control too small to tap. Screenshots are the obvious answer and the wrong one: judging a 4px collision by looking at pixels is guesswork, and legitimate overlays get reported as bugs.
This measures instead. Every node's bounds, cross-referenced for intersections, with the overlap area in px² and touch targets converted to dp against the device's real density. Deterministic and reproducible: it tells you *which two nodes* collide, not "something looks off". Use a screenshot afterwards to confirm a finding looks wrong to a human, not to find it.
No Android Studio required.
Requirements
- Python 3.11+
- `uv` — used by the plugin launch path
adbonPATH, orADB_PATH, orANDROID_HOMEpointing at an SDK that containsplatform-tools/adb- A device with USB debugging on, or a running emulator
Install as a plugin
claude plugin install android-layout-inspector --marketplace Rixmerz/claude-plugins
Install as a plain MCP server
git clone https://github.com/Rixmerz/android-layout-inspector-mcp.git
cd android-layout-inspector-mcp
uv sync
claude mcp add android-layout-inspector -- uv run --project "$PWD" android-layout-inspector-mcp
Tools
| Tool | Purpose |
|---|---|
detect_issues(device?, xml_path?) |
The main one. Every check below, sorted by severity, each with the geometry that produced it. |
| `insp |
Related Skills
Reference Video Rebuild
Rebuild a reference video's shot structure, motion and layout 1:1 as an editable Remotion project with your ow
Uisight
Your AI can already see the screen — it just can't measure it. Live mobile+desktop sessions, a measurement eng
Skill Fuse
AI agent command consolidator for Claude Code, Cursor, Windsurf. Merge overlapping /commands into one unified
Katto MCP
Katto's official MCP server for AI video clipping — turn long videos & podcasts into scored, captioned 9:16 cl
Kappa Bench
κ-bench: Measuring the reliability of frontier work. How reliably can you hand everyday work to a personal age
Claude Ops Inspector
Subagent Verification for Claude AI Code Networks 2026
Related Agents
Experiment
Performs focused technical experiments for uncertain behavior, algorithms, geometry, rendering, or performance
Gsc URL Inspector
GSC URL Inspection driver. Pulls indexing state, last crawl, mobile usability, rich results, and canonical res
Session Replay
Visual session inspector — opens a session, views screenshots at key timestamps, diffs before/after states, an