{"repo":"nesaminua/claude-code-lsp-enforcement-kit","free":true,"listed":false,"github":"https://github.com/nesaminua/claude-code-lsp-enforcement-kit","clone":"git clone https://github.com/nesaminua/claude-code-lsp-enforcement-kit.git","description":"Hooks that force Claude Code to use LSP instead of Grep for code navigation. Saves ~80% tokens","language":"JavaScript","stars":327,"topics":["claude","claude-ai","claude-code","claude-hook","claude-hooks"],"license":"MIT","category":"mcp-servers","readme_excerpt":"LSP Enforcement Kit Physical enforcement of LSP-first navigation in Claude Code. Stop burning tokens on Grep. Make Claude navigate code like an IDE — 100% of the time. Quick Start &bull; Why &bull; Savings &bull; Architecture &bull; Hooks &bull; Changelog --- In Action When Claude tries to Grep for a code symbol, the hook blocks with a copy-pasteable LSP command: When Claude tries to Read a code file without warming up LSP, the progressive gate blocks: No generic advice. Every block message is parametrized by the actual file Claude tried to touch. --- ⚡ Quick Start Restart Claude Code. Done. The installer is idempotent — safe to re-run on upgrades. Verify: --- 🎯 The Problem Claude Code defaults to Grep + Read for code navigation. This works, but it's wasteful: 40x fewer tokens. Same answer. A rule in CLAUDE.md saying \"use LSP\" helps 60% of the time. Hooks make it 100%. 💰 Token Savings: Grep vs LSP Per Operation Task Grep approach LSP approach Saved ------ -------------- -------------- ------- Find definition of handleSubmit Grep → 23 matches ( 1500 tok) + 2 wrong Reads ( 5000 tok) = 6500 tok find definition → file:line ( 80 tok) + 1 targeted Read ( 500 tok) = 580 tok 91% Find all usages of UserService Grep → 15 matches ( 1200 tok), scan results ( 300 tok) = 1500 tok find references → 8 file:line pairs ( 150 tok) = 150 tok 90% Check type of formData Read full file ( 2500 tok), search visually = 2500 tok get hover → type signature ( 60 tok) = 60 tok 98% Find component InviteF","default_branch":null,"files":null,"tree":[],"storefront":"/r/nesaminua","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nesaminua/claude-code-lsp-enforcement-kit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}