npx claudepluginhub ashrocket/agent-lookScan your screengrabs folder for recent screenshots, preview before loading, and auto-rename generic filenames with descriptive names. Bypasses iCloud TCC restrictions via Spotlight.
Screenshot scanner and renamer MCP server for macOS. Finds recent screenshots via Spotlight, extracts OCR text, and auto-renames generic filenames. Works with Claude Desktop, Claude Code, Gemini CLI, and Codex.
1. git clone https://github.com/ashrocket/agent-look.git
2. cd agent-look
3. ./install.sh
4. A folder picker opens — select your screenshots directory (or press Cancel for default)
5. Restart Claude Desktop
6. Done!
For Claude Code: install via the plugin system, then use /look or call find_recent_screenshots directly.
/plugin marketplace add /path/to/agent-look
/plugin install agent-look@agent-look-dev
mdfind)| Before | After |
|---|---|
Screenshot 2026-03-27 at 10.25.15 AM.png | 2026-03-27_1025_react-component-button-styling.png |
Screenshot 2026-03-27 at 2.14.00 PM.png | 2026-03-27_1414_claims-nav-aba-charts.png |
Screen Shot 2026-03-27 at 9.03.11 AM.png | 2026-03-27_0903_grafana-cpu-spike.png |
The output format is always YYYY-MM-DD_HHMM_descriptive-slug.ext, derived from the file's modification time.
Required: macOS 10.15+ (Catalina or later) — uses Spotlight (mdfind) and macOS OCR (mdls). Linux and Windows are not supported.
Compatible AI platforms:
| Platform | How to install | How to use |
|---|---|---|
| Claude Desktop | ./install.sh | MCP tools available automatically |
| Claude Code | /plugin marketplace add | /look command or find_recent_screenshots tool |
| Gemini CLI | Add MCP server to config | find_recent_screenshots tool |
| Codex | Add MCP server to config | find_recent_screenshots tool |
Run the installer:
chmod +x install.sh
./install.sh
The installer:
~/Library/Application Support/Claude/claude_desktop_config.jsonSCREENGRABS_DIR in the MCP server environmentAfter the installer finishes, restart Claude Desktop. The find_recent_screenshots and rename_screenshot tools will be available in all conversations.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"agent-look": {
"command": "node",
"args": ["/absolute/path/to/agent-look/mcp/server.js"],
"env": {
"SCREENGRABS_DIR": "/Users/yourname/Pictures/Screenshots"
}
}
}
}
Restart Claude Desktop.
# Add this repo to the plugin marketplace
/plugin marketplace add /path/to/agent-look
# Install the plugin
/plugin install agent-look@agent-look-dev
After installing, the /look command and find_recent_screenshots MCP tool are available in Claude Code sessions.
Add the MCP server to your platform's MCP configuration. The server is started with:
SCREENGRABS_DIR=/path/to/screenshots node /path/to/agent-look/mcp/server.js
Refer to your platform's documentation for where to add MCP server entries.
Config file: ~/.config/agent-look/config.json
{
"screencaptureDir": "~/Pictures/Screenshots",
"enabledPlatforms": ["claude-desktop", "claude-code"]
}
Edit this file to change your screencapture directory or enabled platforms without re-running the installer. Changes take effect on next tool restart.
Fallback behavior: If no config file exists, the server checks the SCREENGRABS_DIR environment variable, then defaults to ~/Library/Mobile Documents/com~apple~CloudDocs/Downloads/screengrabs.
The server exposes two tools:
find_recent_screenshotsLists screenshots from the screengrabs folder modified within the last N minutes.
| Parameter | Type | Default | Description |
|---|---|---|---|
minutes | number | 3 | How far back to look |
Returns: filename, full path, modification time, whether the name is generic, and Spotlight OCR text for generic-named files.
rename_screenshotRenames a screenshot file using a descriptive slug.
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Full path to the file |
slug | string | yes | Descriptive slug (lowercase, hyphens, max 40 chars, no extension) |