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

neobrowser

v3.4.0

Published

AI Browser MCP Server — give your AI agent a real Chrome browser with session persistence

Readme

NeoBrowser

MCP server that gives AI agents a real browser. One Python file. One dependency. Your session already loaded.


Install

npx neobrowser

Requires Python 3.10+ and Chrome.

Run npx neobrowser doctor to check everything is set up.


Configure

Claude Code (~/.claude/mcp.json):

{
  "neo-browser": {
    "command": "npx",
    "args": ["-y", "neobrowser"]
  }
}

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "neo-browser": {
      "command": "npx",
      "args": ["-y", "neobrowser"]
    }
  }
}

Configuration

NeoBrowser works with zero configuration. These environment variables unlock additional features:

| Variable | What it does | |---|---| | OPENAI_API_KEY | ChatGPT via API (reliable, replaces fragile browser automation) | | XAI_API_KEY | Grok via API (reliable, replaces fragile browser automation) | | NEOBROWSER_CONTENT_PROCESS | Set to 1 to process web content through claude -p --model haiku before returning | | NEOBROWSER_COOKIE_DOMAINS | Comma-separated domain allowlist for cookie sync (e.g. github.com,twitter.com) | | NEOBROWSER_PROFILE | Chrome profile directory to sync from (default: Profile 24) |

Without these, NeoBrowser uses browser-based chat (experimental) and returns raw content.


What it does

Example 1: Search and read

You: search for "rust async runtime" and open the first result
→ neo-browser calls search("rust async runtime") → 5 results in 0.9s
→ then open(first_url) → page content in 1.2s

Example 2: Fill a form

You: go to httpbin.org/forms/post and fill the form with test data
→ neo-browser calls open(url) → page loaded in 0.9s
→ then fill(5 fields) → filled in <0.01s
→ then submit() → form submitted

Example 3: Ask ChatGPT

You: ask ChatGPT what it thinks about MCP servers
→ neo-browser opens dedicated ChatGPT tab (first time: ~10s)
→ types message, sends, waits for response
→ returns ChatGPT's answer via conversation API

Tools (19)

HTTP — no Chrome required

| Tool | Description | |---|---| | browse | Fast HTTP fetch + smart parse (~0.1–0.8s) | | search | DuckDuckGo web search (~1s) |

Chrome browsing

| Tool | Description | |---|---| | open | Navigate to URL in Ghost Chrome | | read | Extract content: markdown, a11y tree, tweets, posts, tables, products | | find | Find element by text, CSS, XPath, or ARIA role | | click | Click by text or CSS selector | | type | Type in input — finds field by label, placeholder, name, or aria-label | | fill | Smart fill: inputs, textareas, selects, checkboxes, radios | | submit | Submit form | | scroll | Scroll page | | wait | Wait for element or text to appear | | login | Automated email + password login | | extract | Extract tables or links | | screenshot | Capture PNG | | js | Execute arbitrary JavaScript |

AI Chat — dedicated persistent tabs

| Tool | Description | |---|---| | gpt | ChatGPT: send, read_last, is_streaming, history | | grok | Grok: send, read_last, is_streaming, history |

Meta

| Tool | Description | |---|---| | plugin | Run, list, or create YAML automation pipelines | | status | Chrome state, open tabs, PIDs |


How it works

  • Ghost Chrome: headless Chrome per MCP process, isolated profile, deleted on exit
  • Session sync: cookies + localStorage + IndexedDB copied from your real Chrome at startup
  • Dual path: browse uses HTTP for static pages, open uses Chrome CDP for SPAs and auth-gated pages
  • No Selenium, no Playwright, no chromedriver — raw CDP over WebSocket, one websockets dependency

Session & Security

What gets copied at startup:

  • Cookies from your Chrome profile (SQLite, read-only, WAL-safe)
  • localStorage entries
  • IndexedDB databases
  • SessionStorage

What's excluded by default:

  • Google domains: .google.com, .googleapis.com, .youtube.com, .gmail.com
  • Reason: Google detects duplicate sessions and logs out your real browser

Which profile:

  • Default: the profile set in the PROFILE constant in neo-browser.py (currently Profile 24)
  • Logged on startup: [neo] Session sync from Profile 24: 5332 cookies kept, 398 Google excluded

What's NOT shared:

  • Passwords — never copied
  • Autofill data — never copied
  • Browsing history — never copied
  • The ghost profile is deleted on exit

Control:

  • To change profile: set NEOBROWSER_PROFILE env var (or PROFILE constant in neo-browser.py)
  • To sync only specific domains: set NEOBROWSER_COOKIE_DOMAINS=github.com,twitter.com
  • To exclude more domains by default: add to EXCLUDED_DOMAINS tuple
  • To disable session sync: remove the real Chrome profile path

Benchmarks

All times wall-clock, macOS, measured with benchmark.py.

Cold start:      1.6s    (Chrome launch + cookie sync, one-time per session)
19 operations:   7.1s    (0.37s avg)
ChatGPT:        33.0s    (mostly LLM server response time)

Per operation, warm:

browse (HTTP)        0.11–0.77s
open (Chrome)        0.48–1.32s
read                 0.10s avg
fill / find / click  <0.01s
screenshot           0.12s
search (DDG)         0.94s

Limitations

  • ChatGPT response times vary (5–60s+) — server dependent, not NeoBrowser overhead
  • Cookie sync is one-time at startup — cookies set later in your real Chrome are not reflected
  • CDP insertText doesn't work in dedicated chat tabs (uses DOM fallback instead)
  • macOS tested, Linux should work, Windows not tested
  • Some enterprise WAFs may still block despite real Chrome UA

Tests

# Unit tests (pure functions, no Chrome, ~0.1s)
python3 -m pytest tools/v3/tests/ -q

# Operational tests (real Chrome, ~9s)
python3 -m pytest tools/v3/tests/operational/ -q

# All 150 tests
python3 -m pytest tools/v3/tests/ tools/v3/tests/operational/ -q

CLI

neo-browser.py              Start MCP server
neo-browser.py --help       Show help
neo-browser.py --version    Show version
neo-browser.py doctor       Check dependencies (9 checks)

License

MIT


Links

  • npm: https://www.npmjs.com/package/neobrowser
  • GitHub: https://github.com/pitiflautico/neobrowser
  • Landing: https://pitiflautico.github.io/neobrowser