design-critique-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@design-critique-mcp Critique this mobile app design for accessibility"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Design Critique MCP Server
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
Related MCP server: AI-Canvas MCP Server
Prerequisites
Node.js 18 or later
npm or yarn package manager
Canvas dependencies (automatically installed)
Installation
Quick Install for Cursor
Note: After installation, update the file path to your actual installation directory.
Manual Installation
Clone the repository:
git clone https://github.com/haasonsaas/design-critique-mcp.git
cd design-critique-mcpInstall dependencies:
npm installBuild the project:
npm run buildConfiguration
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 datadesign_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 formatfonts: 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 datadesign_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 typecheckArchitecture
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 canvasto install native dependenciesOn 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
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
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:
Open an issue on GitHub Issues
Review the troubleshooting section above
Check the MCP documentation
Available Tools
6 toolsanalyze_accessibilityB
Analyze design accessibility including contrast, color blindness, and WCAG compliance
Inputs: image_data (required).
analyze_color_schemeB
Analyze color palette and harmony in a design
Inputs: image_data (required).
analyze_layoutC
Analyze visual composition and layout structure
Inputs: image_data (required), design_type.
analyze_typographyA
Analyze typography hierarchy, readability, and font usage
Inputs: image_data (required).
check_color_contrastB
Check contrast ratio between two specific colors
Inputs: background (required), foreground (required).
critique_designB
Provide comprehensive design critique with visual analysis including composition, color harmony, typography, and accessibility
Inputs: image_data (required), design_type, target_audience, brand_guidelines.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
critique_design encompasses the focused analyze_* tools, which could cause selection ambiguity, but the descriptions clearly distinguish comprehensive critique from targeted analysis. check_color_contrast is a specific utility that overlaps slightly with analyze_accessibility but serves a distinct quick-check purpose.
All tools follow a clear verb_noun pattern: analyze_* for focused analyses, critique_design for the comprehensive critique, and check_color_contrast for a specific check. The pattern is consistent and predictable.
With 6 tools, the server is well-scoped for its purpose. Each tool covers a distinct aspect of design critique, and the count feels appropriate—not too sparse, not overwhelming.
The tool set covers the full spectrum of design critique: overall design, color, layout, typography, and accessibility. No obvious gaps exist for the stated purpose, and the combination of a comprehensive critique plus focused analyses provides flexibility.
Maintenance
Related MCP Connectors
Checks, prompts and skills for designers working with AI: contrast, a11y, heuristics, critique.
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
Run accessibility, contrast, and design token audits and file QA issues from your AI coding tool.
Run AI-powered analysis on images including moderation, captioning, tagging, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read and modify Figma designs programmatically, supporting design analysis, element creation, text replacement, annotations, auto-layout configuration, and prototype visualization through natural language commands.2,097 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to inspect, modify, export, and validate design documents with 47 tools covering design, code generation, branding, and print/mockup workflows.5 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to extract design systems, analyze components, and maintain design-code consistency from Figma files, providing intelligent component analysis and accessibility compliance.42 npm27MIT
- AlicenseNot gradedqualityDmaintenanceAnalyzes images via OpenAI-compatible vision APIs, returning structured JSON for layout, components, colors, typography, and issues, with tools for single image analysis, comparison, and clipboard image analysis.7 npmMIT