Quickstart
Lucerna ships a built-in Model Context Protocol server so AI coding assistants (Claude Code, Cursor, Windsurf, Zed, VS Code, and more) can search your codebase directly.
Run the interactive installer from your project directory:
npx -y @upstart.gg/lucerna@latest installbunx @upstart.gg/lucerna@latest installpnpm dlx @upstart.gg/lucerna@latest installyarn dlx @upstart.gg/lucerna@latest installThe installer will:
- Detect and configure your AI clients — registers the Lucerna MCP server with every AI coding assistant found on your machine (Claude Code, Cursor, Windsurf, Zed, VS Code, and more)
- Scaffold
lucerna.config.ts— creates a config file at your project root if one doesn’t exist yet (edit it afterwards to configure an embedding provider for semantic search) - Scope the index for version control — writes a narrow
.lucerna/.gitignore(excludes only ephemeral files like SQLite WAL journals and the process lock) and a.lucerna/.gitattributes(marks DB files binary / generated). The.lucerna/directory itself is safe to commit by default, so teammates pick up a pre-built index on clone.
Restart your AI client after running the installer to load the MCP server.
See MCP Tools for the full tool reference.