Skip to main content

MCP server for browser-based UX critique with Gemini

Project description

UX Lens

An MCP server that captures browser interactions and uses Gemini 3 Flash Preview to provide comprehensive UX/frontend critique.

What it does

  1. Launches a browser and records your interaction with any website
  2. Sends the video to Gemini 3 Flash Preview for analysis
  3. Returns detailed UX/frontend feedback

Installation

# Clone and install
git clone https://github.com/nice-bills/ux-lens.git
cd ux-lens
uv tool install .

Configuration

This tool requires a Gemini API key. You can also optionally configure the model.

Environment Variables

  • GEMINI_API_KEY: Your Google Gemini API key (Required)
  • GEMINI_MODEL: The model to use (Optional, defaults to gemini-3-flash-preview)

Usage

With MCP Clients (Claude Code, Gemini CLI)

Add to your MCP configuration (e.g., ~/.gemini/settings.json or claude_code_config.json):

{
  "mcpServers": {
    "ux-watcher": {
      "command": "ux-watcher",
      "env": {
        "GEMINI_API_KEY": "your-key-here",
        "GEMINI_MODEL": "gemini-3-flash-preview"
      }
    }
  }
}

Then simply ask the assistant:

"Check the UX of https://example.com"

Direct CLI

If you have installed it as a tool, you can run the server directly:

ux-watcher

Requirements

  • Python 3.11+
  • Chromium browser (installed automatically by Playwright)
  • Gemini API key

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ux_lens-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file ux_lens-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ux_lens-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for ux_lens-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2765cc1aad7cdddd4857397025f299d9f38c67fcb6c58e00969894ddd37e42
MD5 56c3acfc0213c2ac7cd6e89153c462d9
BLAKE2b-256 9129f77498c0cba720a4e99285750382868196e777c166565c4eceb915e669ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page