Svelte MCP is an MCP server that provides access to official Svelte documentation, code examples, and suggestions directly within Model Context Protocol environments. Developed as the official integration by the Svelte project, it connects AI coding assistants to Svelte documentation resources and vector embeddings. Frontend developers, software engineers, and web application teams use Svelte MCP to retrieve authoritative information when building web applications with Svelte. The server enables AI assistants to search documentation pages, answer detailed framework questions, and pull vetted code snippets into local codebases. By integrating directly into development workflows, it reduces manual searching across web docs and minimizes hallucinations when generating modern Svelte code. The repository supports local development via pnpm, uses Streamable HTTP for inspector debugging, and includes dedicated tools such as ask_svelte, search_docs, and get_examples to interact with the underlying knowledge base and embeddings API.
Category: Developer Tools & Code Intelligence
Tags: documentation, frontend, svelte, web-development
pnpm i. 2. Create an environment configuration by running cp apps/mcp-remote/.env.example apps/mcp-remote/.env. 3. Configure your VOYAGE_API_KEY inside the .env file for embeddings support. 4. Start the development server using pnpm dev. 5. Inspect the server locally with pnpm run inspect, connecting via transport type Streamable HTTP at http://localhost:5173/mcp. 6. For adding the server to your MCP client configuration, follow the setup guidelines in the Svelte MCP repository.ask_svelte tool to clarify API behaviors and reactive statements. - Searching official documentation pages and contextual snippets with search_docs during component implementation. - Retrieving relevant code patterns and component templates using get_examples to ensure standard ecosystem practices. - Debugging and inspecting Svelte MCP integration streams locally with the official MCP inspector at localhost. - Reviewing database schema and embedded context using the local Drizzle Studio inspection command.Part of MCP Servers
Svelte MCP is the official Model Context Protocol server for the Svelte web framework. It provides AI coding assistants with direct access to official Svelte documentation, API references, and code examples to assist developers with accurate frontend code generation.
The server enables users to query official Svelte documentation using ask_svelte, search through reference docs and code snippets via search_docs, and retrieve implementation examples from the Svelte ecosystem with get_examples.
Yes, Svelte MCP is open source software maintained in the official Svelte organization repository on GitHub under open development practices.
Running the development setup requires setting the VOYAGE_API_KEY environment variable in the remote application configuration file to enable vector embeddings and semantic search.