macos-vision-mcp — Claude Code MCP server: what it does and setup
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.
MIT ★ 8 updated 2026-08-25
claude mcp add macos-vision-mcp -- npx -y macos-vision-mcpWhat macos-vision-mcp 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.
What it helps with
- 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 for the agent
- 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.
How to install macos-vision-mcp
Platform CLI
claude mcp add macos-vision-mcp -- npx -y macos-vision-mcpPlatform CLI
codex mcp add macos-vision-mcp -- npx -y macos-vision-mcpConfig file
{
"mcpServers": {
"macos-vision-mcp": {
"command": "npx",
"args": [
"-y",
"macos-vision-mcp"
]
}
}
}Config file
{
"servers": {
"macos-vision-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"macos-vision-mcp"
]
}
}
}Platform CLI
gemini mcp add macos-vision-mcp npx -y macos-vision-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about macos-vision-mcp
How to install macos-vision-mcp in Claude Code?
Run claude mcp add macos-vision-mcp -- npx -y macos-vision-mcp. The server starts immediately and does not require any API keys.
What are the system requirements for macos-vision-mcp?
It runs on macOS 13.0 or later because it depends directly on Apple Vision Framework.
Do screen captures get uploaded to third-party models?
No, images remain in local temporary storage while being analyzed by the on-device engine. The model receives only parsed text and coordinate blocks.