
Uimax Mcp
io.github.prembobby39-gif由 GitHub 账号 prembobby39-gif 发布v0.7.0更新于 Oct 24, 2026
Frontend expert for Claude Code. Screenshots, Lighthouse, axe-core, code analysis, auto-fix.
概览
一个本地 MCP 服务器,让 Claude Code 对网页界面截图、审计和评审,并直接修改源码修复发现的问题。
- 可以做什么
- 运行完整 UI 评审流程:截图、Lighthouse、axe-core 无障碍、Core Web Vitals、SEO 与代码分析,生成字母等级评分卡并保存历史,还支持修复验证与站点对比。截取普通、响应式和深色模式截图,做像素级或语义化前后对比。执行 Lighthouse、SEO、PWA、安全、性能、未使用代码、LCP 和无障碍审计。用基于 AST 的规则和可配置预算分析源码。操作页面:导航、点击、输入、选择、滚动、等待和查看元素。捕获控制台消息、网络请求和错误,最多爬取 10 个页面,并导出独立 HTML 报告。
- 适用场景
- 适合在开发或维护 Web 前端时,让助手审计运行中的应用或公开网站的无障碍、性能、SEO 和代码质量,然后应用修复并验证效果。也适合做修改前后的视觉对比和竞品基准比较。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 或全局 npm 安装。需要 Node.js 18 或更高版本,以及供 Puppeteer 使用的系统 Chrome/Chromium。README 称无需 API 密钥,并在 Claude Code 中使用。被审计的网址必须能从本机访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Uimax Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
UIMax MCP
Turns Claude Code into a frontend expert that reviews and fixes your UI automatically.
[npm version] [npm downloads] [license] [37 tools] [463 tests passing] [free for Pro plan]
One command — "review my UI at localhost:3000" — and it:
- Sees your app — captures a real screenshot via Puppeteer
- Audits accessibility — runs axe-core for WCAG 2.1 violations
- Runs Lighthouse — real Google Lighthouse scores (Performance, Accessibility, Best Practices, SEO)
- Measures performance — captures Core Web Vitals (FCP, LCP, CLS, TBT)
- Audits SEO — 18 checks: meta tags, Open Graph, Twitter cards, structured data, heading hierarchy, canonical URLs
- Scans your code — AST-based analysis for 25+ anti-patterns across accessibility, design, and code quality
- Grades everything — per-section Report Card with letter grades (A+ through F) for Accessibility, Performance, Best Practices, SEO, and Code Quality
- Generates an expert review — Claude acts as a senior frontend engineer with a baked-in review methodology
- Implements the fixes — edits your actual code files, starting from critical issues down
- Tracks everything — auto-saves review history so you can see progress over time
Works on any URL — localhost, staging, production. Any site your machine can reach.
Free for all Claude Code users (Pro plan and above). No API keys. No extra costs. Just install and go.
Quick Start
Install as MCP Server (for Claude Code)
That's it. Now in any Claude Code conversation:
Install Globally
Tools (37)
Review Pipeline
Screenshots & Visual
Lighthouse, Performance & SEO
Code Analysis
Browser Interaction
Debugging
Multi-Page
Baselines & Budgets
Review History
Every review is auto-saved. When you run
review_ui, the results are automatically persisted to.uimax-reviews.json. No manual save needed — just ask "show me my review history" anytime.
Report Card (A+ through F)
Every review_ui run now generates a per-section Report Card with letter grades on a 13-tier scale:
Grades appear in:
review_uioutput — Report Card table at the top of every reviewexport_reportHTML — color-coded grade cards (green A -> red F)compare_to_baseline— grade transitions showing improvement (e.g.,D -> B+ (+22))get_review_history/get_review_stats/review_diff— grades alongside numeric scores for quick scanning
The grading scale: A+ (97+) > A (93+) > A- (90+) > B+ (87+) > B (83+) > B- (80+) > C+ (77+) > C (73+) > C- (70+) > D+ (67+) > D (63+) > D- (60+) > F (<60)
AST-Powered Code Analysis
The analyze_code tool uses the TypeScript compiler API for .ts/.tsx/.js/.jsx files — catching bugs that regex misses with zero false positives.
Falls back to regex for file types that can't be AST-parsed and for rules without AST implementations (hardcoded colors, z-index, font sizes, etc.).
Configuration
Create a .uimaxrc.json in your project root to customize code analysis and performance budgets:
rules— Set any rule to"off","warn", or"error"severity— Override severity:"low","medium","high","critical"ignore— Additional glob patterns to exclude from analysisbudgets— Performance thresholds enforced by thecheck_budgetstool
UIMax searches for .uimaxrc.json in the target directory and up to 3 parent directories, so it works in monorepos.
Prompts
Expert review prompts that guide Claude's analysis:
Example Workflows
Full Review (the main workflow)
Review Any Public Website
Track Progress Over Time
Interact with Your App
Deep Performance Analysis
Verify Fixes (Close the Loop)
Competitive Benchmarking
SEO Audit
Debug Page Load Issues
Before/After Comparison
Semantic Visual Review
Enforce Performance Budgets
Generate Shareable Report
Multi-Page Audit
What Claude Reviews
When using the full review_ui pipeline, Claude evaluates:
Code Analysis Rules
The analyze_code tool checks for 25+ rules across categories:
All rules can be toggled via .uimaxrc.json.
Supported Frameworks
Auto-detected from package.json:
- React / Next.js
- Vue / Nuxt
- Svelte / SvelteKit
- Angular
- Plain HTML/CSS/JS
Requirements
- Node.js >= 18.0.0
- Chrome/Chromium (uses your system Chrome — no extra download)
- Claude Code (for MCP integration)
- No API keys needed — runs entirely within Claude Code using your existing Pro plan
How It Works
CI / GitHub Action
UIMax ships with a reusable GitHub Action that runs audits on every PR and posts a Report Card comment.
Quick Setup
Copy the example workflow to your project:
Action Inputs
Action Outputs
The action updates existing UIMax comments on re-push (no duplicate comments).
See examples/uimax-ci.yml for a complete working example.
Development
Contributing
Contributions welcome! Some ideas:
- CSS specificity analyzer
- Design token extraction
- Framework-specific checks (Vue composition API, Svelte stores)
- Visual regression with pixel-level diffing
- Performance budgets (fail if scores drop below thresholds)
- Browser interaction (click, type, scroll, navigate)
- Console and network capture
- Deep Lighthouse analysis (PWA, security, unused code, LCP, resources)
- AI-powered semantic visual comparison
- Review history tracking with auto-save
- Dedicated SEO audit (18 checks, weighted scoring)
- Per-section letter grades (A+ through F Report Card)
- Verify fixes (before/after comparison with grade transitions)
- Competitive benchmarking (side-by-side site comparison)
- CI/CD integration (GitHub Action for automated review on PR)
- Custom rule plugins (user-defined regex rules)
- Figma design comparison (screenshot vs Figma mock)
- Cross-browser testing (Firefox, WebKit via Playwright)
License
MIT
来源:README.md,提交 66a3819
工具
0版本历史
1- v0.7.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分