@loftlyy/mcp
v0.1.0
Published
MCP server for Loftlyy brand identity data — search, explore, and generate branding guides
Readme
@loftlyy/mcp
MCP (Model Context Protocol) server for the Loftlyy brand identity database. Search, explore, and generate branding guides powered by real-world brand data.
What is Loftlyy?
Loftlyy is a brand identity reference — like Mobbin but for branding. It catalogs colors, typography, logos, and design systems for 50+ brands. This MCP server makes that data directly accessible to LLMs.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"loftlyy": {
"command": "npx",
"args": ["-y", "@loftlyy/mcp"]
}
}
}Claude Code
claude mcp add loftlyy -- npx -y @loftlyy/mcpCursor / Other MCP Clients
Use stdio transport with npx -y @loftlyy/mcp.
Tools
| Tool | Description |
| ---------------- | --------------------------------------------------------------------------- |
| list-brands | List all brands with name, industry, categories, and summaries |
| get-brand | Get complete brand profile by slug (colors, typography, assets, philosophy) |
| search-brands | Search by text keywords or hex color codes |
| filter-brands | Filter by industry, tags, color families, typography styles |
| similar-brands | Find similar brands using weighted scoring algorithm |
| brand-palette | Get a brand's color palette with hex codes and usage |
| brand-facets | Get all available filter values |
Example Usage
"What colors does Stripe use?" → The LLM calls
brand-palettewith slugstripe
"Find brands similar to Apple" → The LLM calls
similar-brandswith slugapple
"Show me fintech brands with blue color schemes" → The LLM calls
filter-brandswithindustries: ["fintech"]andcolorFamilies: ["blue"]
Resources
| URI Pattern | Description |
| ---------------- | --------------------------------------- |
| brand://{slug} | Complete brand identity profile as JSON |
Resources are application-controlled data that clients can subscribe to. Each brand is available as a brand://{slug} resource containing the full brand profile.
Prompts
| Prompt | Description |
| ------------------------- | -------------------------------------------------------------------------------- |
| generate-branding-guide | Generate a complete branding guide for your company inspired by reference brands |
| compare-brands | Compare branding strategies of 2-5 brands side by side |
| suggest-color-palette | Get data-driven color palette suggestions based on real brand palettes |
Generate Branding Guide
The primary workflow — create a brand identity for your company:
- Use
list-brandsorsearch-brandsto find reference brands - Select the
generate-branding-guideprompt - Provide your company details and reference brand slugs
- Get a complete branding guide with colors, typography, logo direction, and brand voice
Compare Brands
Analyze how 2-5 brands approach their visual identity differently — color strategies, typography choices, and brand positioning.
Suggest Color Palette
Get 3 unique palette suggestions grounded in real brand color data. Filter by color family, reference brand, or industry.
Configuration
| Environment Variable | Description | Default |
| -------------------- | ------------------------------------------- | --------------------- |
| LOFTLYY_SOURCE | Data source: local or remote | Auto-detected |
| LOFTLYY_BASE_URL | Remote API base URL | https://loftlyy.com |
| LOFTLYY_ROOT_DIR | Root directory for local source | process.cwd() |
| LOFTLYY_STRICT | Fail on invalid brand data (true/false) | false |
Data Source
- Remote (default): Fetches brand data from
https://loftlyy.com/api/cli - Local: Reads brand data from TypeScript files in
data/brands/(auto-detected when running inside the Loftlyy repo)
Development
Build
cd mcp
npm install
npm run buildTest with MCP Inspector
LOFTLYY_SOURCE=local \
LOFTLYY_ROOT_DIR=/path/to/loftlyy \
npx @modelcontextprotocol/inspector node /path/to/loftlyy/mcp/dist/index.jsLocal Development Config
{
"mcpServers": {
"loftlyy": {
"command": "node",
"args": ["/path/to/loftlyy/mcp/dist/index.js"],
"env": {
"LOFTLYY_SOURCE": "local",
"LOFTLYY_ROOT_DIR": "/path/to/loftlyy"
}
}
}
}When running the built server from outside the repo root, set LOFTLYY_ROOT_DIR explicitly to your Loftlyy checkout so local mode can read data/brands/ instead of falling back to the client's current working directory.
Publishing
npm --prefix mcp version [patch|minor|major]
npm --prefix mcp publish --access public