pagerunner
The browser layer that learns. Connects any MCP client to your real Chrome profiles — already logged in, with site intelligence that compounds over time. Sessions survive restarts. PII anonymization, encrypted state, macOS menu bar, multi-session daemon.
Install / Use
claude mcp add Enreign -- npx -y github:Enreign/pagerunnerIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of pagerunner
pagerunner scores 83/100 on our quality scale, 571st of 1,008 Automation skills we index.
Its MCP Server is 15 KB long, well organised into 44 sections with 21 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 12 days ago, so pagerunner is actively maintained.
- Our last check on 2026-09-16 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-25. Automated pattern scan on 2026-09-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
pagerunner compared with similar skills
All 4 of these similar skills score higher than pagerunner; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| pagerunner (this skill)by Enreign | 83 | 3 | 12d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 85.3k | 9d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 73.7k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.2k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.1k | today | CLAUDE.md |
Frequently asked questions
- How do I install pagerunner?
- Run
claude mcp add Enreign -- npx -y github:Enreign/pagerunner. The install tabs above show the steps for each supported agent. - Which AI agents does pagerunner work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is pagerunner safe to use?
- Our scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is pagerunner still maintained?
- The repository was last updated 12 days ago, so pagerunner is actively maintained.
Skill content
View source on GitHubPagerunner
<p align="center"> <a href="https://github.com/Enreign/pagerunner/actions/workflows/ci.yml"><img src="https://github.com/Enreign/pagerunner/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://github.com/Enreign/pagerunner/releases/latest"><img src="https://img.shields.io/github/v/release/Enreign/pagerunner" alt="Release"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a> <img src="https://img.shields.io/badge/rust-1.91%2B-orange" alt="Rust 1.91+"> </p>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
# Option A — Homebrew (easiest on macOS/Linux):
brew tap enreign/pagerunner
brew install pagerunner
# Option B — Cargo (if you have Rust):
cargo install pagerunner
# Note: if you get "requires rustc 1.91+" despite having a newer Rust installed,
# Homebrew's Rust may be shadowing rustup's. Fix: export PATH="$HOME/.cargo/bin:$PATH"
# Option C — Pre-built binary (no dependencies):
# macOS arm64 (Apple Silicon):
curl -L https://github.com/Enreign/pagerunner/releases/latest/download/pagerunner-macos-arm64 \
-o pagerunner && chmod +x pagerunner
# macOS x86_64 (Intel):
curl -L https://github.com/Enreign/pagerunner/releases/latest/download/pagerunner-macos-x86_64 \
-o pagerunner && chmod +x pagerunner
# Linux x86_64:
curl -L https://github.com/Enreign/pagerunner/releases/latest/download/pagerunner-linux-x86_64 \
-o pagerunner && chmod +x pagerunner
# macOS: if Gatekeeper blocks the binary on first run:
xattr -d com.apple.quarantine pagerunner
# Option B — install via cargo (requires Rust):
cargo install --git https://github.com/Enreign/pagerunner --locked
# Option C — build locally:
cargo build --release
2. Auto-detect Chrome profiles
pagerunner init
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
# If installed (Options A or B — binary is in PATH):
claude mcp add pagerunner "$(which pagerunner)" mcp
# If built locally (Option C):
claude mcp add pagerunner "$(pwd)/target/release/pagerunner" mcp
For Claude Desktop, add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"pagerunner": {
"command": "/absolute/path/to/pagerunner",
"args": ["mcp"]
}
}
}
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 init
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
pagerunner download-model # ~65MB, enables PERSON/ORG name detection
Using with your project
Copy the example agent instructions into your project root so Claude (or any agent) immediately knows how to use Pagerunner:
# Claude Code projects:
curl -sL https://raw.githubusercontent.com/Enreign/pagerunner/main/docs/examples/CLAUDE.md -o CLAUDE.md
# Other agents (Gemini, Codex, etc.):
curl -sL https://raw.githubusercontent.com/Enreign/pagerunner/main/docs/examples/AGENTS.md -o AGENTS.md
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:
# Install the skill (once available in skills.sh registry)
claude skill install 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
| Tool | Description |
|---|---|
| list_profiles | List configured Chrome profiles |
| open_session | Launch Chrome for a profile, returns session_id |
| attach_session | Attach to an existing Chrome instance via --remote-debugging-port |
| close_session | Kill a Chrome session |
| list_sessions | List active sessions |
| list_tabs | List open tabs in a session |
| new_tab | Open a new tab, returns target_id |
| close_tab | Close a specific tab |
Navigation & content
| Tool | Description |
|---|---|
| navigate | Navigate a tab to a URL |
| wait_for | Wait for a CSS selector, URL pattern, or fixed delay |
| get_content | Get visible text content of a tab |
| screenshot | Capture a tab as PNG (saved to temp file or inline base64) |
| evaluate | Run JavaScript in a tab, returns the result |
Interactions
| Tool | Description |
|---|---|
| click | Click an element by CSS selector |
| type_text | Type text at the focused element or a given selector |
| fill | Set input value with React/Vue/Angular synthetic events |
| select | Choose a dropdown option by value |
| scroll | Scroll the page by pixels or scroll an element into view |
Snapshots & tab state
| Tool | Description |
|---|---|
| save_snapshot | Save current page cookies/localStorage to the encrypted DB |
| restore_snapshot | Restore a saved snapshot into the current tab |
| list_snapshots | List saved snapshots (optionally across all profiles) |
| delete_snapshot | Delete a saved snapshot |
| save_tab_state | Save all open tab URLs to the DB |
| restore_tab_state | Reopen the previously saved tabs |
Key-value store
| Tool | Description |
|---|---|
| kv_set | Store a value in a persistent namespace |
| kv_get | Retrieve a value by key |
| kv_delete | Delete a key |
| kv_list | List keys in a namespace (with optional prefix filter) |
| kv_clear | Delete all keys in a namespace |
Network & console
| Tool | Description |
|---|---|
| get_network_log | Inspect HTTP requests captured in a session |
| get_console_log | Capture JavaScript console output from a tab |
Site intelligence
| Tool | Description |
|---|---|
| get_site_knowledge | Inspect what Pagerunner has learned about a site (adapters, auth tokens, selector health) |
| register_adapter | Store a JS adapter for direct API calls against a site |
| call_site_api | Execute a stored adapter in the browser tab |
| generate_adapter | Auto-generate a JS adapter from network traffic using Claude (requires ANTHROPIC_API_KEY) |
Session checkpoints
| Tool | Description |
|---|---|
| save_session_checkpoint | Save full tab state (URLs + scroll positions) for all tabs in a session |
| restore_session_checkpoint | Reopen all saved tabs and navigate to stored URLs |
| list_session_checkpoints | List saved checkpoints for a profile |
| delete_session_checkpoint | Remove a checkpoint by ID |
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):
register_adapter(origin="https://github.com", name="list-issues",
description="List open issues for a repo",
js_code="async ({owner, repo}) => { const r = await fetch(...); return r.json() }")
call_site_api(session_id, target_id, origin="https://github.com",
name="list-issues", params={"owner": "Enreign", "repo": "pagerunner"})
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:
save_session_checkpoint(session_id, name="before-review")
→ checkpoint_id: cp_abc123
restore_session_checkpoint(session_id, checkpoint_id="cp_abc123")
→ reopens all saved tabs at their stored URLs
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:
pagerunner daemon &
cd apps/menubar
bash scripts/package.sh # builds + bundles into scripts/Pagerunner.app
open scripts/Pagerunner.app
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.
{ "tool": "open_session", "profile": "personal", "anonymize": true }
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)
# 1. Build with NER support:
cargo build --release --features ner
# 2. Download the model (on
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
85.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.2k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
CowAgent
47.1kOpen-source super AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
