Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Cssprobe Cli

by mack-pengversion 0.3.0i★ –iRuns on your computer
Registry nameio.github.mack-peng/cssprobe-cli

Install

Overview

Description from the maker (original English)

Runtime CSS probe — inspect layout, overflow, scroll chains in a real browser. For AI agents.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Web & browsers

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • The registry lists no key to fill in.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "cssprobe-cli": {
      "command": "npx",
      "args": [
        "-y",
        "cssprobe-cli"
      ]
    }
  }
}

Run this in your terminal

claude mcp add cssprobe-cli -- npx -y cssprobe-cli

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "cssprobe-cli": {
      "command": "npx",
      "args": [
        "-y",
        "cssprobe-cli"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "cssprobe-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cssprobe-cli"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account mack-peng, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Web & browsersi

  • More stars than 0% of the other 875 servers in this category
  • Published to the registry more recently than 40% of the other 875 servers in this category
  • Basic checks equal to or better than 100% of the other 875 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Cssprobe Cli safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.3.0) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Browser Use, Chrome DevTools MCP, MCP Server Browser

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Browser Use

by browser-use

Lets AI do web tasks for you, such as filling forms, searching and extracting data, in the maker’s cloud browsers or on your computer.

Computer or cloud★ 120,087MITUpdated 16 days ago
Install

Chrome DevTools MCP

by ChromeDevTools

Lets AI use Chrome’s developer tools to inspect pages, find what makes them slow and spot errors. Made by the Chrome DevTools team.

Runs on your computer★ 54,821Apache-2.0Updated 15 days ago
Install

MCP Server Browser

by bytedance

MCP server for browser use access

Runs on your computer★ 39,550Apache-2.0Updated 14 months ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

cssprobe-cli

Runtime CSS probe — inspect layout, scroll, colors, backgrounds, fonts and more in a live browser. Built for both humans and AI agents.

Static + runtime CSS diagnosis for AI agents — pair with cssgraph (the CSS knowledge graph) for the full picture.


Why cssprobe-cli?

When an AI agent needs to debug CSS — why is this element overflowing, what's the actual rendered layout, is this container scrollable — it can't see the browser. It guesses from static code, missing runtime-only issues like overflow, scroll chains, and containing block hijacks.

cssprobe-cli gives the agent eyes. It opens a real browser, collects computed styles and metrics via injected JavaScript, analyzes them with a confidence model, and returns structured findings — all in one command. The agent asks a question about any selector and gets back the DOM tree, ASCII layout diagram, overflow warnings, and scroll diagnosis without leaving the terminal.


Installation

For Humans

Copy and paste this prompt to your LLM agent (Claude Code, Cursor, Codex, etc.):

Install and configure cssprobe-cli by following the instructions here:

https://raw.githubusercontent.com/mack-peng/cssprobe-cli/main/docs/guide/installation.md

Or read the Installation Guide, but seriously, let an agent do it. Humans fat-finger configs.

For LLM Agents

Fetch the installation guide and follow it:

curl -s https://raw.githubusercontent.com/mack-peng/cssprobe-cli/main/docs/guide/installation.md

Or install directly:

npm install -g cssprobe-cli

cssprobe-cli skill-install


How It Works

┌───────────────────────────────────────────────────────────┐

│ AI Agent │ │ │ │ "Is .sidebar overflowing?" │ │ calls: cssprobe-cli inspect .sidebar │ │ │ │ └─────────────────────────────┬─────────────────────────────┘ │ ▼ ┌───────────────────────────────────────────────────────────┐ │ cssprobe-cli daemon │ │ │ │ collector (IIFE) → analyzer (pure) → renderer (md/json) │ │ │ │ │ ▼ │ │ Playwright browser (Chromium) │ │ getBoundingClientRect · getComputedStyle · DOM walk │ └───────────────────────────────────────────────────────────┘

  1. Session — open spawns a daemon process managing a browser. Commands connect via Unix socket.
  2. Collector — Injected as IIFE into the page. Walks the DOM, reads computed styles, declared values, and element metrics.
  3. Analyzer — Pure Node.js functions. Classifies findings with confidence levels (DEFINITE / INDEFINITE / UNVERIFIABLE).
  4. Renderer — Outputs Markdown (default) or JSON. Includes ASCII layout diagram, DOM tree, and findings.

Quick Start

1. Inspect a Page
# Open browser (non-blocking, starts daemon session)

cssprobe-cli open https://getbootstrap.com/docs/5.3/examples/checkout

Inspect with CSS selector

cssprobe-cli inspect .container

Show ASCII layout diagram

cssprobe-cli layout .container

Show only issues/warnings

cssprobe-cli findings .container

Close browser when done

cssprobe-cli close

2. Login-Protected Pages
# Open browser in headed mode

cssprobe-cli open https://mysite.com --headed

User manually logs in...

Save session state for future use

cssprobe-cli state-save --name mysite

Reopen with saved state (no login needed)

cssprobe-cli open https://mysite.com --state state.json --headed

3. JSON Output
cssprobe-cli inspect body --json

cssprobe-cli inspect body --json | jq '.findings[] | {id, confidence, message}'

4. Use as an MCP Server (AI clients)

cssprobe-cli ships an MCP server (stdio), so AI clients call it as a native tool — no shell needed:

cssprobe-cli mcp-install          # auto-detect and configure installed clients

cssprobe-cli mcp-install --target=claude,cursor,codex cssprobe-cli mcp-install --local # write project-scoped config

Manual configuration for any MCP client:

{

"mcpServers": { "cssprobe-cli": { "command": "cssprobe-cli", "args": ["mcp"] } } }

Exposes 10 tools: cssprobe_open, cssprobe_inspect, cssprobe_tree, cssprobe_layout, cssprobe_findings, cssprobe_eval, cssprobe_screenshot, cssprobe_inject_css, cssprobe_close, cssprobe_status. Remove with cssprobe-cli mcp-uninstall.


Commands

Session Management
CommandDescription
open [url]Open browser in session mode (non-blocking)
open [url] --headedShow browser window
open [url] --state Open with saved cookies + localStorage
open [url] --viewport 1280x720Custom viewport size
open [url] --expect-url Fail unless the final URL matches the pattern
open [url] --fail-on-loginFail fast when redirected to a login URL
closeClose browser session
close --allClose all sessions across all workspaces
statusShow session status (URL, title, frame count)
framesList frames: index, name, URL, main marker
doctorDiagnose browser install vs Playwright expected revision
CSS Inspection
CommandDescription
inspect Full CSS diagnosis (computed values, declared values, findings)
inspect --layoutInclude ASCII layout diagram
inspect --briefCompact: tree sketch + warnings/errors only
inspect --jsonStructured JSON output
tree DOM tree structure
layout ASCII layout diagram
findings Only issues/warnings/errors

Inspection commands accept --frame to target an iframe; the default is the main frame.

CSS Injection
CommandDescription
inject-css Inject CSS into current page
Browser
CommandDescription
resize Resize browser viewport
eval Evaluate JavaScript (browser context); DOM nodes are auto-serialized; promises are awaited, undefined fields become null
eval @file / eval -Read the expression from a file or stdin
playwright Execute Playwright API (Node.js context)
screenshotTake screenshot (saves to ~/.cssprobe-cli/screenshots/, --out to override)
Interaction
CommandDescription
click Real mouse click (auto-scroll + actionability wait; works with custom React components)
hover Real mouse hover
type Fill text (replaces value); --press Enter to submit; --sequential for real key events
wait-for Wait for selector state (`--state visible\hidden\attached\detached, --timeout ms`)
wait-for --js " "Wait until a JS predicate is truthy
wait-for --network-idleWait until the page is network-idle (page-level; no --frame)
wait-for ... --frame Wait inside an iframe (selector/js modes)
sample " "Sample an expression over time (--interval, --duration, --key, --frame); returns timeline + summary
wait-stable " "Wait until an expression stops changing (--tolerance, --window, --timeout)
run Run a multi-step flow script

click / hover support --nth N (1-based, default first match), --force (skip actionability checks) and --timeout ms. Without --nth, multiple matches fail (strict) to prevent wrong-target clicks.

State
CommandDescription
state-import Import cookies from Netscape format
state-saveSave current browser session state (cookies + localStorage)
state-checkValidate a state file: cookie count, expiry, target domain coverage (--state, --url)
Configuration
CommandDescription
config-showShow current config
config-set Set config value
config-listList all profiles
config-use Switch active profile
config-new Create new profile
config-pathShow config file path

Multi-step Flows

The interaction commands drive a page step by step; run turns a sequence into a versionable script:

cssprobe-cli open https://example.com/editor

cssprobe-cli wait-for .editor-canvas cssprobe-cli click ".layout-switch" --nth 1 cssprobe-cli type ".block-title input" "Hello" --press Enter cssprobe-cli inspect .block-grid --json cssprobe-cli close

For repeatable flows, write a script and run it with one command. The script runs inside the daemon session (full Playwright page access):

// flow.js

export default async ({ page, context, frames, newPage, click, waitFor, type, inspect, screenshot, expect, log }) => { await page.goto('https://example.com/editor', { waitUntil: 'domcontentloaded' }); await waitFor('.editor-canvas', { state: 'visible', timeout: 10000 });

await click('.layout-switch', { nth: 1 }); await waitFor({ js: "() => document.body.dataset.layout === 'two-col'" });

await type('.block-title input', 'Hello', { press: 'Enter', sequential: true, clear: true }); await waitFor({ networkIdle: true });

const { findings } = await inspect('.block-grid', { format: 'json' }); log('findings:', findings.length); await screenshot({ path: './after-layout-switch.png' });

return { findings: findings.length }; };

cssprobe-cli run ./flow.js        # --timeout ms for the whole script (default 300000, 0 = unlimited)

Scripts must default-export an async function receiving the API object: page, context, frames(), newPage(), click, hover, type, waitFor, inspect, screenshot, expect, log. waitFor accepts { state, timeout, frame }. Uncaught page errors are collected into the result envelope as pageErrors. screenshot relative paths resolve against the script's directory; logs (log() and console.*) are collected and returned with the result. On failure the command exits 1, prints the collected logs, and keeps the session alive.

Scripts are executed by the local daemon with full Node privileges — only run trusted scripts.


Scenario Suites (Regression)

Run repeatable regression cases from a JSON suite: each case opens a fresh browser, executes steps, asserts on saved values, and writes artifacts + an optional JUnit report.

cssprobe-cli scenario run suites/ticket-26571394.json \

--state ~/.cssprobe-cli/states/preprod.json \ --artifacts out/ticket-26571394 \ --junit out/junit.xml

{

"name": "ticket 26571394 preprod", "defaults": { "viewport": { "width": 1280, "height": 800 } }, "cases": [ { "name": "refresh keeps the hash section align

Only the beginning is shown; read the rest in the repo

Ask PopNx