Playwright Spatial Layout MCP
Measures rendered web layouts with Playwright to detect occlusion, off-screen elements, spatial rule failures, and viewport reflow.
Install Playwright Spatial Layout MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"playwright-spatial-layout-mcp": {
"command": "npx",
"args": [
"-y",
"playwright-spatial-layout-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
The install command didn't complete successfully in our automated test.
npx -y playwright-spatial-layout-mcpto update! npm notice npm ERR! code ECONNRESET npm ERR! network aborted npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2026-10-18T11_26_56_015Z-debug-0.log
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 5d ago.
Overview
Use cases
- Detect elements hidden below the viewport
- Check whether overlays cover interactive controls
- Validate spatial relationships between page sections
- Compare responsive layout changes across viewports
Key features
- Extract element bounding boxes
- Measure visual occlusion and intersection area
- Verify spatial relationships
- Compare element reflow across viewports
- Report viewport visibility and z-index
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 8d ago via OSV.dev · playwright-spatial-layout-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Playwright Spatial Layout MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Playwright Spatial Layout MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/playwright-spatial-layout-mcp)<a href="https://allmcps.com/mcp/playwright-spatial-layout-mcp"><img src="https://allmcps.com/api/badge/playwright-spatial-layout-mcp?style=directory" alt="Playwright Spatial Layout MCP on AllMCPs" /></a>