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

@vivek3/browser-agent-mcp

v2.3.0

Published

MCP server that gives AI agents the ability to control a real browser - navigate, click, type, screenshot, and more. Works with Claude Desktop.

Readme

BrowserAgent MCP 🌐

Give AI the ability to browse the web. 37 automation tools for Claude Desktop.

npm version License: MIT

What It Does

BrowserAgent MCP is a Model Context Protocol server that gives AI agents real browser control:

  • 🌐 Navigate to any website
  • 📸 Screenshot pages
  • 🖱️ Click buttons and links
  • ⌨️ Type into forms
  • 📜 Scroll and wait for elements
  • 🤖 AI-powered element finding (optional)

Quick Start

1. Install

npm install -g @vivek3/browser-agent-mcp
npx playwright install chromium

2. Configure Claude Desktop

Add to your claude_desktop_config.json:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "browser-agent": {
      "command": "npx",
      "args": ["@vivek3/browser-agent-mcp"]
    }
  }
}

3. Use It

Restart Claude Desktop and try:

  • "Go to news.ycombinator.com and tell me the top 3 stories"
  • "Take a screenshot of google.com"
  • "Fill out this form..."

All 37 Tools

Core

| Tool | Description | |------|-------------| | browser_navigate | Go to a URL | | browser_screenshot | Capture the page | | browser_click | Click an element | | browser_type | Type text | | browser_get_content | Read page text |

Navigation

| Tool | Description | |------|-------------| | browser_scroll | Scroll up/down | | browser_wait | Wait for element | | browser_back | Go back | | browser_forward | Go forward | | browser_get_url | Get current URL | | browser_get_title | Get page title |

Forms & Interaction

| Tool | Description | |------|-------------| | browser_hover | Hover over element | | browser_select | Choose from dropdown | | browser_check | Toggle checkbox | | browser_upload | Upload file | | browser_eval | Run JavaScript | | browser_get_links | Extract all URLs | | browser_get_html | Get HTML source |

AI-Enhanced (requires Gemini API key)

| Tool | Description | |------|-------------| | browser_smart_click | Click by description | | browser_smart_type | Type by field description | | browser_find_element | Find by natural language | | browser_summarize | AI page summary | | browser_analyze_screenshot | Visual analysis |

Session & Tabs

| Tool | Description | |------|-------------| | browser_get_cookies | Get cookies | | browser_set_cookies | Set cookies | | browser_clear_cookies | Clear cookies | | browser_get_storage | Get localStorage | | browser_set_storage | Set localStorage | | browser_new_tab | Open new tab | | browser_switch_tab | Switch tabs | | browser_close_tab | Close tab | | browser_list_tabs | List all tabs | | browser_save_pdf | Save as PDF |

Monitoring

| Tool | Description | |------|-------------| | browser_capture_requests_start | Monitor network | | browser_get_requests | Get network log | | browser_console_start | Monitor console | | browser_get_console | Get console log | | browser_get_performance | Core Web Vitals | | browser_a11y_check | Accessibility audit |

AI Features (Multiple LLM Options)

Set one of these environment variables:

| Provider | Environment Variable | Free Tier? | |----------|---------------------|------------| | Google Gemini | GEMINI_API_KEY | ✅ Yes | | OpenAI GPT-4 | OPENAI_API_KEY | ❌ Paid | | Anthropic Claude | ANTHROPIC_API_KEY | ❌ Paid | | Ollama (Local) | LLM_PROVIDER=ollama | ✅ Free (local) |

# Example: Use Gemini (free)
set GEMINI_API_KEY=your_key_here

# Example: Use OpenAI
set OPENAI_API_KEY=sk-...

# Example: Use local Ollama
set LLM_PROVIDER=ollama
# Make sure Ollama is running: ollama serve

Auto-detection: If multiple keys are set, priority is: Gemini → OpenAI → Anthropic → Ollama

Security

See SECURITY.md for security policy and considerations.

Key points:

  • browser_eval runs in browser sandbox (safe)
  • No data is logged or stored
  • API keys read from environment only

License

MIT © vv-vivek


⭐ Star this repo if you find it useful!