TokenLens: open-source macOS menu bar OCR app with local MCP server to save AI tokens
Inner_Try3695 · reddit · 2026-11-28
A first-time developer shares TokenLens, a free open-source Swift menu bar app that turns your screen into structured OCR text locally to stop burning AI tokens on screenshot pastes:
- Offline macOS OCR via ScreenCaptureKit + Apple Vision, with [x,y] coordinates (0–1000) and automatic layout sections ([Top], [Left], [Main], etc.)
- Local MCP server (--mcp) exposing 5 tools (listwindows, readactivewindow, readfullscreen, readwindow, capturewindowimage with crop), plus section/coords filtering and a diff: true mode for multi-turn sessions
- Lightweight: customizable shortcuts (Option+X / Option+Z), zero external dependencies, only Screen Recording permission
Not Apple-notarized yet — requires one xattr -cr run, steps in the README.
More from coding & agent
- Build engines before agents: Reddit long-read on engine-driven enterprise AI architecture — Kileo0519 · 2026-11-28
- End-user programming pioneer Jonathan Odell: AI killed the field, and he's thankful — round · 2026-11-28
- lineup: open-source CLI reviews coding-agent diffs and flags risky edits automatically — Several-Coyote3534 · 2026-11-28
- Dev runs an MCP server inside WordPress so Claude builds pages clients can edit without code — Loose-Following1839 · 2026-11-28
- Dev runs 7-second build bot for free on Cloudflare Durable Objects — aloncarmel · 2026-11-28
- AFK Pilot Desktop ships: run Claude Code, Codex, Grok and Muse agents without an IDE — PawelHuryn · 2026-11-28