# svelte-llm-mcp

svelte-llm-mcp pulls current Svelte 5 and SvelteKit documentation into your assistant over a remote HTTP endpoint. Two tools: list the sections, then fetch the text.

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

## What it does

The server sits in front of your assistant as an HTTP MCP endpoint and exposes two tools. `list_sections` hands back every Svelte 5 and SvelteKit documentation section as a title plus a file path. `get_documentation` takes that title or path and returns the full text.

Order matters. Ask for the section list first, then fetch content: the titles and paths the second tool accepts come from the first. Lookup works by name such as `$state` or `routing`, or by path such as `docs/svelte/state.md`, and you can pass one section or an array.

Nothing runs locally: the endpoint is `https://svelte-llm-mcp--khromov.run.tools`. For Claude the setup ships two commands that differ only in the server name (`svelte-llm-mcp` and `khromov-svelte-llm-mcp`). Pick one — running both registers the same endpoint twice.

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

## Install

### Claude Code (native platform)

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

### Codex

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

### Cursor

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

### GitHub Copilot

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

### Gemini CLI

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

## When to use it
- find a SvelteKit doc section by its title
- pull several documentation sections in a single call
- check a component against the current `$state` reference
- read a full doc page by file path such as `docs/svelte/state.md`
- wire Svelte docs into an assistant without keeping a local copy

## Example prompts
- Find the Svelte 5 section on `$state` and rewrite my component to match it.
- Call `list_sections` first, then pull the routing and load sections.
- Check `docs/svelte/state.md` and tell me what my component gets wrong.

## Similar
- [Tailwind Svelte Assistant](https://affpapa.org/en/nevibecode/mcp/tailwind-svelte-assistant.md) — MCP server · 685 installs
- [svelte-debug](https://affpapa.org/en/nevibecode/commands/svelte-debug.md) — command · 134 installs
- [svelte-mcp-feedback](https://affpapa.org/en/nevibecode/skills/svelte-mcp-feedback.md) — skill · 102 installs
- [svelte-code-writer](https://affpapa.org/en/nevibecode/skills/svelte-code-writer.md) — skill · 14200 installs
- [svelte-storybook](https://affpapa.org/en/nevibecode/agents/svelte-storybook.md) — subagent · ★ 1357 repo stars

## Other versions with the same name
- [svelte-llm-mcp · khromov](https://affpapa.org/en/nevibecode/mcp/svelte-llm-mcp.md) — ★ 158 repo stars

---
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
