statelens

zhizhongs/statelens
★ 0 stars TypeScript 💻 Code/Dev Tools Updated 4d ago
Open-source MCP server for UI agent observation compression. Filters redundant screenshots, extracts semantic state changes, cuts VLM calls by ~85%. Works with Cursor, Claude Code, and any MCP client.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "statelens": {
      "command": "npx",
      "args": [
        "-y",
        "zhizhongs/statelens"
      ]
    }
  }
}

README Excerpt

> Open-source MCP server for UI agent observation compression. **Measured 70-82% input-token reduction and 81-90% cost reduction on real Anthropic API calls, with 78-100% event-capture accuracy** across two screenshot scenarios. See [`RESULTS.md`](./RESULTS.md) for the full numbers. Computer-use and UI-testing agents call a vision model after every action. Most consecutive screenshots are visually identical or only differ in trivial ways. The agent still pays full-resolution image tokens to redi

Tools (4)

statelens_comparestatelens_observestatelens_resetstatelens_timeline