OpenDesign-MCP
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., "@OpenDesign-MCP find me a responsive pricing card component for shadcn"
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.
OpenDesign MCP
One search across shadcn's partner registries, 21st.dev and UIverse.
Building UI with an agent? Let it install a component someone already built, before it writes one.
Quick Start · Installation · Usage · Tools · The Index · Development
npx -y @mishafyi/opendesign-mcp
An MCP server that finds a UI component to install before your agent writes one. Its tool, search_components,
searches an index of 181,442 components that ships with the package: every item of every
shadcn partner registry that publishes an index, the 21st.dev marketplace
with each component's bookmarks, and UIverse.io's copy-paste CSS and Tailwind elements with their
favorites. Each result says how it installs.
🚀 Quick Start
Claude Code
claude mcp add OpenDesign-MCP -- npx -y @mishafyi/opendesign-mcpClaude Desktop
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"OpenDesign-MCP": {
"command": "npx",
"args": ["-y", "@mishafyi/opendesign-mcp"]
}
}
}It needs Node.js 24 or later.
Ask your agent
Find a date range picker I can install, and add the best one.Related MCP server: Ruixen MCP Server
✨ Features
🔍 One search, three sources: shadcn partner registries, 21st.dev and UIverse, each source's results apart
📦 How to install:
npx shadcn@latest addfor shadcn and 21st.dev items, the page to copy from for UIverse⭐ Ranked: items with the words in their name first, then the most bookmarked (21st.dev) or favorited (UIverse)
🧭 Filters: one source, or one kind of item (
registry:block,ui,loader…)📴 Offline: the index ships with the package, so a search makes no network request
🗂️ Greppable: the index is plain TSV, and the server's instructions name its folder
📦 Installation
claude mcp add OpenDesign-MCP -- npx -y @mishafyi/opendesign-mcpClaude Code's server names allow only letters, numbers, hyphens and underscores, hence OpenDesign-MCP.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"OpenDesign-MCP": {
"command": "npx",
"args": ["-y", "@mishafyi/opendesign-mcp"]
}
}
}Add to .mcp.json at the root of your workspace, VS Code's portable format:
{
"mcpServers": {
"OpenDesign-MCP": {
"command": "npx",
"args": ["-y", "@mishafyi/opendesign-mcp"]
}
}
}Add to your Zed settings.json:
{
"context_servers": {
"OpenDesign-MCP": {
"command": "npx",
"args": ["-y", "@mishafyi/opendesign-mcp"],
"env": {}
}
}
}💬 Usage Examples
"Find a file upload component with drag and drop"
"Is there a shadcn block for a pricing table?"
"Show 21st.dev's most bookmarked hero sections"
"Find a toggle switch on UIverse"
"Search for a motion carousel, blocks only"🛠️ Available Tools
Tool | Returns |
| The components whose row holds every word of |
Each source's results say how its items install:
shadcn partner registries:
npx shadcn@latest add @namespace/item;npx shadcn@latest view @namespace/itemshows its files first.21st.dev:
npx shadcn@latest add "https://21st.dev/r/<author>/<slug>?api_key=$API_KEY_21ST", with a 21st API key from https://21st.dev/mcp. Free accounts get a few installs a day.UIverse: not shadcn. Copy the element's code from its page.
For a search the parameters can't express, the server's instructions name the folder of the TSVs below, for grep.
🗂️ The Index
File | Rows | Rebuilt by |
| shadcn's partner directory |
|
| registry, name, type, description, add command |
|
| each partner whose index couldn't be read, with the reason | the same |
| author, slug, name, description, kind, likes, bookmarks, downloads, views, tags, dependencies, license, URL |
|
| author, slug, type, theme, Tailwind or CSS, favorites, views, URL |
|
A refresh runs them top to bottom; commit the data, and the diff shows what each source added and dropped. The node scripts retry 408, 413, 429 and 5xx answers and network errors with backoff, honoring Retry-After (got), and the 21st.dev sweep asks once a second.
📊 Coverage on 2026-11-29
Count | |
Partners in shadcn's directory | 613 |
Partners read (one with an empty index) | 557 |
Partners whose index couldn't be read | 56 |
Items from the partners | 167,189 |
21st.dev components, by 1,125 authors | 9,867 |
UIverse elements, by 1,144 authors, of 4,513 listed | 4,386 |
Total | 181,442 |
🔎 How each source is read
shadcn partners. The directory gives each partner's item URL template. The index is {base}/registry.json by
convention, but partners also publish it in the parent folder, as an all item whose registryDependencies list the
items, or behind a {style} placeholder, so the script tries each in turn. A candidate that answers 4xx or 5xx, or
with something that isn't an index, holds no index; a 429 after the retries, or a host that can't be reached, ends the
partner's probing. shadcn-partners-unavailable.tsv gives the reason: no-index, http-<status> or the network
error's code (ENOTFOUND for a domain that no longer resolves, CERT_HAS_EXPIRED…). Those partners' items install by
exact name but aren't in the index.
The directory's own health field doesn't replace reading: 8 partners it marks unavailable were read (750 items,
from indexes where its check doesn't look), 45 of its 46 degraded ones were read (degraded means items that fail
shadcn's schema, not an unreadable index), and the 56 that weren't are 53 of its unavailable, its 2 observing and
1 degraded.
@registrydirectory republishes other registries' items as @registrydirectory/<registry>/<item>, cult-ui's among
them, which answers 429 when read directly; items of registries read directly show up twice.
21st.dev. Its REST API (https://21st.dev/openapi.json) needs an API key and can only search, so the index comes
from demos.list, the tRPC endpoint its pages call: {sortBy, limit, cursor}, 200 items an answer. The recommended
order reaches components the date order misses (285 on 2026-11-29), and the bookmarks, likes and downloads orders reach
none beyond those, so date and recommended are swept, each until it stops adding; paging by offset instead stops at
about 200 items a sort order. 21st.dev counts 12,000+ items in its catalog, templates and themes among them.
UIverse. Every scripted request (curl, node, a headless browser) gets Cloudflare's challenge page, and the
open-source mirror, uiverse-io/galaxy, has no metrics and stopped in
September 2024. So fetch-uiverse.mjs runs in the console of a browser that has passed the challenge: it lists /elements (35
an answer, no metrics) and reads each element's favorites and views from its metadata loader, 4 requests at a time. The
listing reorders as elements are added, so a sweep finds about 97% of them; its promo slots are skipped.
🧪 Development
git clone https://github.com/mishafyi/OpenDesign-MCP.git
cd OpenDesign-MCP
npm install
npm run build # tsc into dist/
# Run your build in Claude Code in place of the npm package
claude mcp add OpenDesign-MCP -- node "$PWD/dist/index.js"
# Call the built server without an MCP client
npx -y @modelcontextprotocol/inspector --cli node dist/index.js --method tools/call \
--tool-name search_components --tool-args-json '{"query":"date range picker","limit":2}'🤝 Contributing
Contributions are welcome:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit your changes:
git commit -m 'Add amazing feature'Push to the branch:
git push origin feature/amazing-featureOpen a Pull Request
📄 License
The code is MIT: see LICENSE. The index lists the names, descriptions and links each source publishes; each component belongs to its author, under its own license.
⚠️ Disclaimer
This project is not affiliated with or endorsed by shadcn, 21st.dev or UIverse.
Available Tools
1 toolsearch_componentsSearch UI componentsARead-only
Searches the index for components whose row holds every query word, in any case and order. Results come per source: those with more of the words in their name (a UIverse element's type) first, then the most bookmarked (21st.dev) or favorited (UIverse); each says how to install or open it.
Inputs: query (required), type, limit, source.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusion with another tool. Its purpose—searching the component index—is clear and self-contained.
The single tool uses clear snake_case verb_noun naming (`search_components`). With only one tool there is no broader pattern to compare, but nothing is inconsistent.
A single search tool is thin for a server named OpenDesign-MCP. It may be enough for discovery, but it leaves no room for retrieve, filter, or install workflows.
The search operation appears functional and returns install/open guidance, but the tool surface has notable gaps: no component detail lookup, category browsing, or explicit install/open operation. Agents may be able to work around this from search results, but it is not a complete lifecycle.
Maintenance
Related MCP Connectors
Find UI components and themes, retrieve code, and generate with hosted 21st AI when enabled.
Search, read and install ReUI shadcn components, examples, blocks and icons from your coding agent.
Search shadcn registry items, read props and get exact install commands for React components.
Search and pull 620+ React and Tailwind sections into your project over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceHelps AI assistants access shadcn/ui component documentation and examples through a TypeScript-based MCP server that provides reference information for component details, usage examples, and search capabilities.41,124 npm60MIT

Ruixen MCP Serverofficial
AlicenseBqualityDmaintenanceEnables AI assistants to discover, search, and retrieve Ruixen UI components from the live registry, providing installation commands for MCP-compatible clients.327 npm1MIT- AlicenseAqualityDmaintenanceProvides coding agents live access to shadcn-style component registries, enabling them to search, compare, and fetch real component source code for UI composition.584 npm7MIT
- AlicenseAqualityBmaintenanceMCP server that lets AI agents search and inspect shadcn components from the encode-ui registry, returning metadata, source code, and install commands.8394 npmMIT