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 Distribution

ux_lens-0.1.1.tar.gz (61.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file ux_lens-0.1.1.tar.gz.

File metadata

  • Download URL: ux_lens-0.1.1.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for ux_lens-0.1.1.tar.gz
Algorithm Hash digest
SHA256 83a850ea9b9bf35fb158b2d0f6080f3e8a8ab276908fcf5b13653fa8959efefd
MD5 8b4bb7d51dac515bb2c1566efd1ab134
BLAKE2b-256 b46c869b104c885685b37bbec6005997e2caaa0670153c145161d8e696fe15f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ux_lens-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de7537b46aa811c3e2396c4907603f854b5b8cd52885a23b96829073c583cb46
MD5 d1dfc32ae9796cdad9edac48afbb8cbd
BLAKE2b-256 c0bf36145578b23e61baa3c3b50340f0fcdcc8f01f4073dc755d236b3dca8f50

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