Pagerunner — The Browser Layer That Learns
io.github.EnreignPublished by GitHub account Enreignv0.8.0Updated Oct 27, 2026
Real Chrome profiles with site intelligence — already logged in, PII anonymization, sessions persist
Overview
Chrome automation MCP server that drives a real Chrome session using your existing profiles, cookies and logins, with optional PII anonymization.
- What you can do
- Manage Chrome sessions and tabs: list profiles, open, attach or close sessions, open and close tabs
- Navigate and read pages: go to URLs, wait for selectors, get visible text, take screenshots, run JavaScript
- Interact with pages: click, type, fill forms with framework-aware events, select dropdown options, scroll
- Save and restore state: encrypted cookie/localStorage snapshots, tab state, and full session checkpoints
- Store data and inspect traffic: a persistent key-value store, plus network and console logs
- Site intelligence: inspect learned site knowledge, register and call JS adapters against site APIs, and generate adapters from network traffic
- When to use it
- Useful when an assistant should work inside a browser you are already logged into — filling forms, walking multi-step flows, scraping pages behind a login, or calling a site's own API with your session. Also handy for saving and restoring authenticated tab state between sessions.
- Requirements
- Runs locally as a stdio process; the README installs it via Homebrew, Cargo or a pre-built binary, though the manifest lists an npm package. Requires Chrome with at least one profile, initialized via the init command, and the mcp subcommand when registering. The adapter-generation tool needs an ANTHROPIC_API_KEY. Optional NER name detection needs a separate build feature and a roughly 65MB model download. macOS menu bar app is optional.
Installation
In SourceWeft
- Open Pagerunner — The Browser Layer That Learns in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Pagerunner
[CI] [Release] [License: MIT] [Rust 1.91+]
A Chrome browser automation MCP server. Connect Claude (or any MCP client) to a real Chrome session — using your existing profiles with their cookies, saved passwords, and history.
[!WARNING] Pagerunner is early-stage software (v0.x). APIs and configuration formats may change between releases.
Contents
- How it works
- Setup
- Using with your project
- Tools
- Site Intelligence
- Session Checkpoints
- macOS Menu Bar App
- Anonymization (PII protection)
- Stealth mode
- Daemon (multiple Claude Code sessions / persistent state)
- Snapshots
- Example session
- Legal & Responsible Use
How it works
Pagerunner launches Chrome with your existing user profile via CDP (Chrome DevTools Protocol) and exposes it as an MCP server over stdin/stdout. Claude can then navigate, click, type, screenshot, and run JavaScript in the live browser.
Setup
1. Install
2. Auto-detect Chrome profiles
This reads Chrome's profile list and writes ~/.pagerunner/config.toml automatically.
Run pagerunner status to verify.
Alternatively, write ~/.pagerunner/config.toml by hand — see pagerunner example-config for the format.
3. Register as MCP server
For Claude Desktop, add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Note: The
mcpsubcommand is required — registering just the binary path withoutmcpwill not work.Note: Chrome locks profile directories. Close any Chrome window using a profile before opening a Pagerunner session on it.
4. Set up in your project (optional)
In any project directory with a CLAUDE.md or AGENTS.md:
Pagerunner prints a ready-to-use usage snippet and offers to append it to your project file automatically. For scripting: pagerunner init --json.
5. (Optional, --features ner builds only) Download the NER model
Using with your project
Copy the example agent instructions into your project root so Claude (or any agent) immediately knows how to use Pagerunner:
Or paste the content manually and extend it with project-specific instructions.
Using Pagerunner with Claude Code
For comprehensive guidance, workflows, and examples tailored to 4 different use cases, install the Pagerunner Skill:
Or explore the skill repository directly: pagerunner-skill
The skill includes:
- Quick starts for 4 ICPs: Solo Developer, Power User, Security-Conscious, Server-Side
- 11 workflow patterns: form filling, authentication, scrolling, multi-step interactions
- Complete reference: all 38 tools with parameters and examples
- Security guide: PII anonymization, audit logging, encryption
- Real-world examples: end-to-end workflows with error handling
- Troubleshooting: common issues and solutions
Start with the skill's SKILL.md to find your use case and quick start path.
Tools
Sessions & tabs
Navigation & content
Interactions
Snapshots & tab state
Key-value store
Network & console
Site intelligence
Session checkpoints
Site Intelligence
Pagerunner learns about sites as you use them and can call site APIs directly using your session credentials — no separate auth setup required.
Adapters are short JS functions stored in the encrypted DB and executed in the browser tab. Use them to call APIs that a site exposes (typically the same API the web UI uses):
Seed adapters for GitHub, Linear, Jira, Notion, and Gmail are built in.
Auth token detection — Bearer tokens, API keys, and session cookies discovered in network traffic are stored in the encrypted site vault. Adapters automatically have access to them via the credentials argument.
Selector stability — click, fill, and select track success/failure rates per selector. A fragility warning appears in the tool response when a selector fails >30% of the time over ≥5 uses.
Session Checkpoints
Save complete browser state (all open tabs with URLs and scroll positions) and restore it in any future session:
Checkpoints are stored in the encrypted DB and scoped to a profile.
macOS Menu Bar App
A native Swift companion app lives at apps/menubar/. It shows all Chrome profiles, active sessions, open tabs, and daemon status from the menu bar — no terminal required.
Features:
- One-click open/close sessions and save checkpoints
- Agent profiles shown with a distinct CPU icon in a separate section
- Add Profile flow: discovers unconfigured Chrome profiles or creates new agent profiles
- macOS native notifications: daemon stopped, session crashed, checkpoint saved
- Global hotkey and auto-update via Sparkle 2.x
Build and run:
Anonymization (PII protection)
Pass anonymize: true to open_session to strip PII from all get_content and evaluate
results before they reach Claude. Screenshots are blocked in anonymization mode.
Detected by default: EMAIL, PHONE, CREDIT_CARD, IBAN, SSN, IP
With --features ner build: also detects PERSON and ORG names via a local ONNX model
Modes
- tokenize (default): replaces PII with tokens like
[EMAIL:a3f9b2]. Pass tokens back tofill/type_text— Pagerunner de-tokenizes before writing to the DOM. - redact: one-way replacement with
[EMAIL]— no vault, no de-tokenization.
NER setup (PERSON and ORG name detection)
Disable globally in ~/.pagerunner/config.toml:
Stealth mode
Pass stealth: true to open_session to enable anti-detection: hides automation signals, injects scripts to mask navigator.webdriver, and adds human-like delays between inputs.
Example session
Daemon (multiple Claude Code sessions / persistent state)
By default each pagerunner mcp process opens the database directly — only one can run at a time. If you open Pagerunner in a second Claude Code window you'll hit a DB lock error.
Start the daemon once to share state across any number of sessions:
Each pagerunner mcp instance automatically detects the daemon, connects to it over a Unix socket (~/.pagerunner/daemon.sock), and proxies all tool calls through it. All Claude Code windows share the same open browsers, KV store, and snapshots.
To stop:
Install as a background service (starts at login, restarts on crash):
The script detects your installed pagerunner binary automatically. Logs at ~/.pagerunner/daemon.log.
Note: After installing the daemon service, restart Claude Code. On the next launch, the daemon starts first (via launchd) and the MCP server connects to it in proxy mode. If Claude Code is already running when you install the daemon, you need two restarts: one to let launchd start the daemon, and one for the MCP server to reconnect to it.
Snapshots
Save authenticated browser state to the encrypted local DB:
Restore it in any future session:
Snapshots are encrypted with AES-256-GCM. The key is stored in macOS Keychain under pagerunner / db_key — never written to disk in plaintext.
Legal & Responsible Use
Pagerunner automates a browser you own, using your own credentials. You are responsible for complying with the Terms of Service of any website you automate, applicable data protection laws (GDPR, CCPA), and authorized-access requirements (CFAA and equivalents).
Using anonymize: true is recommended for any workflow that involves processing personal
data belonging to other people.
See DISCLAIMER.md for the full legal disclaimer, limitation of liability, and responsible use obligations.
If this project helps you, star the repo — it helps others find it.
Source: README.md at commit 1d22837
Tools
0Version history
1- v0.8.0LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
