# macos-vision-mcp

macos-vision-mcp is an MCP server for Claude Code that performs local OCR and screen inspection on macOS without cloud uploads. It reduces token usage when parsing documents and testing UIs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8 repo stars
- Author: woladi
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/woladi/macos-vision-mcp
- Updated: 2026-08-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/macos-vision-mcp

## What it does

The server relies on the Apple Vision Framework to perform on-device OCR on PDF documents, PNG, JPG, HEIC, and TIFF files. It also reads QR codes, barcodes, and locates faces. All processing takes place locally via the Neural Engine, so sensitive files and screen captures never leave the workstation.

For desktop automation, the server lists open windows, pinpoints click coordinates for visible labels with `find_element`, and validates states using `assert_text`. This workflow lets agents navigate native or Electron software lacking APIs. Instead of passing massive screenshots across the network, the model receives only structured bounding boxes and extracted text.

The server requires macOS 13.0 or higher and works fully offline once pulled via `npx`.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add macos-vision-mcp -- npx -y macos-vision-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add macos-vision-mcp -- npx -y macos-vision-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "macos-vision-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "macos-vision-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "macos-vision-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "macos-vision-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add macos-vision-mcp npx -y macos-vision-mcp
```

## When to use it
- extract text and bounding boxes from local PDFs without external API calls
- locate screen coordinates for buttons and UI controls by visible text
- verify desktop app states with exact string matching instead of visual inspection
- detect faces, rectangles, and barcodes inside local images

## Example prompts
- Locate the 'Export' button in the current app window and return click coordinates.
- Extract paragraphs and layout structure from `contract.pdf`.
- Verify that the success message appears on screen using `assert_text`.

## Similar
- [mirroir-mcp](https://affpapa.org/en/nevibecode/mcp/mirroir-mcp.md) — MCP server · ★ 420 repo stars
- [Pointframe MCP Server](https://affpapa.org/en/nevibecode/mcp/pointframe-mcp-server.md) — MCP server · ★ 16 repo stars
- [agent-desktop-macos](https://affpapa.org/en/nevibecode/skills/agent-desktop-macos.md) — skill · 1100 installs
- [argent-macos-app-interact](https://affpapa.org/en/nevibecode/skills/argent-macos-app-interact.md) — skill · 1700 installs
- [macos-accessibility](https://affpapa.org/en/nevibecode/skills/macos-accessibility.md) — skill · 316 installs
- [Ui.Vision MCP](https://affpapa.org/en/nevibecode/mcp/uivision-mcp.md) — MCP server · ★ 2112 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
