Skip to main content
Glama

catscan

catscan checks rendered UI text in web pages, app and game screenshots, and screen recordings. It catches truncated and overlapping text, missing strings and raw keys, untranslated and wrong-language text, and wrong number, date and price formats, across 61 locales (about 55 languages; full list).

For web apps, @catscan/playwright adds visual text assertions directly to your Playwright tests, including text drawn in Canvas and WebGL. For mobile apps and games, the CLI checks the screenshots and recordings your existing test tools already capture (Maestro, XCUITest, Espresso). Coding agents (Claude Code, Codex, Cursor) get the same verdicts through the MCP server and agent skills: a few dozen tokens instead of the screenshot.

A label the app cuts to Einstellun... passes a test that reads the accessibility tree: XCUITest and UiAutomator still return the full string. catscan compares the text drawn on the screenshot with that full string and reports the cut (how).

catscan runs locally on Apple silicon Macs, using Apple Vision on the Neural Engine. It returns actionable PASS/FAIL verdicts instead of raw OCR, and it never sends your screenshots anywhere.

catscan in a terminal checks a phone cart screen that shows a raw key, a cut-off button label, text drawn over an icon and a French line on an English screen

Works with

  • Playwright: @catscan/playwright adds visual text assertions to your web tests. It checks browser-rendered text, including Canvas and WebGL, for missing text, truncation, overlap and untranslated strings.

  • Maestro: check every screen of a flow after the run (recipe, example project); catscan boxes maestro turns a maestro hierarchy dump into element boxes.

  • XCUITest, UIAutomator and Espresso: catscan boxes xcuitest and catscan boxes uiautomator turn the element dump your test saves into boxes for the truncation and overlap checks (capture guide).

  • Appium: save the iOS or Android element dump next to each screenshot and convert it with catscan boxes (capture guide).

  • Cypress, Selenium, WebdriverIO and other web tools: save viewport screenshots (cy.screenshot({ capture: 'viewport' }), browser.saveScreenshot()), then run npx @catscan/cli check, untranslated or truncated on the folder. For the truncation and overlap boxes, run the plain DOM page script from the capture guide through the tool's execute-script call, save its result as <screen>.pw.json next to the PNG and convert it with npx @catscan/cli boxes playwright.

  • Any other tool: catscan checks PNG, JPEG and HEIC screenshots, and MP4 and MOV recordings, however they were made.

  • CI: ready files for GitHub Actions, GitLab, CircleCI, Bitrise, Codemagic and Azure Pipelines in examples/ci/; Jenkins, Buildkite and any CI that reads JUnit XML through --junit. The job runs on an Apple silicon Mac (CI recipes).

  • Coding agents: Claude Code, Codex, Cursor, VS Code, Gemini CLI, Cline, Roo Code, Goose, OpenCode, Continue and any agent that reads AGENTS.md (Agent skills).

Related MCP server: npu-vision-fallback

How it works

Your tests already take screenshots. catscan reads them with Apple's Vision framework on the Neural Engine, in about 25 ms an image, and checks what it read against what should be there: the strings in your catalogs, the locale of the run, the element boxes your test dumped, the phone the screen was taken on. Each check returns PASS or FAIL, an exit code for CI and --json for agents. Screenshots never leave the machine.

catscan says in every result which reader read the screen: Vision first, Tesseract for the languages Vision cannot read, and the agent's own model when catscan cannot decide.

What it catches

The problem

The check

A string is missing, or a string that must never show is on screen

catscan check --present / --absent, keys from your catalogs (JSON, .strings, .xcstrings, strings.xml, TypeScript or JavaScript) with @key (catalogs)

Untranslated strings, raw keys, unfilled {placeholders}, a line in the wrong language

catscan untranslated

Text cut off with an ellipsis, by its view or by the screen edge, short of its catalog string, or drawn past its element

catscan truncated

Text over text, text over an icon or control, sheets drawn over each other

catscan overlap

Wrong number, date and price formats, a price in a currency the store does not charge

catscan formats

Experimental: text under the camera cutout, rounded corners or home indicator, or a one-line label that wraps

catscan fit with the phone's --device-profile (fit --list-devices)

Low contrast, text over a busy image (experimental)

catscan contrast

Hardcoded strings and labels too short for translation, before anything is translated

catscan pseudo and --pseudo

Screens that break at large system text

--text-size

A locale, screen or device missing from the run

--expect-locales, --expect-screens, --expect-devices and the HTML report

Text that flashes by in a recording

catscan video

Re-reviewing every screen of every build

--baseline: review only what changed

Old findings failing every run

--known: fail only on new ones

Minor or uncertain findings failing the build

--min-severity, --min-certainty: every finding carries a severity and a certainty; gate only on what you choose

Failures that should show in the pull request or the CI test tab

--format github, --junit, --gitlab-codequality

Element boxes from your UI tests, results from sharded runs, one page to review a run

catscan boxes, catscan results merge, catscan report; the languages this Mac reads: catscan languages; every command: CLI reference

Agent skills

catscan runs on Apple silicon Macs only. In Claude Code and Codex one install gives the agent the catscan MCP server and the skills; other agents get what their line names:

  • Claude Code (CLI and the desktop app's Code tab): claude plugin marketplace add gatalifeltd/catscan, then claude plugin install catscan@catscan.

  • Codex: codex plugin marketplace add gatalifeltd/catscan, then codex plugin add catscan@catscan.

  • Cursor: Add to Cursor adds the server; copy the rule file to .cursor/rules/ and the skill folders. When the Cursor Marketplace lists the catscan plugin, that one install brings the server and the skills.

  • VS Code: the server: Install in VS Code, Install in VS Code Insiders.

  • Gemini CLI: gemini extensions install https://github.com/gatalifeltd/catscan (the server and the screen-check text).

  • Cline, Roo Code, Goose, OpenCode, Continue: a config block for each in the MCP recipe.

If you added the catscan server by hand before, remove that entry: it runs beside the plugin's server or replaces it, and plugin updates do not move it (how).

Skill

What it does for you

Try it

screen-check

The agent asks catscan about a screenshot or recording instead of opening the image. Recipe

Does screenshots/login.png show "Sign in"? Ask catscan, do not open the image.

catscan-adopt

Finds where your tests should check screen text, proposes the diffs, applies the batches you approve and proves each check with a mutation. Recipe

Wire catscan checks into this project's tests. Start with a dry run.

test-speedup

Makes the suite and its CI faster without weakening what it proves. Needs no Mac: macOS or Linux, and ChatGPT in report-only mode. Recipe

Speed up this test suite without weakening what it proves.

catscan-upgrade

Moves every place your project holds catscan to one version and shows the behavior changes and finding changes before you keep it. Recipe

Run the catscan-upgrade skill.

Installation

Apple silicon Mac, macOS 15 or later, Node 22 or later.

In the terminal, install the command globally; every catscan ... command in these docs then runs as written:

npm install -g @catscan/cli
catscan doctor

In a project and in CI, add it to the project and run it with npx @catscan/cli ..., which uses the project's copy:

npm install --save-dev @catscan/cli
npx @catscan/cli doctor

Keep the global version the same as the project's (catscan --version, npx @catscan/cli --version). doctor only checks this machine (Node, macOS, the signed binary, Vision); it runs no check on your screens. Pick the package for where you work; each one installs the catscan binary:

  • CLI and CI: @catscan/cli, as above (docs/cli.md, CI recipes).

  • Playwright tests: npm install --save-dev @catscan/playwright (recipe).

  • Coding agents: the catscan plugin brings the MCP server npx -y @catscan/mcp@1.0.6 with the agent skills, the Gemini CLI extension brings it with the screen-check text; to set the server up by hand, see the recipe.

First run

Take a screenshot with Cmd+Shift+4. Type catscan read , drag the screenshot into the terminal (it pastes the quoted path) and press Return. Then check a word it printed:

catscan check <dragged path> --present "<a word you saw>"

PASS and exit 0 mean catscan read it. Then point it at a folder of per-locale screenshots:

catscan untranslated shots/de --locale de --base locales/en.json --catalog locales/de.json
catscan truncated shots/de --locale de --boxes shots/de --report catscan-report.html

The report is one offline page: a locale x screen matrix where a missing screenshot shows as missing, and the failing screenshots with their boxes drawn (docs/report.md). Next: the recipe for your stack in docs/start-here.md.

catscan HTML report: a 5-screen by 5-locale coverage matrix with severity badges and one missing cell, filters, failed screenshots with boxes

Entry points

The CLI is the one place checks run. The other three are adapters: each calls the same checks and returns the same verdicts, shaped for where you already work.

Entry point

Use it when

CLI @catscan/cli

you run checks on screenshot folders, in CI or by hand (docs/cli.md, CI recipes, Maestro)

Playwright matchers @catscan/playwright

your web tests should assert screen text inline: toShowText, toHaveNoTruncation, toHaveNoOverlap, toHaveNoUntranslated, canvas and WebGL text included (recipe)

MCP server @catscan/mcp

a coding agent should get a verdict of a few dozen tokens instead of opening the screenshot (recipe)

Agent skills, the catscan plugin

an agent should do the work around the checks: Agent skills

When catscan cannot decide

catscan uses readers as a ladder and says in every result which one read the screen:

  1. Vision on the Neural Engine. The default: local, fast, free.

  2. Tesseract for the 22 languages Vision cannot read or drops letters in (Greek, Hebrew, Croatian and more), when you install it. Weaker and slower; without it these checks are needs-reader (exit 3) with the install command. docs/recipes/tesseract.md.

  3. The agent's own model. On needs-reader, unsupported, an error, or a failed check with no useful closest line, the instruction files tell the agent to open the image itself.

Benchmarks

catscan has measured 61 locales, about 55 languages when script and regional variants count once (no/nb/nn, sr/sr-Latn, zh-Hans/zh-Hant, yue-Hans/yue-Hant, ar/ars): 38 read by Vision and 23 by the Tesseract fallback. Every per-locale accuracy number is measured on synthetic images drawn by Core Text, not on device screenshots; real-screenshot numbers are the study rows. Seven locales measure under the 98% gate and are listed under the table with their numbers. A Vision locale at 96% or more stays on Vision (cs at 96.67% does, as a partial locale); only a locale below 96% would move to Tesseract, and the public gate stays 98%. Every check's own numbers: docs/BENCHMARKS.md.

Generated by npm run bench:table; do not edit by hand. reproducible rows come from the public synthetic benchmark in bench/results/27.2/ and bench/results/27.2.1/ (the later folder's record per locale), which anyone can rerun on an Apple-silicon Mac; per-language numbers are in docs/BENCHMARKS.md. study rows are quoted from the dated feasibility study over private screenshots, which cannot be published or rerun.

Metric

Engine

Value

Source

Measured on

Check accuracy, median / lowest

Vision (38 locales)

99.58% / 96.67% (cs)

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Fit recall, lowest

Vision (38 locales)

0.867 (cs)

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

CER, median

Vision (38 locales)

0.002

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Truncation precision / recall, pooled

Vision (38 locales)

0.989 / 0.871

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Median ms per image

Vision (38 locales)

25 (under load)

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Check accuracy, median / lowest

Tesseract fallback (23 locales)

99.27% / 84.31% (fa)

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Fit recall, lowest

Tesseract fallback (23 locales)

0.372 (fa)

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

CER, median

Tesseract fallback (23 locales)

0.005

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Truncation precision / recall, pooled

Tesseract fallback (23 locales)

1.000 / 0.810

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Median ms per image

Tesseract fallback (23 locales)

105 (under load)

reproducible

Apple M5, macOS 27.2 (26B123), 2026-11-09; Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Overlap with element boxes (--boxes), precision / recall, overlaps of 4 px and more: text over text; text over an icon or image

Vision (12 languages)

0.908 / 0.622; 0.913 / 0.778

reproducible

Apple M5, macOS 27.2.1 (26B131), 2026-11-16

Overlap without boxes (OCR only), precision / recall, overlaps of 4 px and more (experimental: under the gate)

Vision (12 languages)

1.000 / 0.025

reproducible

Apple M5, macOS 27.2.1 (26B131), 2026-11-11

Line recall on real screenshots, pooled

Vision / Tesseract (474 screenshots, 8 locales)

98.50 / 74.23%

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-29

Check accuracy on real screenshots

Vision, Tesseract for Greek (189 checks)

99.47%

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-30

Median ms per full-resolution phone screenshot, idle

Vision / Tesseract

58 / 230 ms

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-29

Energy per screenshot above idle

Vision / Tesseract

about 0.3 / 1.1 J

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-30

Check accuracy, LLM APIs

6 Claude and GPT models

98.41-100%

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-30

Median ms per check, LLM APIs

6 Claude and GPT models

1300-3220 ms

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-30

USD per 1000 checks, LLM APIs (list prices of 2026-10-30)

6 Claude and GPT models

0.19-8.45

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-30

Median ms per check, coding agents

Codex, Cursor (3 models)

8620-15490 ms

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-30

Agent tokens, one check verdict vs the screenshot

catscan

36x fewer

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-29

e2e suite slowdown with OCR running beside it

Vision

under 1%

study

Apple M5, macOS 27.2 (26B123), feasibility study, 2026-10-29

Coverage (generated): 61 locales recorded, every number measured on synthetic images drawn by Core Text, not on device screenshots. Vision (38): ar, ars, ca, cs, da, de, en, es, eu, fi, fil, fr, gl, hi, id, it, ja, ko, lb, mr, ms, nb, nl, nn, no, pl, pt-BR, ro, ru, sv, th, tr, uk, vi, yue-Hans, yue-Hant, zh-Hans, zh-Hant. Tesseract fallback (23): be, bg, bs, cy, el, et, fa, ga, he, hr, hu, hy, is, ka, lt, lv, mk, mt, sk, sl, sq, sr, sr-Latn.

Under the 98% gate: fa 84.31% (Tesseract, partial), hy 96.56% (Tesseract, partial), cs 96.67% (Vision, partial), sq 97.15% (Tesseract, partial), mt 97.50% (Tesseract, partial), ars 97.67% (Vision, partial), mr 97.85% (Vision, partial). Every other locale measures at or above 98% check accuracy.

Recorded twice, the later record counts: ar, da, nl, no, nb, sv, fi (27.2.1 over 27.2).

  • Rerun (full, about 1.5 h on an M5): npm run bench -- --record, then npm run bench:table. Timing depends on the chip and load; the summary prints your numbers next to the reference run.

  • Rerun (quick, a few minutes, compared with the recorded quick run): npm run bench -- --quick.

  • Check that this table matches the committed results (Node only): npm run bench:check.

Updating

Move every @catscan/ package, CI pin, MCP config and skill together: catscan-upgrade does it and shows which findings change (docs/recipes/upgrade.md). catscan doctor tells you when a newer version is out.

Commercial services

Need help fitting catscan into your QA or localization pipeline, or a check it does not have yet? Write to sales@gatalife.com.

License

Apache-2.0: LICENSE and NOTICE. Release notes: CHANGELOG.md. Bugs and requests: GitHub issues; how to contribute, report a vulnerability and use the name: CONTRIBUTING.md, SECURITY.md and TRADEMARKS.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to capture and analyze screenshots of macOS applications, windows, or the entire screen using local (Ollama) or cloud-based AI vision models, with non-intrusive, fast screen capture via Apple's ScreenCaptureKit.
      3
      9 npm
      2
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      Provides an MCP server for local low-power screen vision, enabling AI agents to perform OCR and UI detection on inaccessible screens (games, remote desktops) using NPU acceleration and system OCR.
      5
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enterprise-grade macOS MCP server that gives AI agents eyes, hands, and a terminal, enabling screen capture, mouse/keyboard control, shell commands, and file operations.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to control macOS desktop apps via screenshots, mouse clicks, keyboard input, accessibility queries, and AppleScript.
      11
      9 npm
      MIT