Skip to content
MCP server

Facet

Check pages for responsive design problems and screenshot them on real device sizes

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
0.1.0
Listing updated
2 days ago

About Facet

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

Facet's command-line side runs headless Chromium with real device emulation, using each device's viewport, pixel ratio, touch support and user agent rather than a resized window. It reports problems per device, so an error that only one device logs shows up as a viewport-specific bug.

Checks cover sideways scrolling and the element responsible, tap targets under 24 by 24 pixels, text under 12 pixels, form fields under 16 pixels that make iOS zoom, viewport meta mistakes, oversized or blurry images, fixed headers that cover too much of a small screen, and console errors. Each finding comes with a suggested fix.

The parent project's catalogue has 290+ device profiles. Presets include popular, phones, tablets, desktops, apple and foldables, and sizes such as 1024x768 can be given directly. It accepts URLs, bare hosts, local dev servers or HTML files, can save PNG screenshots or JSON, and its exit code can gate a pull request in CI. It also runs as an MCP server.

Install

Run in a terminal

claude mcp add facet -- npx -y @chandra14/facet-check

Add to claude_desktop_config.json

{
  "mcpServers": {
    "facet": {
      "command": "npx",
      "args": [
        "-y",
        "@chandra14/facet-check"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "facet": {
      "command": "npx",
      "args": [
        "-y",
        "@chandra14/facet-check"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "facet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chandra14/facet-check"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "facet": {
      "command": "npx",
      "args": [
        "-y",
        "@chandra14/facet-check"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "facet": {
      "command": "npx",
      "args": [
        "-y",
        "@chandra14/facet-check"
      ]
    }
  }
}

What it does

Real device emulation
Uses each device's viewport, pixel ratio, touch support and user agent in headless Chromium.
Layout and accessibility checks
Finds horizontal scroll, small tap targets, tiny text and iOS zoom triggers.
Device presets
Choose popular, phones, tablets, desktops, foldables and more, or give an exact size.
Screenshots and JSON
Save a PNG per device or print the full report as JSON.
CI gating
Exit code 1 on findings at a chosen level, configurable with --fail-on.
Local pages
Test localhost dev servers or local HTML files.

Good for

  • Let a coding agent verify a layout fix on phone sizes
  • Fail a pull request that adds horizontal scrolling
  • Capture screenshots across device presets
  • Find console errors that appear on one device only

Pricing

Open source

Prices change. Check chndr-prksh.github.io before you buy.

Facet FAQ

How do I run it?

Run npx @chandra14/facet-check localhost:3000, or install it globally with npm.

Which devices does it test?

A preset such as popular by default, or any device name, id or size you list.

Can it fail a build?

Yes. It exits 1 when a finding reaches the chosen level, set with --fail-on.

Does it use a real browser?

Yes, headless Chromium with device emulation.

Is Facet free?

Yes. Facet is open source, so you can use and self-host it for free.

How do I add Facet to Claude Code?

Run this command in your terminal: claude mcp add facet -- npx -y @chandra14/facet-check

What are the best alternatives to Facet?

The closest alternatives to Facet are REA, Browser Use, Scrapling MCP Server, Codebase Memory and GitHub.

Alternatives to Facet

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. 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
  3. 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
  4. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  5. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  6. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools