Skip to main content
Glama

shadcn-svelte-mcp

latest release License: MIT

Install MCP Server

NOTE

Love the hosted server? Please help keep it online: the hosted endpoint at https://shadcn.svelte-apps.me/mcp is free to use but costs money to run. I'm covering costs out of pocket right now — if it's been useful, please consider chipping in to help keep it available for everyone over the next ~30 days and beyond. Prefer to run it yourself? You always can — npx -y shadcn-svelte-mcp, or deploy it yourself to Fly.io / Render / Cloudflare Workers. ❤️ Sponsor @Michael-Obele — thank you!

IMPORTANT

URL Update Notification: This MCP server is now hosted at https://shadcn.svelte-apps.me/mcp. Earlier configs pointing at the *.workers.dev / *.server.mastra.cloud /api/mcp/shadcn/... endpoints should be updated to the new URL below (health check: https://shadcn.svelte-apps.me/health).

Real-time shadcn-svelte docs for AI editors, via tmcp. Scrapes shadcn-svelte.com and bits-ui.com live — no stale docs.

Hosted: https://shadcn.svelte-apps.me/mcp (Streamable HTTP) · Health: https://shadcn.svelte-apps.me/health · Local: bun run src/stdio.ts

What you get

  • Live shadcn-svelte + Bits UI docs (no stale bundles)

  • 5 tools: list, get, search, icons, Bits UI API

  • Fuzzy search with typo tolerance + install snippets per package manager

  • ~1,600 Lucide icons with import snippets

  • 3-day cache (memory / disk / KV) for fast repeats

Related MCP server: shadcn-ui MCP Server

Connect (30 seconds)

Hosted (recommended): https://shadcn.svelte-apps.me/mcp

VS Code: MCP: Add Server → paste the URL. Cursor / Windsurf: add an http server with the same URL. Zed: use npx -y mcp-remote https://shadcn.svelte-apps.me/mcp. Verify: MCP: List Servers.

{
  "mcpServers": {
    "shadcn-svelte": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://shadcn.svelte-apps.me/mcp"]
    }
  }
}

CLIs:

claude mcp add --transport http shadcn-svelte https://shadcn.svelte-apps.me/mcp
codex mcp add shadcn-svelte --url https://shadcn.svelte-apps.me/mcp

NPM fallback (if hosted is down)

Run locally via npm — same tools, no server:

{
  "mcpServers": {
    "shadcn-svelte": { "command": "npx", "args": ["-y", "shadcn-svelte-mcp"] }
  }
}

CLI (stdio):

claude mcp add shadcn-svelte -- npx -y shadcn-svelte-mcp
codex mcp add shadcn-svelte -- npx -y shadcn-svelte-mcp

Needs Node >= 20.9. Bun users: swap npx for bunx.

  • Cursor: Settings → MCP → add http server with the hosted URL.

  • Windsurf: ~/.codeium/windsurf/mcp_config.jsonmcpServers, restart.

  • Zed: Settings → Agent, or npx -y mcp-remote https://shadcn.svelte-apps.me/mcp.

  • Gemini CLI: ~/.gemini/settings.jsonhttpUrl, or use mcp-remote variant.

Tools

Tool

Use for

shadcn-svelte-get

Details + install snippet for a known component / block / doc (packageManager supported)

shadcn-svelte-search

Fuzzy find when you don't know the exact name

shadcn-svelte-list

Full inventory of components, blocks, charts, docs

shadcn-svelte-icons

Lucide icons (names, limit, importLimit)

bits-ui-get

Low-level Bits UI API (props, events, data attributes)

Start with get, fall back to search, use bits-ui-get only for primitive internals.

Try: "Install button", "List all components", "Find date-picker-like components", "Icons for settings", "Bits UI Dialog API".

Skill

Polished SvelteKit UI skill at skills/shadcn-sveltekit-design/SKILL.md:

npx skills add Michael-Obele/shadcn-svelte-mcp --skill shadcn-sveltekit-design

Verify

claude mcp list
codex mcp list
curl -I https://shadcn.svelte-apps.me/health

Local development

bun install
bun run dev # http://localhost:3000/mcp, health at /health
bun run check # type check

Stdio for local clients: bun run src/stdio.ts. Layout: src/index.ts (HTTP), src/stdio.ts, src/worker.ts, src/mcp/tools/, src/mcp/prompts/, src/services/.

Contributing

MIT — see LICENSE. Please read Contributing + Code of Conduct.

Contact: support@svelte-apps.me · Maintainer: Michael Obele

Related MCP Connectors

Related MCP Servers