Refero Design Styles

Looks for design.md file in refero styles to make your UI design better.

refero-styles-mcp-server

An MCP server that searches styles.refero.design for design systems that match your project's idea, needs, and style — returning ready-to-use design.md documentation.

Tools

ToolDescription
refero_list_stylesBrowse the curated catalog with pagination
refero_search_stylesSearch by keyword, mood, brand, or color
refero_get_design_mdFetch the full design.md for a specific style
refero_match_stylePrimary tool — match styles to your project description

Quick Start

npm install
npm run build
node dist/index.js

Usage with Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Example Prompts

Find a design style for my dark SaaS dashboard targeting developers.
Match a design.md for a clean fintech mobile app, light theme.
Get the full design.md for Linear's design system.

How It Works

  1. refero_match_style fetches all styles from the Refero API (~60 styles across 3 pages)
  2. Scores each style against your description using mood detection, keyword matching, and color scheme alignment
  3. Returns the top N matches ranked by score with their reasons
  4. Fetches and returns the full design.md for the top match — ready to paste into your AI coding prompt

Project Structure

src/
├── index.ts              # Server entry point
├── constants.ts          # API URLs and limits
├── types.ts              # TypeScript interfaces
├── services/
│   └── referoApi.ts      # API client for styles.refero.design
├── tools/
│   ├── listStyles.ts     # refero_list_styles
│   ├── searchStyles.ts   # refero_search_styles
│   ├── getDesignMd.ts    # refero_get_design_md
│   └── matchStyle.ts     # refero_match_style
└── utils/
    ├── designMd.ts       # Generates design.md from JSON data
    └── errors.ts         # API error handling

Máy chủ liên quan

NotebookLM Web Importer

Nhập trang web và video YouTube vào NotebookLM chỉ với một cú nhấp. Được tin dùng bởi hơn 200.000 người dùng.

Cài đặt tiện ích Chrome