Skip to main content
Lettuce gives your coding agent a graph map of your codebase so it answers questions from precise pointers instead of grepping and reading whole files. Run it two ways:
  • 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

1

Sign up

Create an account at uselettuce.dev/signup.
2

Generate an API key

On the API keys page, click New key and copy the cwz_… value.
3

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.
4

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.
The full walkthrough lives in the Quickstart.

Works with any MCP agent

Lettuce speaks the Model Context Protocol, so it works with Claude Code, Cursor, GitHub Copilot, Windsurf, Cline, and any other MCP-capable agent.

Languages

Lettuce supports Python, TypeScript, JavaScript, Go, Rust, Java, Ruby, C, C++, .NET (C#), PHP, Kotlin, Scala, Swift, Bash, and Lua.