ui-registry-mcp
This server provides coding agents with live access to shadcn-style UI component registries, enabling them to discover, fetch, compare, and validate open-source UI components.
List Registries (
list_registries): Discover available component libraries (e.g., ReUI ~1534 components, Kokonut UI ~40, Kibo UI ~41), including their IDs, names, and homepages.Search Components (
search_components): Perform synonym-aware, token-ranked searches across all or specific libraries (e.g., "modal" finds "dialog"). Returns lightweight results filterable by type (ui,block,component,hook) and optionally restricted to verified/installable components only.Get Component (
get_component): Fetch the full, current source code of a specific component, including file contents, npm and registry dependencies, and the exactnpx shadcn addinstall command.Compare Components (
compare_components): For a given UI intent (e.g., "pricing table"), fetch the best match from each library side by side, showing dependencies, file count, lines of code, install command, and source previews — so you can pick the best implementation.Check Consistency (
check_consistency): Analyze a set of components for design clashes, including inconsistent border-radius, hardcoded colors vs. theme tokens (with suggested remappings liketext-zinc-900 → text-foreground), missing dark-mode variants, arbitrary spacing/font values, and conflicting icon or animation libraries — with concrete per-component fix suggestions.
Click on "Install 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., "@ui-registry-mcpSearch for pricing components across all registries"
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.
ui-registry-mcp
An MCP server that gives coding agents (Claude Code, Cursor, Windsurf, …) live access to shadcn-style component registries so they compose UI from real, polished open-source components instead of rebuilding them from scratch.
The agent stays in charge of judgment — what to use, how to compose, what to edit. This server just hands it the raw material at the moment it asks, and flags design clashes before they ship.
The loop
"build a pricing page"
→ search_components("pricing") # ranked matches across all libraries (no source)
→ compare_components("pricing table") # best match from each library, side by side
→ get_component("reui", "form-12") # the REAL .tsx source + deps + install cmd
→ agent uses / edits it in your project
→ check_consistency([...]) # radius / color-token / dark-mode / dep clashesRelated MCP server: shadcn MCP Server
Libraries (live)
id | name | source | approx. components |
| ReUI | ~1534 | |
| Kokonut UI | ~40 | |
| Kibo UI | ~41 |
Add more in src/registries.ts — one entry per shadcn
registry, nothing else changes.
Origin UI is intentionally not enabled:
originui.comserves an HTML app page (Vercel deployment protection) for every/r/*.jsonpath rather than registry JSON, so there is no public static endpoint to fetch. Revisit if they publish a JSON registry or CDN mirror.
Tools
tool | what it does |
| The libraries available (id, name, homepage). |
| Token-ranked, synonym-aware cross-library search ( |
| Full current source (file contents), npm + registry dependencies, and the exact |
| The best match for an intent from each library, side by side: deps, file count, LOC, install command, source preview — so the agent picks the nicest, not the first. |
| ⭐ Static design-clash analysis across a mixed set: inconsistent border-radius scales, hardcoded colors vs theme tokens (with auto-suggested remappings like |
Connect to Claude Code
Published (recommended) — no clone, no build. Add to .mcp.json in your
project (or run claude mcp add ui-registry -- npx -y ui-registry-mcp):
{
"mcpServers": {
"ui-registry": {
"command": "npx",
"args": ["-y", "ui-registry-mcp"]
}
}
}From a local clone (for development):
{
"mcpServers": {
"ui-registry": {
"command": "node",
"args": ["/absolute/path/to/ui-registry-mcp/dist/index.js"]
}
}
}Then just ask, e.g.:
"Build a pricing section using components from the registry — compare options across libraries first."
"Add a data table from the registry and check it's design-consistent with the card above."
The agent will search, (compare,) fetch real source, edit as needed, and run a consistency pass.
Local development
npm install
npm run build
npm test # full MCP handshake + assertions across all 5 tools
npm run smoke # hits the registries, prints index sizes + a sample fetchHow it works
Live fetch with a small in-process TTL cache (
UI_REGISTRY_TTL_MS, default 5 min) — no maintained local mirror; every value comes from the registry JSON.Resilient: transient/5xx failures retry with backoff (
UI_REGISTRY_RETRIES, default 2); a single dead registry can't break a cross-library search.Browser-like
User-Agentgets past most bot-blocking.Premium components: some registries list pro/gated components in their index that return
401when fetched (e.g. many reuistats-*,faq-*,form-*, bare-named blocks; free examples are usuallyc-*-prefixed).get_componentreports these clearly, andsearch_components(..., verified:true)filters them out so the agent only sees installable results.
Next steps
Add more registries (Aceternity, Magic UI, Cult UI, …) — one entry each.
check_consistency: a "scan my local project" mode (audit already-installed files).Embedding-based search (beyond the curated synonym list) for fuzzier intents.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrityunjay-tiwari/ui-registry-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server