svelte-llm-mcp — Claude Code MCP server: Svelte 5 docs on tap
An MCP server that feeds Svelte 5 and SvelteKit documentation to your coding assistant, so it stops guessing at the API.
claude mcp add --transport http svelte-llm-mcp https://svelte-llm.stanislav.garden/mcp/mcpWhat svelte-llm-mcp does
The server exposes a reference for Svelte 5 and SvelteKit over Model Context Protocol. Your assistant pulls the section it needs while writing a component or working through routing. Handy when the project is already on Svelte 5 and the model keeps mixing up runes with older syntax.
Clients connect over Streamable HTTP at https://svelte-llm.stanislav.garden/mcp/mcp. Older clients that lack Streamable support can use the SSE endpoint https://svelte-llm.stanislav.garden/mcp/sse. It runs remotely, so there is nothing to host locally.
Running your own copy takes a Classic GitHub token with public_repo scope, a .env file holding GITHUB_TOKEN and DB_URL, Docker and PostgreSQL. Without the token the local build will not start.
What it helps with
- get current Svelte 5 runes syntax into a generated component
- look up SvelteKit file-based routing instead of trusting the model's memory
- check how
$stateand$derivedbehave before editing reactive code - find the API reference for a component you are about to change
Example prompts for the agent
- Check the SvelteKit docs for how to declare
+page.server.tswith a data load - Look up in the Svelte 5 reference how to bind
$stateto an input field - Find in the docs how
$effectdiffers fromonMount
How to install svelte-llm-mcp
Platform CLI: remote server
claude mcp add --transport http svelte-llm-mcp https://svelte-llm.stanislav.garden/mcp/mcpPlatform CLI: remote server
codex mcp add svelte-llm-mcp --url https://svelte-llm.stanislav.garden/mcp/mcpConfig file
{
"mcpServers": {
"svelte-llm-mcp": {
"url": "https://svelte-llm.stanislav.garden/mcp/mcp"
}
}
}Config file
{
"servers": {
"svelte-llm-mcp": {
"type": "http",
"url": "https://svelte-llm.stanislav.garden/mcp/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http svelte-llm-mcp https://svelte-llm.stanislav.garden/mcp/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about svelte-llm-mcp
How do I install svelte-llm-mcp in Claude Code?
Run claude mcp add --transport http svelte-llm-mcp https://svelte-llm.stanislav.garden/mcp/mcp. The server then shows up in your Claude MCP list.
What does svelte-llm-mcp do?
It serves Svelte 5 and SvelteKit documentation to your assistant over MCP. The model queries it while working, which cuts down on wrong API calls.
Do I need a GitHub token for it to work?
Not for the hosted endpoint. A token with public_repo scope is only needed if you run the server yourself with Docker.