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

@yuval1024/chrome-mcp

v1.8.0

Published

Chrome browser control via Model Context Protocol (MCP) - control your browser from AI coding assistants

Downloads

504

Readme

Chrome MCP

Control your Chrome browser from AI coding assistants using the Model Context Protocol (MCP).

Features

  • 🌐 Control browser tabs remotely
  • 📸 Take screenshots
  • 🔍 Get tab information
  • 🚀 Navigate tabs
  • 🎯 Create and close tabs
  • 🔒 Secure connection using browser UUID

Installation

npm install -g @yuval1024/chrome-mcp
# or use directly with npx
npx @yuval1024/chrome-mcp

Quick Start

1. Install Chrome Extension

  1. Download the Chrome extension from releases
  2. Load it in Chrome as an unpacked extension
  3. Copy your Browser Secret (UUID) from the extension popup

2. Add to Claude Code

claude mcp add chrome-browser -- npx @yuval1024/chrome-mcp

Or add manually to your .claude.json:

{
  "mcpServers": {
    "chrome-browser": {
      "type": "stdio",
      "command": "npx",
      "args": ["@yuval1024/chrome-mcp"]
    }
  }
}

3. Connect in Claude Code

In your Claude Code conversation, connect to your browser:

// Use the connectToBrowser tool with your browser UUID
connectToBrowser("your-browser-uuid-here")

The UUID is displayed in the Chrome extension popup. Keep it secret!

Available Tools

Once connected, you can use these tools in Claude Code:

  • connectToBrowser(browserSecret) - Connect to your browser
  • getAllTabs() - Get information about all open tabs
  • getCurrentUrl() - Get the URL of the active tab
  • takeScreenshot({ tabId }) - Capture a screenshot
  • navigateTab({ tabId, url }) - Navigate to a URL
  • createTab({ url, windowId }) - Create a new tab
  • closeTab({ tabId }) - Close a tab
  • getConsoleLogs({ tabId }) - Get console logs
  • getDOMSnapshot({ tabId }) - Get DOM structure

Security

  • Your browser UUID acts as a password - keep it secret!
  • Each browser instance has a unique UUID
  • No additional authentication required
  • Communication happens through a secure polling mechanism

Command Line Options

npx @yuval1024/chrome-mcp [options]

Options:
  -s, --server <url>  MCP server URL (default: https://api.browser-mcp.xyz)
  --debug             Enable debug logging
  --version           Show version
  --help              Show help

Troubleshooting

Browser not connecting?

  1. Make sure the Chrome extension is installed and running
  2. Check the extension popup shows "Connected" status
  3. Verify the server URL matches in both extension and CLI

Claude Code can't connect?

  1. Make sure you've added the MCP server to Claude Code
  2. Run connectToBrowser("your-uuid") with the correct UUID
  3. Check Claude Code logs for connection errors

License

MIT

Links