MCP Catalogs
Home

mcp-svelte-docs

by spences10·122·Score 49

MCP server providing authoritative Svelte 5 documentation with comprehensive definitions and examples.

developer-toolsai-llmproductivity
10
Forks
12
Open issues
this month
Last commit
2d ago
Indexed

Overview

This MCP server offers a single, powerful tool that provides access to 28+ comprehensive Svelte 5 and SvelteKit definitions extracted directly from TypeScript declarations. It includes all runes ($state, $derived, $props, etc.), modern features, event handling patterns, migration guidance, and TypeScript interfaces. The server features a definition-first approach with three response formats: syntax-only, quick overview, and full documentation with examples. Built with TypeScript and designed to be authoritative and type-safe, reflecting the actual Svelte 5 API rather than outdated tutorials.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Search for Svelte 5 runes and syntax while coding
you:Get migration guidance from Svelte 4 to Svelte 5
you:Access TypeScript definitions for Svelte features during development
you:What Svelte 5 features are covered by this MCP server?
you:How do I use the svelte_definition tool?

When to choose this

Developers working with Svelte 5 who need authoritative, TypeScript-based documentation in their AI environment without switching contexts.

When NOT to choose this

Teams using Svelte 4 who don't need migration guidance or those seeking documentation for frameworks other than Svelte.

Tools this server exposes

1 tool extracted from the README
  • svelte_definitionsvelte_definition(identifier: string, format?: "syntax"|"quick"|"full")

    Retrieves comprehensive documentation for Svelte 5 concepts, runes, and features

Comparable tools

svelte-official-docsmcp-vue-docsmcp-react-docs

Installation

Installation

Claude Desktop

Add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "mcp-svelte-docs": {
      "command": "npx",
      "args": ["-y", "mcp-svelte-docs"]
    }
  }
}

Windows (without WSL)

{
  "mcpServers": {
    "mcp-svelte-docs": {
      "command": "npx",
      "args": ["-y", "mcp-svelte-docs"]
    }
  }
}

macOS / Linux

{
  "mcpServers": {
    "mcp-svelte-docs": {
      "command": "npx",
      "args": ["-y", "mcp-svelte-docs"]
    }
  }
}

Windsurf (via WSL)

{
  "mcpServers": {
    "mcp-svelte-docs": {
      "command": "wsl.exe",
      "args": ["bash", "-c", "npx -y mcp-svelte-docs"]
    }
  }
}

FAQ

What Svelte 5 features are covered by this MCP server?
The server provides definitions for 28+ Svelte 5 concepts including all runes ($state, $derived, $props, etc.), modern features like snippets and remote functions, event handling patterns, migration guidance from Svelte 4, TypeScript interfaces, and advanced patterns.
How do I use the svelte_definition tool?
The svelte_definition tool accepts an identifier (like '$state' or 'snippets') and an optional format parameter ('syntax', 'quick', or 'full'). For example: 'svelte_definition("$state")' returns complete documentation, while 'svelte_definition("onclick", "syntax")' returns just the TypeScript signature.

Compare mcp-svelte-docs with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.