melta UI
Design-system tokens, component contracts and rule checks that keep AI-built UI on spec
- Pricing
- Open source
- Platforms
- CLI
- Runs
- Locally
- Version
- 1.9.1
- Listing updated
- 2 days ago
About melta UI
melta UI is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
melta UI treats a design system as something to enforce, not just document. The README says an AI can be told to read guidelines but may not follow them, so melta places a machine at four points: before generation (the MCP server supplies contracts), right after (lint or hooks reject violations), before merge (CI blocks) and afterwards (drift checks).
The package melta-ds-mcp is a stdio server plus a lint engine. Its check_html tool uses the same logic as CI and hooks. The system ships 101 tokens, 28 component contracts and 107 prohibited-pattern rules; 49 of those rules are detected automatically, and the rest are classified by why they are not. Tests use Playwright and axe-core.
It assumes Tailwind CSS class-based styling and Node 22 or newer, and it is not a ready-to-import component library. It is MIT licensed, with a React Native implementation published separately.
Install
Run in a terminal
claude mcp add melta-ui -- npx -y melta-ds-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"melta-ui": {
"command": "npx",
"args": [
"-y",
"melta-ds-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"melta-ui": {
"command": "npx",
"args": [
"-y",
"melta-ds-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"melta-ui": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"melta-ds-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"melta-ui": {
"command": "npx",
"args": [
"-y",
"melta-ds-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"melta-ui": {
"command": "npx",
"args": [
"-y",
"melta-ds-mcp"
]
}
}
}Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- get_token
- Look up a design token.
- get_component
- Fetch a component contract.
- check_rule
- Check a rule from the registry.
- check_html
- Self-verify generated HTML with the same logic as CI and hooks.
What it does
- Token lookup
- Search design tokens and fetch component contracts through MCP.
- HTML self-check
- check_html runs the same lint as CI and hooks.
- 107 prohibited rules
- A machine-readable registry of things not to do, with automation status.
- Drift detection
- Flags documentation and implementation falling out of sync.
- Layered loading
- DESIGN.md first, deeper contracts only when needed, to save context.
- Bring your own system
- The server can load another design system's asset root.
Good for
- Make Claude Code or Cursor generate Tailwind UI that follows your tokens
- Fail CI when generated markup breaks a design rule
- Share one design contract between web and React Native
- Check whether docs and implementation have drifted
- Start a design-system contract from a minimal four-file bundle
Pricing
Open source
Free, MIT licence
Prices change. Check melta.tsubotax.com before you buy.
melta UI FAQ
Is it a component library?
No. It supplies tokens, rules, contracts and validators; web UI is a reference in HTML plus Tailwind classes.
What are the requirements?
Node 22 or newer and Tailwind class-based styling.
How do I add it to Claude Code?
Run claude mcp add melta-ui -- npx -y melta-ds-mcp.
What licence?
MIT.
Is melta UI free?
Yes. melta UI is open source, so you can use and self-host it for free.
How do I add melta UI to Claude Code?
Run this command in your terminal: claude mcp add melta-ui -- npx -y melta-ds-mcp
What are the best alternatives to melta UI?
The closest alternatives to melta UI are REA, HyperFrames by HeyGen, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.
Alternatives to melta UI

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

HyperFrames by HeyGen
MCP serverHosted MCP connector for creating and rendering videos from HTML through AI chat
- Remote
- Freemium
- 85.3K GitHub stars
- Design and media

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory