mcp-svelte-docs
🔍 MCP server that lets you search and access Svelte documentation with built-in caching
Overview
Mcp-svelte-docs is a Model Context Protocol (MCP) server designed to provide efficient access to Svelte documentation, featuring advanced caching and search capabilities.
To use mcp-svelte-docs, configure your MCP client with the provided settings and utilize the API to access documentation and search functionalities.
- Complete access to Svelte documentation through MCP Resources - Advanced search capabilities with document type filtering and intelligent relevance scoring - Efficient caching using LibSQL - Automatic content freshness checks - Support for package-specific documentation - Smart content chunking for large documents - Compressed documentation variants for smaller context windows
- Quickly searching for Svelte API references.
- Accessing tutorials and examples for Svelte development.
- Retrieving specific documentation chunks for large documents.
Add to your AI client
Use these steps to connect mcp-svelte-docs in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-svelte-docs-spences10": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-svelte-docs-spences10"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-svelte-docs-spences10": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-svelte-docs-spences10"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-svelte-docs-spences10": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-svelte-docs-spences10"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-svelte-docs-spences10": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-svelte-docs-spences10"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-svelte-docs-spences10": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-svelte-docs-spences10"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-svelte-docs-spences10": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-svelte-docs-spences10"
]
}
}
}FAQ
Is mcp-svelte-docs free to use?
Yes! mcp-svelte-docs is open-source and free to use.
What is the Model Context Protocol?
The Model Context Protocol is a framework that allows efficient access to documentation and resources in a structured manner.
Can I contribute to mcp-svelte-docs?
Yes! Contributions are welcome, and you can submit a Pull Request.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":805,"uuid":"8ccd4867-6175-48e3-ac46-3990395409ea","name":"mcp-svelte-docs","title":"mcp-svelte-docs","description":"🔍 MCP server that lets you search and access Svelte documentation with built-in caching","avatar_url":"https://avatars.githubusercontent.com/u/234708?v=4","created_at":"$D2025-01-28T02:11:47.772Z","updated_at":"$D2025-02-23T07:21:19.641Z","status":"created","author_name":"spences10","author_avatar_url":"https://avatars.githubusercontent.com/u/234708?v=4","tags":"search,documentation,mcp,svelte,developer-tools,llm,libsql,model-context-protocol","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/spences10/mcp-svelte-docs","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"78\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-05-20 20:57:46\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]