Replaces blind grep and file-reading loops with a SQLite-backed code index that understands symbols, call graphs, and semantic search. Parses Python, TypeScript, JavaScript, Go, and Rust repos with tree-sitter, embeds chunks locally using jina-embeddings-v2-base-code, and serves 14 retrieval tools over MCP: symbol_lookup for exact names, code_search for conceptual queries, callers and callees for navigating dependencies, file_outline and module_outline for structure, and trace for full call graphs. Optional PostToolUse hook keeps the index fresh on every Edit or Write. No API keys, fully offline after the initial 600MB model download. Reach for this when your codebase is large enough that Claude wastes time searching instead of reasoning.
claude mcp add --transport stdio achreftlili-code-index uvx code-index