npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

domsight-mcp

v0.1.0

Published

Give your AI coding assistant eyes. MCP server that lets Claude Code, Cursor, and other AI tools see and control your browser — capture DOM, console errors, screenshots, fill forms, click buttons, and test user flows.

Readme

domsight-mcp

Give your AI coding assistant eyes. DOMSight is an MCP server that lets AI tools like Claude Code see and control your browser in real-time.

Your AI can now:

  • See console errors without you copy-pasting them
  • Take screenshots of your app and tell you what's wrong
  • Fill out forms, click buttons, and test full user flows
  • Inspect elements, read the DOM, and debug layout issues

Quick Start

1. Install

npm install -g domsight-mcp
npx playwright install chromium

2. Add to your project

Create or edit .mcp.json in your project root:

{
  "mcpServers": {
    "domsight": {
      "command": "domsight-mcp"
    }
  }
}

3. Use it

Start your dev server, open Claude Code, and just ask:

"Connect to localhost:3000 and check for any errors"

"Take a screenshot of the dashboard"

"Fill out the signup form and test if registration works"

"The login button isn't working — can you check why?"

Claude Code will use DOMSight's tools automatically. No copy-pasting, no manual DevTools.

Available Tools

| Tool | Description | |---|---| | connect_to_url | Launch a browser and navigate to a URL | | capture_dom | Capture visible text, console errors, network errors, and rendered HTML | | take_screenshot | Take a full-page screenshot (returned as image) | | inspect_element | Inspect elements by CSS selector — get styles, bounding box, HTML | | click_element | Click any element on the page | | type_text | Type into input fields (forms, search bars, etc.) | | navigate | Navigate to a new URL without reconnecting | | select_option | Select from dropdown menus | | wait_for | Wait for elements to appear or a fixed delay | | get_console_errors | Get all console errors and warnings | | get_network_errors | Get all failed network requests (4xx, 5xx) | | disconnect | Close the browser |

Example: Automated Registration Test

Here's what Claude Code did with DOMSight on a real Next.js + Express app:

  1. Connected to localhost:3000/signup
  2. Filled 8 form fields (company name, email, password, etc.)
  3. Took a screenshot to verify
  4. Clicked "Get Started"
  5. Waited for OTP page
  6. Verified redirect to dashboard

All automated. Zero manual intervention.

Requirements

  • Node.js 18+
  • Chrome or Chromium (installed via npx playwright install chromium)
  • An MCP-compatible AI tool (Claude Code, Cursor, etc.)

How It Works

DOMSight launches a headless Chromium browser via Playwright, connects to your local dev server, and exposes browser capabilities as MCP tools. Your AI assistant calls these tools directly — it can see the page, read errors, interact with elements, and take screenshots.

Your App (localhost:3000)
        |
        v
Playwright Headless Browser
        |
        v
DOMSight MCP Server (stdio)
        |
        v
Claude Code / Cursor / AI Assistant

License

MIT