Python
145 stars
Save up to 30% of your AI coding tokens. Scubiee turns any codebase into searchable context for your AI coding agent. A local context engine for Cursor, Claude Code, Copilot, Codex, and more: semantic search, code relationships, live sync, MCP integration, and code that never leaves your machine.
Overview: Scubiee is a local code-context engine designed to save up to 30% of AI coding tokens by providing semantic and structural code search capabilities. It integrates with various AI coding agents and supports live sync and hardware acceleration.
Key features:
- Semantic and structural code search through `map` (`find` / `focus`) and terminal command `scubiee search`.
- Fused retrieval over a code graph, BM25 lexical match, and dense embeddings stored in FAISS.
- Tree-sitter parsing for Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, C#, Ruby, and JSON.
- Live sync: background daemon diffs the repo and re-indexes only what changed.
- One-command MCP setup for Cursor, Claude Code, Codex, Copilot, Kiro, Windsurf, Cline, Roo Code, Continue, Zed, OpenCode, Amp, Devin Desktop, and Pi (`scubiee connect --<tool>` or `--all`).
- Hardware acceleration picked automatically at setup: CUDA, DirectML, Apple MLX, or CPU.
- Runs on Windows, macOS, and Linux with Python 3.11+.
Tech stack: Python 3.11+ with hardware acceleration.
Why it matters: Scubiee offers a local, always-fresh index for AI coding agents, reducing the need for cloud resources and improving efficiency in AI coding workflows.
Repository: Usmansayed/scubiee