Skip to main content
MCP server CX Codex

Svelte MCP — Claude Code MCP server: features and setup

The official Svelte MCP server gives agents access to Svelte docs and autofixing tools. Use it when you want an agent to consult the docs or work on Svelte code.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http mcp https://mcp.svelte.dev/mcp
Open on GitHub

What Svelte MCP does

Svelte MCP connects an agent to Svelte documentation and autofixing tools. That helps when you want an agent to look up Svelte guidance or fix issues in Svelte code. The description does not list the individual autofixing tools.

In Claude Code, add the server over HTTP with claude mcp add --transport http mcp https://mcp.svelte.dev/mcp. For local use, the @sveltejs/mcp CLI can run through npx -y @sveltejs/mcp. You can also install it with pnpm i @sveltejs/mcp and start it with pnpm svelte-mcp. The local option requires npx or pnpm to run.

What it helps with

  • look up Svelte documentation through an agent
  • ask an agent to autofix Svelte code
  • connect Svelte MCP to Claude Code over HTTP
  • run Svelte MCP locally from its CLI

Example prompts for the agent

  • Look up how this Svelte feature works in the documentation.
  • Check this Svelte code and apply the available autofixes.
  • Tell me how to add Svelte MCP to Claude Code over HTTP.

How to install Svelte MCP

1Platform CLI: remote server

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

2Platform CLI

claude mcp add mcp-stdio -- npx -y @sveltejs/mcp

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

How do I install Svelte MCP in Claude Code?

Add the server over HTTP with claude mcp add --transport http mcp https://mcp.svelte.dev/mcp.

What does Svelte MCP do?

It gives an agent access to Svelte documentation and autofixing tools for Svelte development.

How do I run Svelte MCP locally?

Run the package with npx -y @sveltejs/mcp. Alternatively, install it with pnpm i @sveltejs/mcp, then start it with pnpm svelte-mcp.

Similar MCP servers

Everything for Frontend and UI →

From the same set3

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor