Getting started

Run the MCP server, point your AI client at it, load the extension.

1. Run the MCP server

The simplest path is npx — no install needed. Your AI client will spawn the server for you on demand:

npx -y @peekdev/mcp

This runs the stdio MCP server (it reads and writes the local SQLite at ~/.peek/sessions.db). You generally won't invoke it directly — your AI client (next step) does that.

2. Configure your AI client

Add peek as an MCP server in your client's config. Pick the one you use:

Claude Code — ~/.claude.json

{
  "mcpServers": {
    "peek": {
      "command": "npx",
      "args": ["-y", "@peekdev/mcp"]
    }
  }
}

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "peek": {
      "command": "npx",
      "args": ["-y", "@peekdev/mcp"]
    }
  }
}

VS Code Copilot — .vscode/mcp.json

{
  "servers": {
    "peek": {
      "command": "npx",
      "args": ["-y", "@peekdev/mcp"]
    }
  }
}
Or let the CLI do it all. Install @peekdev/cli and run peek init — it detects installed AI clients, writes the right MCP config for each, and registers the native messaging host with your browsers (macOS: ~/Library/Application Support/Google/Chrome/NativeMessagingHosts/; Linux: ~/.config/google-chrome/NativeMessagingHosts/; Windows: a registry key under HKCU\\Software\\Google\\Chrome\\NativeMessagingHosts). Consent-prompted; you choose which browsers to register.
npm install -g @peekdev/cli
peek init

3. Load the Chrome extension (alpha)

Until the Chrome Web Store listing is live (Phase 5), load the extension unpacked from a local build:

git clone https://github.com/Cubenest/rrweb-stack.git
cd rrweb-stack
pnpm install
pnpm build
pnpm --filter @peekdev/extension build
  1. Open chrome://extensions.
  2. Enable Developer mode (top right).
  3. Click Load unpacked.
  4. Select packages/peek-extension/.output/chrome-mv3/.

4. Enable peek on a site

5. Ask your agent

With the MCP server connected, ask your AI client things like:

Next steps

Stuck? Open an issue on GitHub.