npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

page-design-guide-mcp

v1.0.10

Published

MCP server providing modern web design guidance, color psychology, typography, layout patterns, and UI best practices for AI assistants

Downloads

740

Readme

Page Design Guide MCP Server

An MCP (Model Context Protocol) server that provides design guidance to help LLMs generate better, more modern web pages. This server focuses on teaching design principles and best practices rather than providing code templates.

Features

  • [layout] Layout Guidance - When and how to use F-Pattern, Z-Pattern, Bento Grid, etc.
  • [palette] Color Psychology - Color meanings, scheme types, and palette recommendations
  • [type] Typography - Hierarchy, font pairings, and readability best practices
  • [grid] Responsive Design - Mobile-first strategies and breakpoint guidance
  • [layers] Visual Hierarchy - Principles of contrast, whitespace, alignment
  • [component] Component Guidance - Design principles for buttons, cards, forms, navigation
  • [motion] Animation Principles - Timing, purpose, and performance considerations
  • [accessibility] Accessibility - WCAG compliance, contrast ratios, semantic HTML
  • [sparkles] Modern Trends - Current design trends and when to use them
  • [check] Design Review - Analyze design descriptions and get recommendations

Setup with Claude Desktop

Add this to your Claude Desktop configuration file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Option 1: Global Installation (Recommended)

{
  "mcpServers": {
    "page-design-guide": {
      "command": "npx",
      "args": ["-y", "page-design-guide-mcp"]
    }
  }
}

Option 2: Local Installation

{
  "mcpServers": {
    "page-design-guide": {
      "command": "node",
      "args": ["/absolute/path/to/node_modules/page-design-guide-mcp/build/index.js"]
    }
  }
}

Replace /absolute/path/to with the actual path to your project's node_modules directory.

Setup with OpenCode

Your opencode.json configuration file should include:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "page-design-guide": {
      "type": "local",
      "command": ["npx", "-y", "page-design-guide-mcp"],
      "enabled": true
    }
  }
}

Usage

Once connected, you can ask Claude questions like:

  • "What design principles should I follow for this landing page?"
  • "Which layout works best for a portfolio site?"
  • "What colors convey trust and professionalism?"
  • "How should I structure the hero section?"
  • "What are common mistakes to avoid with typography?"
  • "How do I make this accessible?"
  • "Review my design approach for this e-commerce page"

Available Tools

get_design_principles

Get foundational design principles (hierarchy, whitespace, contrast, alignment, etc.) with guidelines and common mistakes to avoid.

get_layout_guidance

Get layout recommendations based on page type. Explains when and why to use F-Pattern, Z-Pattern, Bento Grid, Split Screen, etc.

get_color_guidance

Get color psychology, scheme types (monochromatic, complementary, etc.), and palette recommendations based on mood and industry.

get_typography_guidance

Get typography hierarchy, font pairing recommendations for different styles, and best practices for readable text.

get_section_guidance

Get guidance for specific page sections: header, hero, features, testimonials, pricing, cta, footer, faq - including purpose, structure, and best practices.

get_responsive_guidance

Get responsive design principles, breakpoint strategies, and mobile-first best practices.

get_component_guidance

Get design guidance for UI components: buttons, cards, forms, navigation, modals, icons - including sizing, states, and accessibility.

get_animation_guidance

Get animation principles, timing guidelines, and performance considerations for different types of motion.

get_accessibility_guidance

Get accessibility requirements including contrast ratios, focus states, semantic HTML, and motion preferences.

get_modern_trends

Get current web design trends (2024-2026) with guidance on when and how to use them appropriately.

review_design_approach

Describe your design and get feedback with scores, identified strengths, concerns, and recommendations.

Project Structure

page-design-guide-mcp/
├── src/
│   └── index.ts          # Main MCP server code
├── build/                # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md

Development

For development with auto-rebuild on changes:

npm run watch

Requirements

  • Node.js >= 18.0.0
  • Claude Desktop app

License

MIT