Shadcn Svelte MCP
MCP server by Michael-Obele Verified · npm:shadcn-svelte-mcp
Shadcn Svelte MCP gives AI editors live access to shadcn-svelte and Bits UI documentation. It is for developers building SvelteKit interfaces who want current component docs and install snippets.
Install Shadcn Svelte MCP
Built from the published package, never by AI.
claude mcp add shadcn-svelte-mcp -- npx -y shadcn-svelte-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"shadcn-svelte-mcp": {
"args": [
"-y",
"shadcn-svelte-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"shadcn-svelte-mcp": {
"args": [
"-y",
"shadcn-svelte-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"shadcn-svelte-mcp": {
"args": [
"-y",
"shadcn-svelte-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add shadcn-svelte-mcp -- npx -y shadcn-svelte-mcp{
"mcpServers": {
"shadcn-svelte-mcp": {
"args": [
"-y",
"shadcn-svelte-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add shadcn-svelte-mcp npx -y shadcn-svelte-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the shadcn-svelte-mcp block.
About
Shadcn Svelte MCP is a documentation server for shadcn-svelte, built with tmcp. It scrapes shadcn-svelte.com and bits-ui.com live, so the answers are not based on stale bundled docs. It gives AI assistants tools to list components, get details and install snippets, search by intent or keyword, look up Bits UI API details, and find Lucide icons with import snippets.
The server can run locally over stdio with the npm package, using npx or bunx. It can also run as an HTTP endpoint and be deployed to Fly.io or Render. Results are cached in memory and on disk for three days. The project is aimed at developers building SvelteKit UIs with shadcn-svelte and Bits UI, and it is released under the MIT license.
Written from the project's README and checked against it.
Tools it gives your assistant
shadcn-svelte-getReturns details and an install snippet for a known component, block, or doc.shadcn-svelte-searchSearches by intent, keyword, or multiple queries when the exact name is unknown.shadcn-svelte-listLists the full inventory of components, blocks, charts, and docs.shadcn-svelte-iconsFinds Lucide icons with names, limits, and import snippets.bits-ui-getReturns low-level Bits UI API details such as props, events, and data attributes.
What you need
- Node.js 20.9 or later
- Bun (optional, for running with bunx or local development)
Try asking
- Install the button component in my shadcn-svelte project
- Find a dark mode theme toggle button in shadcn-svelte
- Show the Bits UI Dialog API props and events
Good to know
- The hosted endpoint at shadcn.svelte-apps.me is being turned off in a few days.
- The npm package is the recommended setup once the hosted server is off.
- Requires Node.js 20.9 or later for the npm setup.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Shadcn Svelte MCP
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Shadcn Svelte MCP: common questions
Are the shadcn-svelte docs up to date in this server?
The server scrapes shadcn-svelte.com and bits-ui.com live, so it does not rely on stale bundled docs. Results are cached for three days in memory and on disk.
Can I run it without the hosted server?
Yes. The npm package shadcn-svelte-mcp runs the same server on your own machine over stdio, so the hosted server shutdown does not affect local use.
When should I use get instead of search?
Use shadcn-svelte-get when you already know the component, block, or doc name. Use shadcn-svelte-search when you only know the intent or a keyword.
How do I install Shadcn Svelte MCP?
In Claude Code run claude mcp add shadcn-svelte-mcp -- npx -y shadcn-svelte-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Shadcn Svelte MCP the official server?
Shadcn Svelte MCP is published by npm:shadcn-svelte-mcp from its verified domain in the official MCP Registry.
Is Shadcn Svelte MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Shadcn Svelte MCP safe to use?
It scores 71 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Shadcn Svelte MCP?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Shadcn Svelte MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
