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

secure-browser-mcp

v0.1.0

Published

Security-first browser automation MCP server. Zero telemetry, sensitive data masking, local-only. Powered by Playwright.

Readme

secure-browser-mcp

English | 日本語

Security-first browser automation MCP server. Built on Playwright with a strict local-only policy.

Security Features

| Feature | Detail | |---------|--------| | Zero telemetry | No data leaves your machine. No PostHog, no analytics, no cloud sync | | Sensitive data masking | Credit card numbers, SSNs, and emails are auto-masked in all tool responses | | No external connections | The server never phones home. Fully air-gappable | | No LLM dependency | No API keys, no AI calls. Your MCP client handles reasoning; this server just drives the browser | | No Python required | Pure Node.js. No Python runtime, no pip, no venv |

Why not @playwright/mcp?

| | secure-browser-mcp | @playwright/mcp | |---|---|---| | Telemetry | None | None* | | Sensitive data masking | Built-in (CC, SSN, email) | No | | External connections | Zero | Depends on config | | DOM element stability | data-mcp-index (CSS-independent) | Accessibility snapshots | | Dependencies | Minimal (Playwright + MCP SDK) | Playwright + MCP SDK |

* @playwright/mcp itself has no telemetry, but does not mask sensitive data in responses passed to LLMs.

Quick Start

Install

git clone https://github.com/aliksir/secure-browser-mcp.git
cd secure-browser-mcp
npm install
npx playwright install chromium
npm run build

Configure

Add to your Claude Code MCP settings (~/.claude/settings.json):

{
  "mcpServers": {
    "secure-browser": {
      "command": "node",
      "args": ["/path/to/secure-browser-mcp/dist/index.js"],
      "env": {
        "BROWSER_HEADLESS": "true"
      }
    }
  }
}

Set BROWSER_HEADLESS to "false" to see the browser window.

Available Tools

| Tool | Description | |------|-------------| | browser_navigate | Navigate to a URL (supports new_tab) | | browser_get_state | Get page state with indexed interactive elements | | browser_click | Click by element index or coordinates | | browser_type | Type text into an element (sensitive data auto-masked) | | browser_screenshot | Take a screenshot (viewport or full page) | | browser_scroll | Scroll up or down (80% of viewport) | | browser_go_back | Navigate back in history | | browser_get_html | Get HTML content (full page or CSS selector) | | browser_list_tabs | List all open tabs | | browser_switch_tab | Switch to a tab by ID | | browser_close_tab | Close a tab by ID | | browser_list_sessions | List active browser sessions | | browser_close_session | Close a specific session | | browser_close_all | Close all sessions and browsers |

How Masking Works

When browser_type or browser_get_state processes text, patterns are automatically replaced before the response reaches your MCP client:

| Pattern | Masked as | |---------|-----------| | 4111 2222 3333 4444 | ****-****-****-**** | | 123-45-6789 (SSN) | ***-**-**** | | [email protected] | <email> |

This prevents sensitive data from being sent to LLM context windows where it could be logged or cached.

Design Decisions

  • Zero external connections — no telemetry, no cloud sync, no analytics. Everything stays local
  • No LLM dependency — this server doesn't call any AI APIs. Your MCP client handles all reasoning
  • Lazy session cleanup — sessions expire after 30 minutes of inactivity, checked on each tool call (no background timers)
  • Viewport-first element indexing — elements currently visible in the viewport are prioritized and indexed first
  • data-mcp-index over CSS selectors — injected attributes are stable across page re-renders, unlike CSS selectors that break with DOM changes

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | BROWSER_HEADLESS | true | Set to false to show the browser window |

License

MIT