MCP server
by spences10
Svelte Docs lets you efficiently query and retrieve Svelte documentation, streamlining access to framework-specific reso
Provides authoritative Svelte 5 and SvelteKit documentation extracted from TypeScript declarations. Get precise syntax, parameters, and examples for runes, components, and migration patterns.
Svelte Docs is a community-built MCP server published by spences10 that provides AI assistants with tools and capabilities via the Model Context Protocol. Svelte Docs lets you efficiently query and retrieve Svelte documentation, streamlining access to framework-specific reso It is categorized under developer tools. This server exposes 1 tool that AI clients can invoke during conversations and coding sessions.
You can install Svelte Docs in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport. This server supports remote connections over HTTP, so no local installation is required.
MIT
Svelte Docs is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Svelte Docs has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Svelte Docs is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
I recommend Svelte Docs for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Strong directory entry: Svelte Docs surfaces stars and publisher context so we could sanity-check maintenance before adopting.
We wired Svelte Docs into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Svelte Docs has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Svelte Docs has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Svelte Docs reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Useful MCP listing: Svelte Docs is the kind of server we cite when onboarding engineers to host + tool permissions.
According to our notes, Svelte Docs benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
showing 1-10 of 34
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.
Definition-First Approach: Rather than multiple specialized tools,
this server provides one powerful svelte_definition tool that
accesses 28+ comprehensive definitions covering:
svelte_definitionSingle, powerful tool for all Svelte 5 and SvelteKit concepts:
svelte_definition(identifier: string, format?: "syntax"|"quick"|"full")
Examples:
svelte_definition("$state") - Complete $state documentationsvelte_definition("snippets", "quick") - Snippet overview with
examplesvelte_definition("onclick", "syntax") - Just the TypeScript
signaturesvelte_definition("migration-patterns") - Svelte 4 → 5 migration
guideResponse Formats:
"syntax" - TypeScript signature only (~50 words)"quick" - Definition + minimal example (~200 words)"full" - Complete documentation with examples (~500-1000 words,
default)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
svelte_definition replaces 16+ specialized tools$state
or remote-functionsawait-expressions)remote-functions)$effect family, $state variants,
$derived.by, $bindableClaude Desktop (via WSL)
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "wsl.exe",
"args": ["bash", "-c", "npx -y mcp-svelte-docs"]
}
}
}
Cursor
Windsurf (via WSL)
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "wsl.exe",
"args": ["bash", "-c", "npx -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"]
}
}
}
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see the LICENSE file for details.
Built on:
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.