Scubiee — local AI code context engine: setup once, connect tools, CUDA/DirectML/MLX/CPU.
pip install scubiee==0.3.149 Copy PIP instructions
A local code-context engine for AI coding agents. Index your repository on your own machine, and let agents find code by meaning — so they read the few spans that matter instead of grepping blindly through files.
Quick start · What your agent gets · How it works · Docs
Run scubiee connect once and your AI assistant gets a local, always-fresh index of your repo — ranked discovery and deep symbol focus — without uploading a single line of code.
Ranked map find hits and focused symbol spans — all against a local index.
Prerequisite: Python 3.11+. We recommend uv as the installer.
# 1. Install uv tool install scubiee # 2. Set up once per machine (downloads the model, picks CUDA / DirectML / MLX / CPU) scubiee setup # 3. Index a repo (run inside the repository) cd /path/to/your/repo scubiee init . # 4. Connect your IDE, then reload MCP in the IDE scubiee connect --cursor init indexes the repo; connect wires up the assistant. You need both, then reload MCP (Cursor: Settings → MCP → refresh). Other clients: --claude-code, --copilot, --kiro, --all. See getting started.
pip install -U scubiee On Windows with a GPU, install so DirectML isn't clobbered on upgrade — see Windows / DirectML install.
One MCP tool — map — with two configs. The agent picks one by what it knows, acts on the first good answer, and stops.
Scubiee is a locate layer, not a replacement for your editor. Exact string / path lookups stay on the host's native Grep / Glob / Read, and history stays on git — a one-line grep is faster and more precise than a semantic search for a known string. The CLI mirrors the tool: scubiee map --config find|focus.
→ Full tool reference: MCP tools · the two configs, in depth
setup (once) → init (per repo) → connect (per IDE) │ │ │ ▼ ▼ ▼ download model parse + embed MCP + agent rules → ~/.scubiee → reload IDE AI coding tool ──MCP──► Scubiee daemon (localhost) ──► local index (~/.scubiee) A small local daemon serves retrieval over three fused channels — a code graph (calls/imports/defines), BM25 lexical match, and dense embeddings (CodeRankEmbed, FAISS). Background sync keeps enrolled repos fresh with a Merkle diff, so edits show up in seconds without a full reindex. Everything — indexing, embedding, retrieval — runs on your machine.
→ Architecture deep-dive: how everything works · system overview
scubiee sync . # refresh the index after a big pull or refactor scubiee status . # enrollment + engine health scubiee search "auth middleware" . # search from the terminal, no IDE needed scubiee doctor . # diagnose setup / accelerator issues scubiee upgrade # update the package and rebind MCP Pause / stop / wipe and the full lifecycle are in repo lifecycle. Every command and flag: commands reference.
No. init indexes the repo; connect writes the MCP config and agent rules. Run both, then reload MCP in the IDE.
No. Only the embedding model downloads (once, during setup). Parsing, embedding, and search all run locally.
Run scubiee init . and scubiee connect inside that repo, then reload MCP. For Kiro / Copilot / Cline / Roo, run connect inside each repo.
Run scubiee setup --repair. To prevent it recurring, install with the DirectML override — see Windows / DirectML install.
Run scubiee unlock-tool, then retry. Quitting the IDE first helps.
scubiee diagnose --no-tests --desktop — attach the Desktop JSON plus a tail of ~/.scubiee/engine.log.
git clone https://github.com/Usmansayed/scubiee cd scubiee uv pip install -e . scubiee setup Issues and pull requests are welcome. Please run scubiee certify before opening a PR.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




