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

crawl-mcp

v1.0.2

Published

MCP server to fetch raw HTML content from Chrome pages via Chrome DevTools Protocol

Readme

CrawlMCP

License: Apache-2.0 Node.js MCP Server npm

A Model Context Protocol (MCP) server that fetches raw HTML content from Chrome pages via the Chrome DevTools Protocol. Designed to complement chrome-devtools-mcp by providing HTML extraction capabilities.

Features

  • get_page_html: Fetch the complete raw HTML of any open Chrome page, or extract HTML of specific elements using CSS selectors
  • list_chrome_pages: List all open pages in Chrome available for HTML extraction

Prerequisites

  • Node.js 18+
  • Chrome/Chromium running with remote debugging enabled

Start Chrome with Remote Debugging

# Windows
chrome.exe --remote-debugging-port=9222

# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

# Linux
google-chrome --remote-debugging-port=9222

Installation

npm install
npm run build

Usage

Configure in VS Code (Copilot)

Add to your VS Code settings.json:

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

Configure in Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "crawl-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "crawl-mcp"
      ]
    }
  }
}

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | CDP_HOST | localhost | Chrome DevTools Protocol host | | CDP_PORT | 9222 | Chrome DevTools Protocol port |

Tools

get_page_html

Fetches raw HTML content from an open Chrome page.

Parameters:

  • pageIndex (number, optional): Page index (0-based). Defaults to 0.
  • selector (string, optional): CSS selector to get HTML of a specific element.

Examples:

Get full page HTML:

Use the get_page_html tool to fetch the HTML from the first Chrome tab

Get specific element:

Use get_page_html with selector "#main-content" to get only that section

list_chrome_pages

Lists all open pages accessible via Chrome DevTools Protocol.

Returns: Array of objects with index, title, and url.

Using with chrome-devtools-mcp

This MCP is designed to work alongside chrome-devtools-mcp. Use chrome-devtools-mcp for:

  • Navigation and page interaction
  • Taking screenshots and snapshots
  • Console and network monitoring

Use CrawlMCP for:

  • Extracting raw HTML source code
  • Getting HTML of specific DOM elements

License

MIT