Peekaboo

Developer tools

Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.

Your AI app calls the Peekaboo MCP server, which does the developer tools work and sends the result back to the chat.

About Peekaboo

Peekaboo is a community MCP server from openclaw, filed in our directory under developer tools. Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.

Peekaboo runs on your own machine: your AI app starts it with the command npx -y @steipete/peekaboo and talks to it over standard input and output.

At a glance

Publisher
openclaw (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @steipete/peekaboo
Written in
Swift
License
MIT
GitHub stars
5,562

How to set up Peekaboo

  1. Install Node.js on the machine that runs your AI app, because Peekaboo starts with npx and downloads its package on first run.
  2. Check the Peekaboo README for keys or settings; the registry lists none that Peekaboo requires.
  3. Add Peekaboo to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Peekaboo tools to confirm the connection.
  5. Run one read-only task with Peekaboo first, and keep your app asking before each tool call until the results look right.

Peekaboo compared with similar servers

  • Fast Anything by EL4CTEO has fewer GitHub stars than Peekaboo (5.5k against 5.6k); both are community servers, and both run locally.
  • agent-device by callstack has more GitHub stars than Peekaboo (5.6k against 5.6k); both are community servers, and both run locally.
  • Code-Graph-RAG by vitali87 has fewer GitHub stars than Peekaboo (5.5k against 5.6k); both are community servers, and both run locally.

Before you connect Peekaboo

  • Give Peekaboo its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Peekaboo tool call until you trust what it does with them.
  • Treat text that Peekaboo fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Peekaboo on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Peekaboo

How marketing and sales teams put Peekaboo to work, by company size. Pick the size closest to yours and start Peekaboo on one use case.

Small business

  • A small business with a developer can use Peekaboo to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Peekaboo to explain and fix a marketing site issue without context switching between tools.
  • Peekaboo runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Peekaboo to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Peekaboo to keep scripts and automations documented and versioned as they change.
  • Start Peekaboo on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Peekaboo with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Peekaboo so web and marketing engineering share one reviewed way of working with AI.
  • Peekaboo is a community server, so have security review the code and pin a version before Peekaboo touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Peekaboo README

From openclaw/Peekaboo on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Peekaboo 🫣, Mac automation that sees the screen and does the clicks.

Peekaboo is a macOS CLI and menu-bar app for screen capture, accessibility inspection, and native UI automation. Use it directly, let its agent plan multi-step work, or expose the same toolset to MCP clients.

Install

The released CLI and app require macOS 15 or later.

CLI with Homebrew
brew install openclaw/tap/peekaboo
MCP package with npm

The npm package requires Node.js 22 or later and includes the CLI plus its MCP launcher.

npx -y @steipete/peekaboo --version

See MCP setup to connect it to Codex, Claude Code, Cursor, or another MCP client.

Mac app

Download the signed DMG from the latest GitHub release. The menu-bar app provides permission onboarding, visual feedback, and agent sessions; install the CLI separately when you also need peekaboo on PATH.

For source builds and alternative install details, see the installation guide.

Quick start

Check the permissions available to Peekaboo, then take a screenshot:

peekaboo permissions status
peekaboo see --no-elements --mode screen --path /tmp/peekaboo-screen.png

Screen capture requires Screen Recording permission. Accessibility permission enables UI inspection and control; the permissions guide covers setup and the additional permission used for synthetic input.

Inspect a running app to get a structured UI map with opaque element IDs:

peekaboo see --app Finder --json

That is the core loop: observe the current screen, choose an element from the result, and act on it.

What's new in 4.9.10

Peekaboo 4.9.10 is a maintenance release. peekaboo mcp serve now starts its native tools inside embedded Bridges that offer no browser handoff, such as OpenClaw.app, instead of failing at startup; on those hosts only browser actions are unavailable. Browser automation moves to the audited Chrome DevTools MCP 1.13.0: its new tools stay unavailable, file-backed scripts are refused, and full-page screenshots and screencasts need foreground authority. Tachikoma's realtime calculator now rejects malformed input instead of crashing, and Commander, TauTUI, AXorcist, the Swift package locks, Node and pnpm are refreshed.

Automate an app

List Safari's windows, copy the intended window_id (12345 below), then keep the entire interaction pinned to that exact window:

peekaboo window list --app Safari --json
peekaboo click "Address and search bar" --app Safari --window-id 12345
peekaboo type "github.com/openclaw/Peekaboo" --app Safari --window-id 12345
peekaboo press Return --app Safari --window-id 12345

Targeted semantic and typed CLI input uses background delivery when Peekaboo can resolve the process, so the app does not have to become frontmost. Raw CLI press chords can also stay background with an exact window selector. The CLI also accepts a fresh exact non-dialog snapshot; that snapshot is required by background-only Agent/MCP policy. App/PID-only and targetless chords require explicit foreground consent, as do window-selector-only Agent/MCP chords. Prefer a semantic action such as menu click when one exists. See the automation guide for element IDs, coordinates, snapshots, waits, and input behavior.

Agent and MCP

The agent combines the same observation and action tools into a natural-language run:

peekaboo agent "Open Safari, go to github.com, and search for Peekaboo" --allow-foreground

Agent runs need a configured model provider. See agent setup for providers and sessions, or MCP setup to expose Peekaboo's tools to another client.

Command map

Goal Commands Guide
Observe the desktop see, screen list, window list Capture and inspection
Interact with UI click, type, press, scroll, drag, set-value, action Automation
Control macOS app, window, menu, menubar, dock, dialog, space Command reference
Run workflows agent, capture Agent · Capture
Integrate with clients mcp, browser, tools MCP

Run peekaboo help <command> for live CLI help. The complete command index links to flags, examples, and troubleshooting for every command.

Configuration

Peekaboo stores provider credentials and settings under ~/.peekaboo. Use peekaboo config to inspect or change them, and consult the configuration guide for profiles, environment variables, and custom providers. The provider reference covers hosted, compatible, and local model backends.

Shell completions for zsh, bash, and fish come from peekaboo completions; see the completion guide for persistent setup.

Learn more

Community

Development

Source builds require macOS 15 or later, Swift 6.2 or later, Node.js 22 or later, and the repository's submodules.

pnpm install --frozen-lockfile
pnpm run build:cli
pnpm run lint:docs
pnpm run test:safe

More build, signing, and test details live in docs/building.md.

License

MIT. See LICENSE.

Questions about Peekaboo

What is the Peekaboo MCP server?

Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models. Peekaboo is maintained by openclaw on GitHub at openclaw/Peekaboo, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Peekaboo MCP server?

Add Peekaboo to your AI app's MCP config with the command npx -y @steipete/peekaboo. In Claude Code, run claude mcp add --transport stdio peekaboo -- npx -y @steipete/peekaboo. To run Peekaboo this way you need Node.js installed.

Does Peekaboo need an API key?

The registry lists no required keys for Peekaboo. Check the Peekaboo README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Peekaboo an official MCP server?

No. Peekaboo is a community server maintained by openclaw. Community servers can be excellent; read the code and the open issues before you give Peekaboo access to company data.

What license is Peekaboo under?

Peekaboo is released under the MIT license, according to its GitHub repository. The license covers the code of Peekaboo; the service it connects to has its own terms.