Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables AI assistants to analyze design images for composition, color harmony, typography, and accessibility compliance with actionable recommendations.

README.md

Design Critique MCP Server

![License: MIT](https://opensource.org/licenses/MIT) ![MCP Compatible](https://modelcontextprotocol.com) ![Node.js Version](https://nodejs.org)

A Model Context Protocol (MCP) server that provides comprehensive visual design analysis and critique capabilities. This server enables AI assistants to analyze design images for composition, color harmony, typography, and accessibility compliance.

Features

  • Comprehensive Design Critique: Analyzes overall design quality with actionable recommendations
  • Color Analysis: Extracts color palettes, analyzes harmony, and checks contrast ratios
  • Composition Analysis: Evaluates visual balance, grid alignment, and layout structure
  • Typography Analysis: Assesses font hierarchy, readability, and consistency
  • Accessibility Compliance: WCAG 2.1 compliance checking with color blindness simulation
  • Multi-Format Support: Works with web, mobile, print, and general design formats
  • Real-time Analysis: Fast image processing with optimized algorithms

Prerequisites

  • Node.js 18 or later
  • npm or yarn package manager
  • Canvas dependencies (automatically installed)

Installation

Quick Install for Cursor

![Install MCP Server](https://cursor.com/install-mcp?name=design-critique&config=eyJjb21tYW5kIjoibm9kZSIsImFyZ3MiOlsiL3BhdGgvdG8vZGVzaWduLWNyaXRpcXVlLW1jcC9kaXN0L2luZGV4LmpzIl19)

Note: After installation, update the file path to your actual installation directory.

Manual Installation

  1. Clone the repository:
git clone https://github.com/haasonsaas/design-critique-mcp.git
cd design-critique-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Claude Desktop Configuration

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "design-critique": {
      "command": "node",
      "args": ["/path/to/design-critique-mcp/dist/index.js"]
    }
  }
}

Available Tools

critique_design

Provides comprehensive design critique with visual analysis including composition, color harmony, typography, and accessibility.

Parameters:

  • image_data (required): Base64 encoded image data
  • design_type: Type of design - "web", "mobile", "print", or "general" (default: "web")
  • target_audience: Target audience description (optional)
  • brand_guidelines: Brand guidelines object (optional)
  • colors: Array of brand colors in hex format
  • fonts: Array of brand font names

Returns: Comprehensive analysis including:

  • Overall score (0-100)
  • Composition analysis with balance and grid alignment
  • Color analysis with harmony score and palette
  • Typography assessment with hierarchy and readability scores
  • Accessibility report with WCAG compliance
  • Actionable recommendations

analyze_color_scheme

Analyzes color palette and harmony in a design.

Parameters:

  • image_data (required): Base64 encoded image data

Returns:

  • Dominant colors with hex codes
  • Color harmony analysis
  • Contrast issues
  • Color relationships (complementary, analogous, etc.)

analyze_layout

Analyzes visual composition and layout structure.

Parameters:

  • image_data (required): Base64 encoded image data
  • design_type: Type of design - "web", "mobile", "print", or "general" (default: "web")

Returns:

  • Layout score (0-100)
  • Balance assessment (symmetrical/asymmetrical)
  • Grid alignment detection
  • Visual hierarchy analysis
  • White space evaluation

analyze_typography

Analyzes typography hierarchy, readability, and font usage.

Parameters:

  • image_data (required): Base64 encoded image data

Returns:

  • Font count and families detected
  • Hierarchy score (0-100)
  • Readability score (0-100)
  • Typography issues and recommendations

analyze_accessibility

Analyzes design accessibility including contrast, color blindness, and WCAG compliance.

Parameters:

  • image_data (required): Base64 encoded image data

Returns:

  • Accessibility score (0-100)
  • Contrast ratio checks
  • Color blindness simulation results
  • WCAG compliance issues
  • Accessibility recommendations

check_color_contrast

Checks contrast ratio between two specific colors.

Parameters:

  • foreground (required): Foreground color in hex format (e.g., "#000000")
  • background (required): Background color in hex format (e.g., "#ffffff")

Returns:

  • Contrast ratio
  • WCAG AA compliance (pass/fail)
  • WCAG AAA compliance (pass/fail)
  • Recommended use cases

Example Usage

Basic Design Critique

// In Claude Desktop
const result = await critique_design({
  image_data: "base64_encoded_image_data_here",
  design_type: "web",
  target_audience: "Young professionals aged 25-35"
});

Check Specific Color Contrast

const contrast = await check_color_contrast({
  foreground: "#333333",
  background: "#f0f0f0"
});
// Returns: { ratio: 11.2, passes_aa: true, passes_aaa: true }

Analyze Mobile App Design

const analysis = await critique_design({
  image_data: "base64_encoded_image_data",
  design_type: "mobile",
  brand_guidelines: {
    colors: ["#FF5722", "#00BCD4", "#FFC107"],
    fonts: ["Roboto", "Open Sans"]
  }
});

Use Cases

Design Reviews

  • Automated design quality assessment
  • Consistency checking across design systems
  • Pre-launch design validation

Accessibility Auditing

  • WCAG compliance verification
  • Color contrast validation
  • Color blindness impact assessment

Design Education

  • Learning design principles through AI feedback
  • Understanding composition and color theory
  • Improving typography choices

Brand Compliance

  • Checking designs against brand guidelines
  • Ensuring consistent visual language
  • Validating color palette usage

Development

# Run in development mode
npm run dev

# Run tests
npm test

# Lint code
npm run lint

# Type check
npm run typecheck

Architecture

The server uses a modular architecture with specialized analyzers:

┌─────────────────┐     ┌──────────────────┐     ┌─────────────────┐
│  MCP Client     │────▶│  Design Analysis │────▶│   Analyzers     │
│  (Claude)       │     │     Server       │     │  - Color        │
│                 │◀────│                  │     │  - Composition  │
└─────────────────┘     └──────────────────┘     │  - Typography   │
                                                  │  - Accessibility│
                                                  └─────────────────┘

Image Processing

  • Supports common image formats (PNG, JPEG, WebP)
  • Automatic image optimization for faster processing
  • Maximum image size: 10MB
  • Recommended resolution: 1920x1080 for web designs

Performance

  • Average analysis time: 2-5 seconds per image
  • Concurrent request handling
  • Memory-efficient image processing
  • Caching for repeated analyses

Troubleshooting

"Invalid image data"

  • Ensure the image is properly base64 encoded
  • Check that the image format is supported
  • Verify the image size is under 10MB

"Canvas not found" error

  • Run npm install canvas to install native dependencies
  • On macOS: May need to install Cairo graphics library
  • On Linux: Install required system dependencies

Analysis taking too long

  • Large images may take longer to process
  • Consider resizing images before analysis
  • Check system resources (CPU/memory)

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Jonathan Haas - GitHub Profile

Acknowledgments

  • Built for integration with Anthropic's Claude via MCP
  • Uses sharp for image processing
  • Powered by chroma-js for color analysis
  • Typography detection with Tesseract.js
  • Accessibility standards from WCAG 2.1

Support

If you encounter any issues or have questions:

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use AI & ML servers.