Peekaboo
MCP ServerFree** - a macOS-only MCP server that enables AI agents to capture screenshots of applications, or the entire system.
Capabilities14 decomposed
pixel-accurate screen capture with multi-display and window-scoped targeting
Medium confidenceCaptures screenshots using ScreenCaptureKit (macOS 12.3+) with automatic CGWindow fallback, supporting Retina scaling (2x on HiDPI displays), multi-display targeting via screen index, window-scoped capture by app name/PID/window ID, and menu bar capture including status bar extras. The capture engine is abstraction-layered to allow runtime selection between ScreenCaptureKit and legacy CGWindow APIs based on availability and performance characteristics.
Dual-engine capture architecture with ScreenCaptureKit as primary (pixel-perfect, hardware-accelerated) and CGWindow fallback for older macOS versions; includes specialized menu bar capture logic that handles transient UI elements and status bar extras that standard screenshot APIs miss
More reliable than generic screenshot tools because it combines two capture backends and includes menu bar awareness, enabling AI agents to see UI state that would otherwise be invisible to standard screen capture APIs
semantic ui element detection and accessibility-based interaction
Medium confidenceDetects interactive UI elements (buttons, text fields, menus, etc.) using macOS Accessibility APIs (AXUIElement) with fallback to vision-based element detection when accessibility metadata is unavailable. The system maintains a semantic element registry that maps detected elements to their accessibility attributes (role, label, value, enabled state) and enables deterministic interaction via native accessibility actions (click, type, select) rather than pixel-based mouse movement.
Hybrid detection architecture that prioritizes accessibility APIs for deterministic interaction but seamlessly falls back to vision-based element detection when accessibility metadata is unavailable; includes element snapshot storage and cleanup system to support vision model analysis without unbounded disk growth
More reliable than pure vision-based automation (e.g., Claude Computer Use) because it uses native accessibility APIs when available, avoiding coordinate drift and enabling interaction with dynamic UI; more robust than pure accessibility automation because it has vision fallback for inaccessible apps
snapshot storage and cleanup system for element detection artifacts
Medium confidenceManages storage of element detection snapshots (visual crops of detected UI elements) on disk with automatic cleanup to prevent unbounded storage growth. The system stores snapshots in a configurable directory, tracks snapshot metadata (timestamp, element ID, size), and implements cleanup policies (age-based, size-based, LRU). Snapshots are used by vision models to analyze specific UI elements without re-capturing the entire screen.
Automatic snapshot cleanup system with configurable policies (age-based, size-based, LRU) that prevents unbounded disk growth while maintaining snapshots for vision model analysis and debugging
More efficient than manual snapshot management because it automates cleanup; more flexible than fixed retention policies because it supports multiple cleanup strategies
mac application with status bar interface and visual inspector
Medium confidenceProvides a native macOS application (Peekaboo.app) that runs in the status bar and offers a visual inspector for debugging Peekaboo operations. The app displays real-time screenshots, detected UI elements, and execution logs; allows users to manually trigger captures and interactions; and provides a settings interface for configuration. The app maintains a persistent connection to the Peekaboo service and streams events in real-time.
Native macOS status bar application with real-time visual inspector that streams screenshots, element detection results, and execution logs; includes manual trigger interface for testing and GUI-based settings configuration
More user-friendly than CLI-only tools because it provides visual feedback; more integrated than external debugging tools because it runs as a native macOS app with status bar integration
speech recognition integration for voice-based interaction
Medium confidenceIntegrates macOS native speech recognition (via Speech framework) to enable voice-based interaction with the Peekaboo agent. The system captures audio input, transcribes it to text using on-device speech recognition, and passes the transcribed text to the agent as a natural language instruction. Speech recognition runs asynchronously and supports real-time transcription feedback.
Native macOS speech recognition integration using the Speech framework with on-device transcription; supports real-time transcription feedback and asynchronous audio processing
More accessible than text-only interfaces because it supports voice input; more private than cloud-based speech recognition because it uses on-device transcription
error handling system with diagnostic reporting and recovery strategies
Medium confidenceImplements a comprehensive error handling system that captures detailed diagnostic information (stack traces, system state, screenshots) when operations fail, provides human-readable error messages, and implements recovery strategies (retry with backoff, fallback paths, state rollback). The system categorizes errors by severity and type, enabling targeted recovery logic and diagnostic reporting.
Comprehensive error handling system with categorized error types, targeted recovery strategies (retry with backoff, fallback paths, state rollback), and detailed diagnostic reporting including screenshots and system state
More robust than simple error propagation because it implements automatic recovery strategies; more debuggable than black-box error handling because it captures detailed diagnostics
deterministic ui interaction via accessibility actions and synthetic input
Medium confidenceExecutes deterministic UI interactions (click, type, select, scroll, drag) using native macOS accessibility actions (AXPress, AXSetValue, etc.) when elements expose accessibility metadata, with fallback to synthetic input (CGEvent-based mouse/keyboard events) for inaccessible elements. The system maintains an interaction queue that serializes actions to prevent race conditions and includes error recovery logic that retries failed interactions with exponential backoff.
Dual-path interaction architecture that uses native accessibility actions (AXPress, AXSetValue) as primary path for reliability, with automatic fallback to synthetic CGEvent input for inaccessible elements; includes interaction queue serialization and exponential backoff retry logic to handle transient failures and race conditions
More reliable than pure coordinate-based automation (e.g., pyautogui) because it uses semantic element references that survive layout changes; faster than pure vision-based interaction because it avoids repeated vision model calls for each action
window and space management with heuristic-based window selection
Medium confidenceManages macOS window lifecycle and space (virtual desktop) navigation using a heuristic-based window selection system that ranks windows by relevance (foreground status, recent focus, window type). The system can enumerate all windows, filter by application, activate windows, move windows between spaces, and handle window-scoped operations. Window selection heuristics account for hidden windows, minimized windows, and multiple windows from the same application.
Heuristic-based window selection system that ranks windows by relevance (foreground status, recent focus, window type) rather than simple first-match; includes specialized handling for multi-window applications and edge cases like hidden/minimized windows
More intelligent than simple window enumeration because it uses heuristics to select the most relevant window when an application has multiple windows; more robust than coordinate-based window targeting because it uses semantic window references
application lifecycle control and menu/dock automation
Medium confidenceControls application lifecycle (launch, quit, force quit) and automates menu bar and dock interactions using a combination of accessibility APIs and synthetic input. The system can launch applications by bundle identifier or path, terminate applications gracefully or forcefully, interact with menu items (click, check state), and manipulate dock icons. Menu automation includes special handling for hierarchical menus and dynamic menu items that appear/disappear based on application state.
Integrated menu and dock automation system that combines accessibility APIs with synthetic input to handle both accessible and inaccessible menu items; includes special handling for hierarchical menus and dynamic menu items that appear based on application state
More comprehensive than simple process control because it includes menu and dock automation; more reliable than pure accessibility-based menu interaction because it has synthetic input fallback for inaccessible menus
mcp server integration for ai client connectivity
Medium confidenceExposes Peekaboo capabilities as an MCP (Model Context Protocol) server that can be connected to AI clients (Claude Desktop, Cursor, other MCP-compatible tools) via stdio or HTTP transport. The MCP server implements a tool registry that maps Peekaboo commands to MCP tool definitions with JSON schema validation, handles async tool execution with streaming output, and manages session state across multiple tool calls. The server supports both synchronous and asynchronous tool execution patterns.
Full-featured MCP server implementation with dual-transport support (stdio and HTTP), JSON schema-validated tool registry, and async execution with streaming output; includes a bridge architecture that connects the Node.js MCP server to the Swift-based Peekaboo service
More integrated than manual API calls because it uses the MCP protocol which is natively supported by Claude Desktop and Cursor; more flexible than direct CLI invocation because it maintains session state and supports streaming output
ai agent execution pipeline with tool system and model selection
Medium confidenceImplements a complete AI agent execution pipeline that orchestrates tool calls, manages session state, and supports multiple LLM models via a model selection system (Tachikoma). The pipeline includes tool registration, JSON schema validation, execution queuing, error handling with retry logic, and event streaming for real-time progress updates. The system supports both interactive chat mode (multi-turn conversation) and batch execution mode (single-shot automation).
Complete agent execution pipeline with pluggable model selection (Tachikoma) that abstracts away provider differences, JSON schema-validated tool registry, and event streaming for real-time monitoring; supports both interactive chat mode and batch execution
More flexible than single-model agents because it supports multiple LLM providers via Tachikoma; more observable than black-box agents because it streams execution events in real-time
configuration system with credentials management and permissions tracking
Medium confidenceProvides a hierarchical configuration system that manages Peekaboo settings, LLM credentials, and macOS permissions state. The system supports configuration files (YAML/JSON), environment variables, and credential storage via secure macOS Keychain integration. The permissions tracking system monitors which macOS permissions have been granted (Screen Recording, Accessibility, etc.) and provides diagnostic information when permissions are missing.
Hierarchical configuration system with Keychain integration for secure credential storage and permissions tracking that provides diagnostic information when macOS permissions are missing; supports both file-based and environment-variable-based configuration
More secure than environment-variable-only credential storage because it uses macOS Keychain; more flexible than hardcoded configuration because it supports file-based and environment-variable overrides
cli command interface with vision and interaction subcommands
Medium confidenceProvides a comprehensive CLI interface (peekaboo binary) that exposes all Peekaboo capabilities as subcommands organized by category: vision commands (screenshot, detect-elements), interaction commands (click, type, select), window management commands (list-windows, activate-window), application control commands (launch, quit), menu automation commands (click-menu), and system utility commands. Each command supports JSON output for programmatic parsing and includes detailed help text.
Comprehensive CLI with 30+ subcommands organized by category (vision, interaction, window management, application control, menu automation, system utilities), JSON output support for programmatic parsing, and detailed help text for each command
More complete than generic macOS automation tools because it includes specialized commands for menu automation and element detection; more scriptable than GUI-based tools because it provides JSON output and exit codes
interactive chat mode with multi-turn conversation and session management
Medium confidenceImplements an interactive chat interface that enables multi-turn conversations with an AI agent, maintaining session state across multiple user inputs. The system manages conversation history, tool execution context, and screenshot state, allowing users to give natural language instructions and receive feedback in real-time. The chat mode supports both CLI-based interaction and programmatic session management via the Agent API.
Multi-turn chat interface with persistent session state that maintains conversation history and tool execution context; supports both CLI-based interaction and programmatic session management via the Agent API
More interactive than batch automation because it allows real-time feedback and mid-execution corrections; more transparent than black-box agents because it shows reasoning and screenshots at each step
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with Peekaboo, ranked by overlap. Discovered automatically through the match graph.
mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
Screeny
** - Privacy-first macOS MCP server that provides visual context for AI agents through window screenshots
js-reverse-mcp
为 AI Agent 设计的 JS 逆向 MCP Server,内置反检测,基于 chrome-devtools-mcp 重构 | JS reverse engineering MCP server with agent-first tool design and built-in anti-detection. Rebuilt from chrome-devtools-mcp.
Screenpipe
An open-source tool for recording screen and audio activity with AI-powered search, automations, and support for local LLMs. #opensource
ScreenshotMCP
** - Capture website screenshots including full page, elements, and device specific sizes.
Browser MCP
** (by UI-TARS) - A fast, lightweight MCP server that empowers LLMs with browser automation via Puppeteer’s structured accessibility data, featuring optional vision mode for complex visual understanding and flexible, cross-platform configuration.
Best For
- ✓AI agents performing visual GUI automation on macOS
- ✓CI/CD pipelines running automated UI tests on macOS runners
- ✓Developers building macOS accessibility tools that need visual fallback when accessibility APIs fail
- ✓AI agents automating macOS applications with accessibility support (most modern apps)
- ✓Teams building robust RPA workflows that need to survive UI layout changes
- ✓Developers testing applications that have accessibility compliance requirements
- ✓Systems running long-lived Peekaboo agents that accumulate many snapshots
- ✓Teams with limited disk space who need automatic cleanup
Known Limitations
- ⚠macOS 12.3+ required for ScreenCaptureKit; older versions fall back to CGWindow which has lower fidelity
- ⚠Requires Screen Recording permission in System Preferences; will fail silently if not granted
- ⚠Menu bar capture is complex and may miss dynamically-rendered elements in third-party menu bar apps
- ⚠Capture latency varies by display resolution and number of displays; HiDPI 2x scaling doubles memory usage
- ⚠Accessibility APIs require Accessibility permission; apps without accessibility support fall back to vision-based detection which is slower and less reliable
- ⚠Vision-based element detection adds ~200-500ms latency per detection pass and requires Claude vision or similar model
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
** - a macOS-only MCP server that enables AI agents to capture screenshots of applications, or the entire system.
Categories
Alternatives to Peekaboo
Are you the builder of Peekaboo?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →