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

mcp-browser-screenshot

v1.0.0

Published

MCP server for taking browser screenshots using Playwright. Navigate, click, type, evaluate JS, and capture screenshots from any URL.

Readme

mcp-browser-screenshot

An MCP (Model Context Protocol) server that lets AI assistants take browser screenshots using Playwright. Navigate to URLs, interact with pages, and capture screenshots — all from your AI chat.

Tools

| Tool | Description | |------|-------------| | browser_screenshot | Navigate to a URL and take a screenshot. Supports custom viewport, full-page capture, element-specific screenshots, and wait options. | | browser_click | Click an element by CSS selector, then capture a screenshot. | | browser_type | Type text into an input field by CSS selector, then capture a screenshot. | | browser_eval | Execute JavaScript in the browser and return the result. |

Quick Start

VS Code / Copilot

Add to .vscode/mcp.json:

{
  "servers": {
    "browser-screenshot": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-browser-screenshot"]
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "browser-screenshot": {
      "command": "npx",
      "args": ["-y", "mcp-browser-screenshot"]
    }
  }
}

Setup

After first run, install Playwright's Chromium browser:

npx playwright install chromium

Tool Reference

browser_screenshot

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | url | string | required | URL to navigate to | | width | number | 1440 | Viewport width in pixels | | height | number | 900 | Viewport height in pixels | | fullPage | boolean | false | Capture full scrollable page | | selector | string | — | CSS selector to screenshot a specific element | | waitForSelector | string | — | Wait for this selector before capturing | | waitForTimeout | number | 1000 | Extra wait time in ms after page load |

browser_click

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | selector | string | required | CSS selector of element to click | | waitAfterClick | number | 1000 | Wait time in ms after clicking |

browser_type

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | selector | string | required | CSS selector of the input element | | text | string | required | Text to type (clears field first) |

browser_eval

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | script | string | required | JavaScript to execute in the page |

License

MIT