$ timeahead.in
/ servers/npm/@jpisnice/shadcn-ui-mcp-server
npm

@jpisnice/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.

3k stars2k/wkupdated 28d agogithub ↗
76fair
▣ Overview
npm versionLicense: MIT

What it does

This server exposes shadcn/ui component library metadata, source code, and implementations to Claude via the Model Context Protocol. It fetches data from the official shadcn/ui repositories (and framework variants like shadcn-svelte, shadcn-vue, react-native-reusables) and indexes component source, demos, block implementations, dependencies, and directory structures. Supports four frameworks—React, Svelte, Vue, and React Native—with optional UI library selection (Radix or Base for React). Built-in caching and rate-limit handling via GitHub API, with optional SSE transport for production deployments or Docker environments.

Who it's for

Frontend engineers building component-heavy interfaces who use Claude for code generation or documentation. Particularly useful for AI-assisted UI development workflows where you need Claude to reference exact component APIs, copy patterns from blocks, or generate wrapper components based on shadcn/ui primitives.

Common use cases

  • Generate a custom form component by having Claude reference the source of the shadcn/ui form component and its dependencies.
  • Build a dashboard layout using Claude's context over shadcn/ui dashboard blocks.
  • Ask Claude to adapt a demo or block example to your specific use case.
  • Have Claude explain how a particular shadcn component is composed from primitives.
  • Reference component metadata (props, dependencies, descriptions) when designing new components.

Setup pitfalls

  • Two secrets detected in the repository. Do not commit real GitHub tokens to version control; use environment variables via GITHUB_PERSONAL_ACCESS_TOKEN or .env files instead.
  • GitHub API rate limits: unauthenticated requests are capped at 60 per hour. Pass a GitHub Personal Access Token via --github-api-key to raise the limit to 5,000 per hour (recommended for consistent operation).
  • Requires filesystem write access for caching; if running in a sandboxed environment, ensure the cache directory is writable or disable caching appropriately.
  • SSE transport requires additional HTTP server configuration and differs from the default stdio mode. Test transport selection carefully before production deployment.
2 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
60
21.0
Freshness
25%
100
25.0
Adoption
20%
75
15.0
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
76.0
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecevalsecrets
◆ Risk level: high
fs read + fs write + network + exec + eval + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "jpisniceshadcn-ui": {
      "command": "npx",
      "args": [
        "-y",
        "@jpisnice/shadcn-ui-mcp-server"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
39/ 100 · is this project alive?
contributors (1y)19
top contributor share54%
releases (1y)2
last release134d ago
ci✗ none
⛁ Raw data
weekly downloads2k
github stars3k
forks291
open issues3
license✓ present
readme length10523 chars
last publish0d ago
last commit28d ago
last updated1d ago
install verified✓ pass · 30d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points