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 scores 59 (Fair), licensed MIT and written in Swift. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 5,555 stars. Package registries report about 2,937 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
59 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, no docs link.
How quality is graded
Where the 59 comes from
0 + 20 + 12 + 10 + 10 + 7 = 59. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 12 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "openclaw-peekaboo": { "command": "npx", "args": [ "-y", "@steipete/peekaboo@4.9.10" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
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
- Project direction
- Platform support
- Architecture
- Building from source
- Testing
- Agent chat loop
- Command reference
Community
- PeekabooWin โ Windows-first rewrite of the Peekaboo automation loop (JavaScript + PowerShell) by @FelixKruger
- PeekabooX โ Linux-first rewrite of the Peekaboo automation loop (Rust + Python) by @nordbyte
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.
Frequently asked questions
What is 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.
How do I install Peekaboo MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Peekaboo MCP Server runs locally from the npm package @steipete/peekaboo with the command npx -y @steipete/peekaboo@4.9.10.
Is Peekaboo MCP Server free and open source?
Yes. Peekaboo MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Peekaboo MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Peekaboo MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Peekaboo MCP Server's trust score calculated?
Peekaboo MCP Server scores 59 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetโBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.