# leapfrog

A browser MCP server with 15 isolated sessions and 36 tools. Page snapshots come back compact, so your context lasts longer.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: anthonybono21-cloud
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/anthonybono21-cloud/leapfrog
- Updated: 2026-04-09
- HTML: https://affpapa.org/en/nevibecode/mcp/leapfrog

## What it does

Leapfrog runs up to 15 browser sessions side by side, each in its own context. The 36 tools cover navigation, snapshots, network interception, console capture, file upload and drag-and-drop. Snapshots are trimmed hard, so a content-heavy page costs far fewer tokens than the same page through Playwright MCP. Dense forms save the least.

No browser ships with the package. It depends on `playwright-core`, so pick a source first: set `LEAP_CHANNEL=chrome` to reuse your installed Chrome, run `npx playwright-core install chromium` for a separate binary, or point `LEAP_CDP_ENDPOINT` at a Chrome instance that is already running. Skip this and the server has nothing to drive.

Stealth is on by default with 19 patches, and you can switch modes: `true`, `passive`, `auto` or `false`. Pages get classified into 18 types, which shapes what a snapshot surfaces. Sessions keep memory, cookies survive restarts, and the harness flags loops and bot redirects. Humanization stays off unless you set `LEAP_HUMANIZE=true`, and it slows every action down.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add leapfrog -- npx -y leapfrog-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add leapfrog -- npx -y leapfrog-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "leapfrog": {
            "command": "npx",
            "args": [
                "-y",
                "leapfrog-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "leapfrog": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "leapfrog-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add leapfrog npx -y leapfrog-mcp
```

## When to use it
- run 15 browser sessions at once without mixing their state
- snapshot a page without burning half the context window
- get past anti-bot checks on sites that fingerprint visitors
- capture network traffic and console output while debugging a flow
- recall what the agent did after context compression

## Example prompts
- Open `example.com` in a new session and snapshot only the article headlines.
- Create a session with `stealth: false` and log in to the staging site.
- Show me what this session did: recent actions and how they turned out.

## Similar
- [invisible_playwright_mcp](https://affpapa.org/en/nevibecode/mcp/invisible-playwright-mcp.md) — MCP server · ★ 884
- [Browser Automation](https://affpapa.org/en/nevibecode/skills/claude-office-skills-browser-automation.md) — skill · 5200 installs
- [safe-browser](https://affpapa.org/en/nevibecode/skills/safe-browser.md) — skill · 1700 installs
- [lightpanda](https://affpapa.org/en/nevibecode/skills/lightpanda.md) — skill · 1300 installs
- [agent-browser](https://affpapa.org/en/nevibecode/skills/brianlovin-agent-browser.md) — skill · 2800 installs
- [dev-browser](https://affpapa.org/en/nevibecode/skills/dev-browser.md) — skill · 2500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
