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

leapfrog

v0.2.0

Published

Multi-session browser MCP for AI agents — 19 tools, up to 10x fewer tokens than Playwright, stealth mode

Readme


The Problem

Playwright MCP sends ~14,000 tokens for a content-heavy page like Hacker News. Most of that is noise. Your context window fills up. Your agent gets confused. You pay for it.

Leapfrog sends ~1,400 tokens. Same page. Same information. Up to 10x less noise.

┌─────────────────────────────────────────────────────┐
│  Playwright MCP                                     │
│  ████████████████████████████████████████  ~14,000   │
│                                                     │
│  Leapfrog                                           │
│  █████                                    ~1,400    │
└─────────────────────────────────────────────────────┘
          tokens per page (Hacker News, real test)

Savings range from 2-10x depending on page complexity. Content-heavy pages see the biggest wins. Dense forms see the smallest. The median across real-world sites is ~4-5x.

Quick Start

npx leapfrog --doctor   # verify everything works
npx leapfrog --config   # print MCP config to paste

Add to ~/.mcp.json (Claude Code) or your editor's MCP config:

{
  "leapfrog": {
    "command": "npx",
    "args": ["-y", "leapfrog"],
    "env": {
      "LEAP_MAX_SESSIONS": "15"
    }
  }
}

Chromium installs automatically. If it fails: npx playwright install chromium

Feature Matrix

| | Leapfrog | Playwright MCP | agent-browser | |---|:---:|:---:|:---:| | Tokens per page | ~1,200-2,500 | ~3,800-15,000 | ~300 | | Parallel sessions | 15 | 1 | 1 | | Session isolation | Yes | No | No | | Multi-tab / popups | Yes | No | No | | Network intercept | Yes | No | No | | Console capture | Yes | Yes | No | | Stealth / anti-bot | Yes | No | No | | Smart wait (5 types) | Yes | Basic | No | | Crash recovery | Yes | No | No | | Auth profile reuse | Yes | No | No | | SSRF protection | Yes | No | No |

The Ecosystem

Leapfrog uses pond metaphors to keep things memorable. Your agent is the frog.

| Concept | Leapfrog term | What it means | |---|---|---| | Sessions | Ponds | Isolated browser contexts — cookies, storage, state | | Tabs | Lily pads | Where the frog lands within a pond | | Navigate | Leap | Jump to a URL, get a compact snapshot back | | Snapshots | Surface | What you see on the surface — interactive @eN refs | | Network traffic | Ripple | HTTP requests flowing under the surface | | Console errors | Croak | Something went wrong in the browser | | Stealth mode | Camouflage | Anti-bot evasion patches |

All 19 Tools

Pond Management (7)

| Tool | What it does | |---|---| | session_create | Open a new pond — isolated cookies, state, viewport | | session_destroy | Drain a pond and free the slot | | session_list | See all active ponds with URLs and idle times | | session_save_profile | Save auth state to disk for future ponds | | session_list_profiles | List saved auth profiles | | pool_status | Pool stats, memory, uptime | | session_health | Is the pond healthy? Browser connected, page responsive? |

Navigation & Snapshots (6)

| Tool | What it does | |---|---| | navigate | Leap to a URL, return a compact @eN snapshot | | snapshot | Re-read the surface (scope with CSS selector) | | act | Click, fill, type, check, select, press, scroll, hover, back, forward | | wait_for | Wait for element / text / network idle / navigation / JS expression | | screenshot | Capture PNG (full page or element) | | extract | Pull text, HTML, title, URL, or evaluate JS |

Tab Management (3)

| Tool | What it does | |---|---| | tabs_list | List all pads in a pond | | tab_switch | Hop to another pad (-1 for most recent popup) | | tab_close | Close a pad (can't close the last one) |

Network Intelligence (3)

| Tool | What it does | |---|---| | network_log | See HTTP traffic — filter by URL, method, status, content-type | | console_log | Read browser console output, filtered by level | | network_intercept | Block, mock, or log requests by URL pattern |

Environment Variables

| Variable | Default | Description | |---|---|---| | LEAP_MAX_SESSIONS | 15 | Max concurrent sessions | | LEAP_IDLE_TIMEOUT | 300000 | Session idle timeout in ms (5 min) | | LEAP_HEADLESS | true | Set false to watch the browser | | LEAP_ALLOW_JS | true | Allow JS evaluation in extract and wait_for | | LEAP_STEALTH | true | Stealth mode (anti-bot evasion) | | LEAP_LOG_LEVEL | info | debug / info / warn / error |

Tests

 74 passing across 5 suites

Session management, snapshot engine, network intelligence, tab management, security (SSRF, URL scheme blocking, path traversal).

npm test

Requirements

  • Node.js >= 18
  • Chromium (auto-installed via Playwright)

License

MIT