Svelte — MCP server for Claude Code: docs search and playground links
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.
no license 1,169 installs updated 2026-03-29
claude mcp add --transport http svelte https://svelte.run.toolsWhat Svelte 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.
What it helps with
- find how to use
$stateor new Svelte 5 APIs - understand SvelteKit routing setup
- validate a component for errors
- get a shareable playground link to test code quickly
Example prompts for the agent
- Show me how reactivity works in Svelte 5
- Build a form component and check it for errors
- Find the SvelteKit load documentation
How to install Svelte
Platform CLI: remote server
claude mcp add --transport http svelte https://svelte.run.toolsPlatform CLI: remote server
codex mcp add svelte --url https://svelte.run.toolsConfig file
{
"mcpServers": {
"svelte": {
"url": "https://svelte.run.tools"
}
}
}Config file
{
"servers": {
"svelte": {
"type": "http",
"url": "https://svelte.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http svelte https://svelte.run.toolsStep 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
How do I install the Svelte MCP server in Claude Code?
Run claude mcp add --transport http svelte https://svelte.run.tools in your terminal. Other editors use different commands: Cursor requires config edits, GitHub Copilot and Codex have their own setup steps.
What does the Svelte MCP server do?
It connects Svelte 5 and SvelteKit documentation to your editor. The agent can search docs, show code examples, validate components, and create playground links.
Which platforms does it support?
Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, Cline, Zed, and Gemini CLI. Each platform has its own installation command.