Lightweight MCP for LSP navigation
Locus gives your AI coding agent a map of your codebase — definitions, references, types, and diagnostics — through six focused MCP tools. Install with npx. Your host still edits files; Locus only reads structure.
Most agent IDE stacks expose dozens of MCP tools, symbolic editing, and session memory. Locus does one job: semantic navigation backed by language servers. Six tools, compact line-oriented output, no second IDE inside MCP.
Smaller tool surface means less context for the agent to juggle and faster calls when you only need to find a definition or list callers. That is the performance story — fewer moving parts, not invented benchmarks.
npx @paladini/locus-mcp init npx @paladini/locus-mcp check
Add the MCP server to Cursor, Codex, or Claude Code. Node.js 22+ required. Language servers on your PATH for the languages you use.
| Locus | Serena | Grep | |
|---|---|---|---|
| Goal | Navigation + diagnostics | Full agent IDE (edit, refactor, memory) | Text search |
| MCP tools | 6 fixed | Many | — |
| Install | npx @paladini/locus-mcp |
uv tool install serena-agent |
Host built-in |
| Edits code | No — host edits | Yes — symbolic editing | No |
| Output | Compact lines | Mixed | Text matches |
Choose Locus when your agent host already handles edits and you want definitions, references, types, and diagnostics on demand. Choose Serena when you need symbolic editing and memory inside MCP. Use grep for strings, logs, and comments — Locus targets typed symbols.