Svelte Docs
Enables vector similarity search and serving of Svelte documentation via the MCP protocol, with support for local caching and multiple llms.txt documentation formats.
What is Svelte Docs?
Svelte Docs is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables vector similarity search and serving of svelte documentation via the mcp protocol, with support for local caching and multiple llms.txt documentation formats.
Enables vector similarity search and serving of Svelte documentation via the MCP protocol, with support for local caching and multiple llms.txt documentation formats.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Enables vector similarity search and serving of Svelte docum
Use Cases
Maintainer
Works with
Installation
NPM
npx -y mcp-svelte-docsManual Installation
npx -y mcp-svelte-docsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Svelte Docs
mcp-svelte-docs is a TypeScript MCP server that provides a single authoritative tool—svelte_definition—covering 28+ Svelte 5 and SvelteKit concepts extracted directly from official TypeScript declarations. It lets AI assistants look up precise syntax, parameter types, return values, and migration guidance for every Svelte 5 rune ($state, $derived, $props, $effect and variants), snippets, async await expressions, remote functions, event handling patterns, and TypeScript interfaces. Developers use it to ensure AI coding assistants always reference the actual current Svelte 5 API rather than outdated tutorials.
Prerequisites
- Node.js 18+ installed
- npx available on your system
- An MCP-compatible client (Claude Desktop, Cursor, Windsurf, etc.)
Add the server to your MCP client config
No separate installation is required. Add mcp-svelte-docs to your client config and npx will download and run it automatically on first use.
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "npx",
"args": ["-y", "mcp-svelte-docs"]
}
}
}Configure for Windows (without WSL)
On native Windows, use npx directly without the wsl.exe wrapper.
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "npx",
"args": ["-y", "mcp-svelte-docs"]
}
}
}Configure for Claude Desktop on WSL
When Claude Desktop runs on Windows but Node.js is inside WSL, route through wsl.exe.
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "wsl.exe",
"args": ["bash", "-c", "npx -y mcp-svelte-docs"]
}
}
}Restart your MCP client
Restart Claude Desktop or your MCP client to load the new server. The svelte_definition tool will appear in the available tools list.
Use the svelte_definition tool
Query any of the 28+ available identifiers with an optional format (syntax, quick, or full). The default format is 'full' providing ~500-1000 words of documentation with examples.
Svelte Docs Examples
Client configuration
Standard macOS/Linux configuration for Claude Desktop using npx to run mcp-svelte-docs.
{
"mcpServers": {
"mcp-svelte-docs": {
"command": "npx",
"args": ["-y", "mcp-svelte-docs"]
}
}
}Prompts to try
Example prompts that invoke svelte_definition across runes, migration patterns, and SvelteKit features.
- "Look up the $state rune in the Svelte docs and show me the full TypeScript signature"
- "Show me the quick reference for Svelte 5 snippets"
- "What is the Svelte 4 to 5 migration pattern for reactive declarations ($:)?"
- "Explain $effect.pre vs $effect in Svelte 5 with examples"
- "Show me the syntax-only format for the $derived.by rune"Troubleshooting Svelte Docs
svelte_definition returns 'identifier not found'
The server provides fuzzy matching — it will suggest the correct identifier if you have a typo. Check the available identifiers list: core runes use the $ prefix (e.g., $state, $derived), while features use kebab-case (e.g., migration-patterns, await-expressions).
npx times out or hangs on first run
The first run downloads the mcp-svelte-docs package. Ensure you have internet access and that your npm registry is reachable. You can pre-install with npm install -g mcp-svelte-docs and point the config at the global binary instead.
Server not found when using Windsurf or Cursor on WSL
Use the wsl.exe wrapper form: set command to 'wsl.exe' and args to ['bash', '-c', 'npx -y mcp-svelte-docs']. This ensures the Node process runs inside WSL where your project dependencies live.
Frequently Asked Questions about Svelte Docs
What is Svelte Docs?
Svelte Docs is a Model Context Protocol (MCP) server that enables vector similarity search and serving of svelte documentation via the mcp protocol, with support for local caching and multiple llms.txt documentation formats. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Svelte Docs?
Install via npm with the command: npx -y mcp-svelte-docs. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Svelte Docs?
Svelte Docs works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Svelte Docs free to use?
Yes, Svelte Docs is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Svelte Docs Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Svelte Docs? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Svelte Docs in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Svelte Docs?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.