# Svelte

MCP server that connects Svelte 5 and SvelteKit documentation to Claude Code, Cursor, and other editors. Search docs sections, view code examples, and catch component errors before you run them.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1169 installs
- Author: svelte
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/svelte
- Updated: 2026-03-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/svelte

## What it does

The server provides four tools: search across Svelte 5 and SvelteKit docs by title or path, browse all available sections with use-case descriptions, generate playground links for snippets, and validate components for issues.

Use it to quickly find how `$state` works or recall SvelteKit routing syntax while coding. The agent can suggest fixes for broken code before sending it your way.

Connects over HTTP at `https://svelte.run.tools`. Installation varies by editor—a terminal command for Claude Code and Codex, config edits for Cursor, different commands for other platforms.

## Requirements
- Remote server: `https://svelte.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http svelte https://svelte.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add svelte --url https://svelte.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "svelte": {
            "url": "https://svelte.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "svelte": {
            "type": "http",
            "url": "https://svelte.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http svelte https://svelte.run.tools
```

## When to use it
- find how to use `$state` or new Svelte 5 APIs
- understand SvelteKit routing setup
- validate a component for errors
- get a shareable playground link to test code quickly

## Example prompts
- Show me how reactivity works in Svelte 5
- Build a form component and check it for errors
- Find the SvelteKit load documentation

## Similar
- [svelte-debug](https://affpapa.org/en/nevibecode/commands/svelte-debug.md) — command · 134 installs
- [svelte-code-writer](https://affpapa.org/en/nevibecode/skills/svelte-code-writer.md) — skill · 14200 installs
- [ux-ui-svelte-wasp-drone](https://affpapa.org/en/nevibecode/agents/ux-ui-svelte-wasp-drone.md) — subagent · ★ 96 repo stars
- [svelte-stinger](https://affpapa.org/en/nevibecode/skills/svelte-stinger.md) — skill · ★ 96 repo stars
- [svelte-mcp-feedback](https://affpapa.org/en/nevibecode/skills/svelte-mcp-feedback.md) — skill · 102 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
