๐ MCP server that lets you search and access Svelte documentation with built-in caching
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
๐ MCP server that lets you search and access Svelte documentation with built-in caching
Is it safe?
No package registry to scan.
No authentication โ any process on your machine can connect.
MIT. View license โ
Is it maintained?
Last commit 5 days ago. 123 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience โ it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt โ returns 0-100 signal.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Svelte Docs and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
# mcp-svelte-docs
A Model Context Protocol (MCP) server providing authoritative Svelte 5
and SvelteKit definitions extracted directly from TypeScript
declarations. Get precise syntax, parameters, and examples for all
Svelte 5 concepts through a single, unified interface.
## Architecture
**Definition-First Approach**: Rather than multiple specialized tools,
this server provides one powerful `svelte_definition` tool that
accesses 28+ comprehensive definitions covering:
- **All Svelte 5 runes** ($state, $derived, $props, $effect variants)
- **Modern features** (snippets, await expressions, remote functions)
- **Event handling** (DOM events, custom events, component
communication)
- **Migration guidance** (Svelte 4 to 5 patterns and best practices)
- **TypeScript interfaces** (Snippet, Snapshot types)
- **Advanced patterns** (global state, common mistakes, lifecycle
equivalents)
## Available Tool
### `svelte_definition`
**Single, powerful tool** for all Svelte 5 and SvelteKit concepts:
```typescript
svelte_definition(identifier: string, format?: "syntax"|"quick"|"full")
```
**Examples:**
- `svelte_definition("$state")` - Complete $state documentation
- `svelte_definition("snippets", "quick")` - Snippet overview with
example
- `svelte_definition("onclick", "syntax")` - Just the TypeScript
signature
- `svelte_definition("migration-patterns")` - Svelte 4 โ 5 migration
guide
**Response Formats:**
- `"syntax"` - TypeScript signature only (~50 words)
- `"quick"` - Definition + minimal example (~200 words)
- `"full"` - Complete documentation with examples (~500-1000 words,
default)
### Available Identifiers (28+)
**Core Runes:** `$state`, `$state.raw`, `$state.snapshot`, `$derived`,
`$derived.by`, `$props`, `$bindable`, `$effect`, `$effect.pre`,
`$effect.root`, `$effect.pending`, `$effect.tracking`
**Development Tools:** `$inspect`, `$host`
**Features & Patterns:** `snippets`, `onclick`, `component-events`,
`migration-patterns`, `await-expressions`, `remote-functions`,
`global-state`, `common-mistakes`, `lifecycle-equivalents`
**Event Handling:** `custom-events`, `event-delegation`,
`event-modifiers`
**TypeScript Interfaces:** `snippet`, `snapshot`
## Key Features
### ๐ฏ **Authoritative & TypeScript-First**
- **Direct from Source**: Definitions extracted from official Svelte 5
TypeScript declarations
- **Always Current**: Reflects the actual API, not outdated tutorials
- **Type-Safe**: Includes precise parameter types, return values, and
constraints
### โก **Single Interface, Complete Coverage**
- **One Tool**: `svelte_definition` replaces 16+ specialized tools
- **28+ Definitions**: Every Svelte 5 rune, feature, and pattern
covered
- **Consistent Responses**: Same interface whether you need `$state`
or `remote-functions`
### ๐ **Modern Svelte 5 & SvelteKit Support**
- **Await Expressions**: Async operations directly in templates
(`await-expressions`)
- **Remote Functions**: Type-safe client-server communicatio
... [View full README on GitHub]