mcp-mirage-brand-extract
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., "@mcp-mirage-brand-extractextract brand identity from airbnb.com"
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.
mcp-mirage-brand-extract
An MCP (Model Context Protocol) server that extracts brand identity from any website and recreates it programmatically.
Features
Extract Brand - Analyze any website to extract colors, typography, spacing, and button styles
Generate Replica - Create HTML/CSS components using extracted brand data
Replicate Website - One-step extraction and generation
Compare Brands - Compare brand identities between two websites
Apply to Template - Generate pre-built templates with extracted branding
Related MCP server: the-designer
Requirements
Python 3.11+
Firecrawl API key (get one here)
Google Generative AI API key (get one here)
Installation
Using uv (recommended)
cd mcp-mirage-brand-extract
uv pip install -e .Using pip
cd mcp-mirage-brand-extract
pip install -e .Configuration
Copy the environment template:
cp .env.example .envAdd your API keys to
.env:
FIRECRAWL_API_KEY=your_firecrawl_key
GOOGLE_API_KEY=your_google_keyUsage
Running the Server
# With uv
uv run python server.py
# Or directly
python server.pyTesting with MCP Inspector
mcp dev server.pyAdding to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mirage-brandextract": {
"command": "python",
"args": ["/path/to/mirage-brandextract-mcp/server.py"],
"env": {
"FIRECRAWL_API_KEY": "your_key",
"GOOGLE_API_KEY": "your_key"
}
}
}
}Tools
extract_brand
Extract complete brand identity from a website.
# Parameters
url: str # Target website URL
include_screenshots: bool # Include visual screenshots (default: False)
# Returns
{
"colors": {
"primary": "#FF5A5F",
"secondary": "#00A699",
"palette": [...]
},
"typography": {
"headings": "Circular",
"body": "Circular",
"weights": [400, 500, 700]
},
"spacing": {...},
"buttons": {...},
"url": "original_url"
}generate_replica
Generate HTML/CSS using extracted brand data.
# Parameters
brand_data: dict # Output from extract_brand
component_type: str # "landing_page", "email", "button", "card"
customization: str # Additional instructions
# Returns
{
"html": "<div>...</div>",
"css": "/* styles */",
"preview_url": "data:text/html;base64,..."
}replicate_website
Complete workflow: extract brand + generate replica in one step.
# Parameters
url: str # Target website URL
component_type: str # What to generate
customization: str # Additional instructions
# Returns
{
"brand_data": {...},
"generated": {
"html": "...",
"css": "..."
}
}compare_brands
Compare brand identities from two websites.
# Parameters
url1: str # First website URL
url2: str # Second website URL
# Returns
{
"site1": {...brand_data...},
"site2": {...brand_data...},
"comparison": {
"color_similarity": 0.85,
"typography_match": true,
"font_overlap": ["Inter"],
"differences": [...]
}
}apply_brand_to_template
Apply brand to pre-built templates.
# Parameters
url: str # Source website for branding
template_type: str # "hero_section", "pricing_table", "feature_grid", "testimonial", "cta"
# Returns
{
"html": "...",
"css": "...",
"preview_url": "...",
"template_type": "hero_section"
}Example Use Cases
1. Extract Airbnb branding and create a hero section
extract_brand(url="https://airbnb.com")
generate_replica(brand_data=result, component_type="landing_page", customization="Focus on hero section")2. Compare competitor websites
compare_brands(url1="https://airbnb.com", url2="https://vrbo.com")3. Quick template generation
apply_brand_to_template(url="https://stripe.com", template_type="pricing_table")Development
Running Tests
pytest tests/ -vCode Formatting
black src/ tests/
ruff check src/ tests/License
MIT
Built autonomously by GRIMLOCK - Autonomous MCP Server Factory
This server cannot be deployed
Maintenance
Related MCP Connectors
- miromiroOAuthapp.miromiro
Turn any live website into brand colors, fonts, design tokens, SVGs, Lottie and paste-ready code.
Build responsive HTML email campaigns from any brand website: design, QA, export.
Generate on-brand proposals, reports, and contracts instantly. Auto-extracts brand from any URL.
Turn any website into structured JSON data matching your custom schema.
Related MCP Servers
- FlicenseAqualityDmaintenanceCaptures webpage styles and HTML, converts CSS to Tailwind, and applies extracted designs to frontend frameworks like React.34-
- AlicenseAqualityBmaintenanceEnables generating UI design rules, fetching color palettes, and retrieving brand design references from over 328 brands.2914MIT
- FlicenseAqualityDmaintenanceOne-click website design cloning with Puppeteer. Captures HTML, CSS, colors, fonts, and layout structured data for recreation.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to extract design systems, brand guidelines, copy, and sitemap structure from any live website via the Pastebase API.MIT