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
- Launches a browser and records your interaction with any website
- Sends the video to Gemini 3 Flash Preview for analysis
- 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 togemini-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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff2765cc1aad7cdddd4857397025f299d9f38c67fcb6c58e00969894ddd37e42
|
|
| MD5 |
56c3acfc0213c2ac7cd6e89153c462d9
|
|
| BLAKE2b-256 |
9129f77498c0cba720a4e99285750382868196e777c166565c4eceb915e669ac
|