Skip to content

Svelte MCP

  • MCP server
  • 4 callable tools
  • 4 capabilities
Installation guide

Overview

Svelte MCP is a server published by the Svelte team that gives AI agents Svelte 5 and SvelteKit documentation and static analysis of generated Svelte code. It is hosted remotely at mcp.svelte.dev and can also run locally from the @sveltejs/mcp package.

Capabilities:

  • Look up current Svelte 5 and SvelteKit documentation
  • List the available Svelte and SvelteKit documentation sections
  • Check generated Svelte components and modules for common mistakes and get suggested fixes
  • Generate an ephemeral Svelte Playground link for a code snippet

Works with

The products your agent can work with through this server.

Tools

The callable functions your agent uses to work with this server.

Svelte MCP tools
ToolWhat it does
get-documentationRetrieves full documentation content for Svelte 5 or SvelteKit sections.
list-sectionsLists all available Svelte 5 and SvelteKit documentation sections in a structured format.
playground-linkGenerates a Playground link given a Svelte code snippet.
svelte-autofixerGiven a svelte component or module returns a list of suggestions to fix any issues it has.

Installation

Add Svelte MCP to Claude Code

Run this in your terminal:

claude mcp add --transport http svelte-2 https://mcp.svelte.dev/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.

Sources

Documentation and source code reviewed on 12 November 2026.