
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 分