
Shadcn UI MCP Server
A Model Context Protocol (MCP) server for shadcn/ui components, providing AI assistants with access to component source code, demos, blocks, and metadata.
context tax
~707 tok/turn10 tools
security
97/100
cold start
799 ms
freshness
Active39d ago
Our reading of Shadcn UI, from the data
Shadcn UI is a devops & ci/cd MCP server from jpisnice.
Its 10 tools add about 707 tokens to every model turn, lighter than the devops & ci/cd median of 2,020 tokens across 41 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 39 days ago (2026-10-03). For comparison, 61% of devops & ci/cd servers are active or maintained.
With 3,060 GitHub stars it ranks #17 of 848 devops & ci/cd servers we index.
It runs locally on your machine over stdio.
Install Shadcn UI MCP server
Install in Claude Code
claude mcp add shadcn-ui -- npx -y @jpisnice/shadcn-ui-mcp-serverInstall in Cursor
{
"mcpServers": {
"shadcn-ui": {
"command": "npx",
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"shadcn-ui": {
"command": "npx",
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"shadcn-ui": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"shadcn-ui": {
"command": "npx",
"args": [
"-y",
"@jpisnice/shadcn-ui-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @jpisnice/shadcn-ui-mcp-server
Context tax
Connecting this server adds ~707 tokens of tool definitions to every model turn (lean, 10 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $2.83 | $0.141 |
| Claude Sonnet 5.5 | $1.41 | $0.141 |
| Claude Haiku 5.5 | $0.071 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (10)
apply_theme119 tokApply a TweakCN theme preset to the project
get_block111 tokGet source code for a specific shadcn/ui v4 block (e.g., dashboard-01, login-02, sidebar-01)
get_directory_structure110 tokGet the directory structure of the shadcn-ui v4 repository
get_component_demo70 tokGet demo code illustrating how a shadcn/ui v4 component should be used
get_component67 tokGet the source code for a specific shadcn/ui v4 component
get_component_metadata66 tokGet metadata for a specific shadcn/ui v4 component
list_blocks55 tokGet all available shadcn/ui v4 blocks with categorization
get_theme51 tokGet details of a specific tweakcn theme
list_components31 tokGet all available shadcn/ui v4 components
list_themes27 tokList available tweakcn themes
Security signals
97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 39d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-03 · 39d ago · GitHub
Latest release
2026-10-03 · 39d ago · GitHub · v3.0.0
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
How it compares in DevOps & CI/CD
Against the most-starred devops & ci/cd servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Shadcn UI (this) | 3,060 | 10 | 707 | Active | local |
| Storybook | 91,330 | — | not measured | Active | — |
| Codebase Memory | 46,873 | — | not measured | Active | local |
| PostHog | 40,338 | — | not measured | Active | local + hosted |
| Claude Task Master | 28,244 | — | not measured | Stale | — |
| Figma Developer | 16,007 | 2 | 898 | Slowing | local |
FAQ
›How do I install the Shadcn UI MCP server in Claude Code?
Run: claude mcp add shadcn-ui -- npx -y @jpisnice/shadcn-ui-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Shadcn UI require an API key?
No required environment variables are declared in its published metadata.
›Can I use Shadcn UI as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Shadcn UI in the official MCP registry?
No. It was indexed from npm, awesome-mcp-servers (punkpeye).
›How many tokens does Shadcn UI add to my context?
Its tool definitions total about 707 tokens, resent on every turn.
Sources and method
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Shadcn UI
Other devops & ci/cd MCP servers.