Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Peekaboo

MCP server by openclaw Verified · npm:@steipete

Peekaboo gives AI assistants and developers a macOS CLI, menu-bar app and MCP server for screen capture, UI inspection and native UI automation. It is for people who want an assistant to observe the screen and act on apps.

  • Score 94
  • 5.6k stars
  • 2.2k a week
  • MIT
  • Updated

Install Peekaboo

Built from the published package, never by AI.

claude mcp add peekaboo -- npx -y @steipete/peekaboo

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Peekaboo in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the peekaboo block.

About

Peekaboo is a macOS CLI and menu-bar app for screen capture, accessibility inspection and native UI automation. You can use it directly from the terminal, let its agent plan multi-step work, or expose the same toolset to MCP clients such as Codex, Claude Code and Cursor.

The core loop is to observe the screen, choose an element from a structured UI map with opaque element IDs, and act on it. Targeted input can run in the background when Peekaboo can resolve the process, so the app does not need to become frontmost. The npm package includes the CLI and its MCP launcher. The source is aimed at macOS users who want an AI assistant or script to see and control desktop apps.

Written from the project's README and checked against it.

Tools it gives your assistant

  • seeCaptures the screen or an app and returns a structured UI map, with JSON output.
  • clickClicks a UI element by description, scoped to an app and optionally a window ID.
  • typeTypes text into a targeted app or window.
  • pressSends key presses such as Return to a targeted app or window.
  • agentRuns a natural-language task that combines observation and action tools.

What you need

  • macOS 15 or later
  • Node.js 22 or later for the npm MCP package
  • Screen Recording permission
  • Accessibility permission
  • A configured model provider for agent runs

Try asking

  • Take a screenshot of my screen and save it to a PNG file
  • Show the UI elements of the Finder window as structured JSON
  • List my Safari windows and click the address bar in one of them

Good to know

  • The released CLI and app require macOS 15 or later.
  • Browser actions are unavailable on embedded Bridge hosts such as OpenClaw.app.
  • App or PID-only key chords need explicit foreground consent.
  • Agent runs need a configured model provider.

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Peekaboo

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Peekaboo: common questions

Does Peekaboo work on Windows or Linux?

The source describes Peekaboo as a macOS tool. It lists two separate community rewrites, PeekabooWin for Windows and PeekabooX for Linux, which are not this project.

Which permissions does Peekaboo need?

Screen capture requires Screen Recording permission. Accessibility permission enables UI inspection and control, and synthetic input uses an additional permission described in the permissions guide.

Can Peekaboo click in an app without bringing it to the front?

Yes, for targeted semantic and typed CLI input when Peekaboo can resolve the process. The source says the app does not have to become frontmost in that case.

How do I install Peekaboo?

In Claude Code run claude mcp add peekaboo -- npx -y @steipete/peekaboo. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Peekaboo the official server?

Peekaboo is published by npm:@steipete from its verified domain in the official MCP Registry.

Is Peekaboo free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Peekaboo safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to Peekaboo?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Peekaboo work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Peekaboo Install

Add to stack

Loading.