Skip to content
MCP server

Playwright Spatial Layout MCP

MCP server that gives AI agents geometric spatial awareness of web page layouts using…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
4 days ago

About Playwright Spatial Layout MCP

Playwright Spatial Layout MCP is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

MCP server that gives AI agents geometric spatial awareness of web page layouts using Playwright

Install

Run in a terminal

claude mcp add playwright-spatial-layout-mcp -- npx -y playwright-spatial-layout-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "playwright-spatial-layout-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-spatial-layout-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "playwright-spatial-layout-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-spatial-layout-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "playwright-spatial-layout-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "playwright-spatial-layout-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "playwright-spatial-layout-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-spatial-layout-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "playwright-spatial-layout-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-spatial-layout-mcp"
      ]
    }
  }
}

Pricing

Open source

Playwright Spatial Layout MCP FAQ

Is Playwright Spatial Layout MCP free?

Yes. Playwright Spatial Layout MCP is open source, so you can use and self-host it for free.

How do I add Playwright Spatial Layout MCP to Claude Code?

Run this command in your terminal: claude mcp add playwright-spatial-layout-mcp -- npx -y playwright-spatial-layout-mcp

What are the best alternatives to Playwright Spatial Layout MCP?

The closest alternatives to Playwright Spatial Layout MCP are Browser Use, Scrapling MCP Server, Oya Browser, Mantis and Auto-building agents.

Alternatives to Playwright Spatial Layout MCP

  1. Browser Use

    MCP server

    Browser agents and cloud browsers for AI, with an MCP server for web tasks

    • 7 tools
    • Remote
    • Freemium
    • 121K GitHub stars
    • Browser automation
  2. MCP server for AI clients to scrape sites with HTTP and stealth browser sessions

    Runs locally
    • 17 tools
    • Open source
    • 104K GitHub stars
    • Web search and scraping
  3. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  4. Mantis

    MCP server

    Browser MCP server that gives agents numbered text pages instead of screenshots

    Runs locally
    • 1 tool
    • Open source
    • 5 Hacker News points
    • Browser automation
  5. Build and continue browser and Mac automation scripts for Super through Claude

    • Remote
    • Paid
    • Browser automation
  6. pour

    MCP server

    Run WCAG 2.2 accessibility audits and vision simulations on any URL from an agent

    Runs locally
    • Open source
    • Developer tools