- Local-first — index a repo into a SQLite file on your machine and connect an agent to a stdio MCP server. No account, no upload, no network at query time. See Run locally.
- Cloud — a hosted MCP endpoint. Add a repo, connect your agent, ask away. The three steps below.
Three steps
Sign up
Create an account at uselettuce.dev/signup.
Generate an API key
On the API keys page, click
New key and copy the
cwz_… value.Connect your agent
Drop the MCP endpoint + your key into your agent’s config — exact
snippets for Claude Code,
Cursor,
VS Code,
Windsurf, and
Cline on the next page.
Tell it to use lettuce
Add a short snippet to the agent’s system prompt so it actually
reaches for the new tools — see
Agent instructions.