MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

UIMax MCP — Turns Claude Code into a frontend expert that reviews and fixes your UI automatically. Free for Pro plan users.

创建于 3/25/2026
更新于 about 4 hours ago
Repository documentation and setup instructions

UIMax MCP

Turns Claude Code into a frontend expert that reviews and fixes your UI automatically.

npm version license MCP compatible free for Pro plan

One command — "review my UI at localhost:3000" — and it:

  1. Sees your app — captures a real screenshot via Puppeteer
  2. Audits accessibility — runs axe-core for WCAG 2.1 violations
  3. Measures performance — captures Core Web Vitals (FCP, LCP, CLS, TBT)
  4. Scans your code — checks for 15+ anti-patterns across accessibility, design, and code quality
  5. Generates an expert review — Claude acts as a senior frontend engineer with a baked-in review methodology covering visual design, UX, accessibility, performance, and creative improvements
  6. Implements the fixes — edits your actual code files, starting from critical issues down

Free for all Claude Code users (Pro plan and above). No API keys. No extra costs. Just install and go.

claude mcp add uimax -- npx -y uimax-mcp

The Problem

You're building a frontend. You want expert-level feedback on your UI — visual design, accessibility, performance, code quality. Normally you'd need to:

  1. Take screenshots manually
  2. Run Lighthouse / axe separately
  3. Review your own code with fresh eyes
  4. Compile all findings into a coherent review
  5. Then figure out the fixes

That's 5 steps too many.

Quick Start

Install as MCP Server (for Claude Code)

# Add to Claude Code — that's it, no API keys needed
claude mcp add uimax -- npx -y uimax-mcp

That's it. Now in any Claude Code conversation:

You: Review the UI at http://localhost:3000, source code is in ./src

Claude Code calls review_ui →
  1. 📸 Captures screenshot of your running app
  2. ♿ Runs axe-core accessibility audit
  3. ⚡ Measures Core Web Vitals
  4. 🔍 Scans source code for anti-patterns
  5. 🧠 Returns screenshot + all data + expert review methodology
  6. 📋 Claude Code generates expert review (using YOUR Pro plan — $0 extra)
  7. 🔧 Claude Code implements every fix automatically

Install Globally

npm install -g uimax-mcp

Tools

The MCP server exposes 9 tools that Claude uses automatically:

review_ui ⭐ THE Primary Tool — Full Automated Pipeline

This is the magic. One tool that does everything:

  1. Captures screenshot of your running app
  2. Runs accessibility audit (axe-core)
  3. Measures Core Web Vitals
  4. Analyzes your source code
  5. Returns ALL data + expert frontend review methodology to Claude Code
  6. Claude Code generates the expert review and implements fixes
Input: URL + code directory
Output: Screenshot + audit data + expert methodology
→ Claude Code generates review + implements every fix

100% free for Pro plan users. The MCP handles data collection. Claude Code (your existing subscription) handles the expert review and implementation. No API keys. No extra charges.

quick_review

Fast design-only review. Captures a screenshot and returns it with a focused design methodology. No code analysis, no performance audit. Good for rapid iteration.

screenshot

Captures a high-resolution PNG screenshot of any URL. Claude can see the image directly and analyze visual design, layout, spacing, typography, and color usage.

Input: URL, viewport size, full-page option
Output: PNG image + metadata

responsive_screenshots

Captures screenshots at mobile (375px), tablet (768px), and desktop (1440px) viewports. Perfect for reviewing responsive design.

check_dark_mode 🌙

Detects whether your app supports dark mode. Captures two screenshots — light mode and dark mode (emulated via prefers-color-scheme: dark) — and compares them. Returns both screenshots + a difference percentage. If 0% difference, dark mode isn't implemented.

accessibility_audit

Injects axe-core into the page and runs a WCAG 2.1 Level A & AA audit. Returns violations grouped by severity with fix instructions.

performance_audit

Measures Core Web Vitals using the browser's Performance API:

  • First Contentful Paint (FCP)
  • Largest Contentful Paint (LCP)
  • Cumulative Layout Shift (CLS)
  • Total Blocking Time (TBT)
  • DOM node count, resource count, JS heap size

analyze_code

Scans frontend source files for 25+ categories of issues:

  • Missing alt attributes, form labels, ARIA, viewport meta
  • !important abuse, hardcoded colors, z-index chaos, font sizes < 12px
  • Console.logs, TODO/FIXMEs, any types, empty catch blocks
  • React hooks in conditionals, missing key props, inline event handlers
  • Direct DOM access in React/Vue, missing error boundaries
  • Large files, deep nesting, inline styles
  • Missing lazy loading, full library imports
  • :focus without :focus-visible

Prompts

The server also provides expert review prompts that guide Claude's analysis:

| Prompt | Use Case | |--------|----------| | ui-review | Comprehensive review methodology (design + UX + a11y + perf + code) | | responsive-review | Responsive design review across viewports | | quick-design-review | Fast visual/UX feedback from a screenshot only |

Example Workflows

Full Review

You: Review the UI at http://localhost:3000
     Source code is in /Users/me/project/src

Claude: [Calls review_ui tool]
        [Sees screenshot, reads audit data, follows expert methodology]
        [Generates comprehensive review with 20+ findings]
        [Implements every fix automatically]

Responsive Check

You: Check if my site is responsive - http://localhost:3000

Claude: [Calls responsive_screenshots tool]
        [Sees mobile, tablet, desktop views]
        [Identifies layout issues at each breakpoint]

Quick Design Feedback

You: Take a screenshot of localhost:3000 and tell me
     what a senior designer would change

Claude: [Calls quick_review tool]
        [Provides focused design feedback + implements fixes]

Accessibility Only

You: Run an accessibility audit on http://localhost:3000

Claude: [Calls accessibility_audit tool]
        [Reports WCAG violations with fix instructions]

What Claude Reviews

When using the ui-review prompt methodology, Claude evaluates:

Visual Design

  • Layout and grid alignment
  • Typography hierarchy and readability
  • Color consistency and contrast
  • Visual rhythm and whitespace
  • Border radius, shadows, icon consistency

User Experience

  • Navigation clarity and flow
  • Interaction states (hover, active, focus)
  • Loading, error, and empty states
  • Edge cases (overflow, missing data)

Accessibility

  • WCAG 2.1 Level AA compliance
  • Keyboard navigation
  • Screen reader compatibility
  • Color contrast ratios
  • Focus management

Performance

  • Core Web Vitals scoring
  • Render-blocking resources
  • Image optimization opportunities
  • Bundle size concerns

Code Quality

  • Component architecture
  • CSS organization
  • State management patterns
  • Error boundary coverage
  • TypeScript type safety

Creative Improvements

  • Modern UI patterns from Linear, Vercel, Raycast
  • Micro-interaction opportunities
  • Animation suggestions
  • Quick wins for perceived quality

Code Analysis Rules

The analyze_code tool checks for 25+ rules across categories:

| Rule | Severity | Category | |------|----------|----------| | img-no-alt | High | Accessibility | | click-no-keyboard | High | Accessibility | | no-form-label | High | Accessibility | | no-lang-attr | Medium | Accessibility | | missing-viewport-meta | High | Accessibility | | no-focus-visible | Medium | Accessibility | | console-log | Low | Code Quality | | todo-fixme | Low | Code Quality | | inline-style | Medium | Code Quality | | any-type | Medium | Code Quality | | magic-number | Low | Code Quality | | empty-catch | High | Code Quality | | react-hooks-conditional | High | Code Quality | | missing-key-prop | High | Bug | | direct-dom-access | Medium | Code Quality | | event-handler-inline | Low | Code Quality | | important-css | Medium | Design | | hardcoded-color | Low | Design | | z-index-high | Medium | Design | | font-too-small | Medium | Design | | no-lazy-image | Medium | Performance | | large-bundle-import | Medium | Performance | | no-error-boundary | Medium | UX | | missing-meta-description | Medium | UX | | large-file | Medium/High | Code Quality | | deep-nesting | Medium/High | Code Quality |

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

┌──────────────────────────────────────────────────────────────────┐
│                  Claude Code (your Pro plan)                      │
│                                                                  │
│  User: "Review my UI at localhost:3000 and fix everything"       │
│           │                                                      │
│           ▼                                                      │
│  ┌──────────────────────────────────────────────────────────┐    │
│  │              UIMax MCP (data collection)                  │    │
│  │                                                          │    │
│  │  📸 Screenshot ───► Puppeteer ───► PNG Image             │    │
│  │  ♿ Accessibility ► axe-core ────► WCAG Violations       │    │
│  │  ⚡ Performance ──► Perf API ───► Web Vitals            │    │
│  │  🔍 Code Scan ────► File Analysis ► Anti-patterns       │    │
│  │  📋 Expert Prompt ► Baked-in review methodology          │    │
│  └──────────────────────┬───────────────────────────────────┘    │
│                         │                                        │
│                         ▼                                        │
│  Claude Code receives: screenshot + data + expert methodology    │
│                         │                                        │
│                         ▼                                        │
│  🧠 Claude acts as world-class frontend expert (FREE — Pro plan) │
│     Generates comprehensive review with exact fixes              │
│                         │                                        │
│                         ▼                                        │
│  🔧 Claude implements every fix in the codebase automatically   │
│                                                                  │
└──────────────────────────────────────────────────────────────────┘

Development

# Clone
git clone https://github.com/prembobby39-gif/uimax-mcp.git
cd uimax-mcp

# Install
npm install

# Build
npm run build

# Test locally with Claude Code
claude mcp add uimax-dev -- node /path/to/uimax-mcp/dist/index.js

Contributing

Contributions welcome! Some ideas:

  • [ ] Additional code analysis rules
  • [ ] CSS specificity analyzer
  • [ ] Design token extraction
  • [ ] Lighthouse integration
  • [ ] Visual regression comparison
  • [ ] Framework-specific checks (React hooks, Vue composition API)
  • [ ] Custom rule configuration
  • [ ] HTML report export

License

MIT

快速设置
此服务器的安装指南

安装包 (如果需要)

npx @modelcontextprotocol/server-uimax-mcp

Cursor 配置 (mcp.json)

{ "mcpServers": { "prembobby39-gif-uimax-mcp": { "command": "npx", "args": [ "prembobby39-gif-uimax-mcp" ] } } }