
Refero Design Styles
from faridjafarlee
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
Tool Description
refero_list_styles Browse the curated catalog with pagination
refero_search_styles Search by keyword, mood, brand, or color
refero_get_design_md Fetch the full design.md for a specific style
refero_match_style Primary tool β match styles to your project description
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
-
refero_match_stylefetches all styles from the Refero API (~60 styles across 3 pages) -
Scores each style against your description using mood detection, keyword matching, and color scheme alignment
-
Returns the top N matches ranked by score with their reasons
-
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
npm install
npm run build
node dist/index.jsQuick 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"]
}
}
}
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.