Skip to main content

Scubiee

PyPI Python 3.10+ OS
MCP Local first License

Local context engine for AI coding tools.
Index your repository on your machine. Agents search by meaning - map · focus · grep - instead of grepping blindly through files.


Type scubiee connect once and your AI coding assistant gets a local index of the repo - ranked discovery, deep focus, and exact search - without uploading code to a vendor.

  • Fully local. Tree-sitter + embeddings on disk. Code never leaves the machine. The only network step is a one-time model download at setup (~270 MB).
  • Built for agents. MCP tools map · focus · grep in Cursor, Claude Code, Copilot, Kiro, and more.
  • Not a cloud RAG. A real local engine with live Merkle sync. Index once, stay fresh as you edit and pull.

Scubiee map, focus, and grep

Ranked map hits, focused spans, exact grep - all against a local index.


Install

Requires Python 3.10+. Recommended installer: uv.

uv tool install scubiee
Or with pip
pip install -U scubiee

Setup (once per machine)

Downloads the embedding model and picks CUDA / DirectML / MLX / CPU for your hardware.

scubiee setup

Index a repo

Parses and embeds the project into ~/.scubiee. Run this inside the repository you want agents to understand.

cd /path/to/your/repo
scubiee init .

Connect your IDE

Wires MCP + agent rules so the assistant can call Scubiee. Then reload MCP in the IDE (Cursor: Settings → MCP → refresh).

scubiee connect --cursor

Other tools: --claude-code, --copilot, --kiro, --all, and more - see getting started.

init indexes. connect attaches the assistant. You need both.


What agents get

Tool Role
map Ranked files & symbols — overview without dumping bodies
pack_context Lean heatmap around a seed (default ladder step 2)
expand_context / collect_hot_context Grow the graph / pull bodies when needed
gate / status Tiny managed check + engine health at session start

Also: workspace, expand. Exact/name lookup stays on host Grep/Glob/Read. Classic focus/grep/glob MCP tools are opt-in (CTX_MCP_EXPERIMENT=classic) — see MCP tools reference.


How it works

  setup (once)  →  init (per repo)  →  connect (per IDE)
       │                 │                    │
       ▼                 ▼                    ▼
  download model    parse + embed         MCP + rules
                    ~/.scubiee            reload IDE
  AI coding tool  ──MCP──►  Scubiee (localhost)  ──►  ~/.scubiee

A small local daemon serves search. Background sync keeps enrolled repos fresh. Indexing and retrieval stay on your machine.


Day-to-day

After a big pull or refactor, refresh the index:

scubiee sync .

Check enrollment and health:

scubiee status .
scubiee doctor .

Search from the terminal (no IDE required):

scubiee search "auth middleware" .

Upgrade the package and rebind MCP:

scubiee upgrade

Lifecycle (pause / stop / wipe) is covered in repo lifecycle. Full flag list: complete CLI reference.


Privacy

  • Code stays on disk - parsed and embedded locally; nothing leaves for search.
  • Model downloads once during setup (~270 MB). After that, indexing is offline.
  • Data lives under ~/.scubiee and <repo>/.scubiee.

Docs

Getting started docs/web-info/getting-started.md
Install & debug docs/web-info/install-and-debug.md
MCP tools docs/web-info/mcp-tools-reference.md
Troubleshooting docs/web-info/troubleshooting.md
How everything works web-info/how-everything-works.md

FAQ

Does init connect Cursor?
No. init indexes. connect writes MCP and rules. Then reload MCP.

Does my code get uploaded?
No. Only the embedding model downloads during setup.

Agent says managed: false?
Run init and connect in that project, then reload MCP. For Kiro / Copilot / Cline / Roo, run connect inside each repo.

Windows "Access denied" on upgrade?
scubiee unlock-tool, then retry. Quitting the IDE helps.

Need a support bundle?
scubiee diagnose --no-tests --desktop - attach the Desktop JSON and a tail of ~/.scubiee/engine.log.


PyPI: scubiee · Release: 0.3.15 · Contributors: uv pip install -e . then scubiee setup

License

Copyright 2026 Usman Sayed

Licensed under the Apache License, Version 2.0.

Release files for scubiee 0.3.36

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scubiee 0.3.36
File Size Uploaded
scubiee-0.3.36.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for scubiee 0.3.36
File Interpreter ABI Platform
scubiee-0.3.36-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / scubiee-0.3.36.tar.gz

Download URL scubiee-0.3.36.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
7391fb5ba223368e383dff8c140cdb3ab03be46449e45567e27c9ab9591a5110
BLAKE2b-256 checksum
How to use checksums
d053c743fc7bb0896e3d0a9ef381f133ac6e711db94158da04cea7bfc5825b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / scubiee-0.3.36-py3-none-any.whl

Download URL scubiee-0.3.36-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b88f0e9e8a9054f642ca7695f3ef9544edf629ac5949d0133ba159a75efcb96f
BLAKE2b-256 checksum
How to use checksums
868e5348da8bcff6791a751ebec886bb8e4ea175a80a8bce3e349a12b5752e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.3.91

2 release files

0.3.90

2 release files

0.3.89

2 release files

0.3.67

2 release files

0.3.66

2 release files

0.3.54

2 release files

0.3.44

2 release files

0.3.43

2 release files

0.3.42

2 release files

0.3.41

2 release files

0.3.40

2 release files

0.3.39

2 release files

0.3.38

2 release files

0.3.37

2 release files

This release

0.3.36 This release

2 release files

0.3.35

2 release files

0.3.34

2 release files

0.3.33

2 release files

0.3.32

2 release files

0.3.31

2 release files

0.3.30

2 release files

0.3.10

1 release file

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.0

2 release files

0.2.95

2 release files

0.2.93

2 release files

0.2.92

2 release files

0.2.91

2 release files

0.2.88

2 release files

0.2.87

1 release file

0.2.86

2 release files

0.2.85

2 release files

0.2.84

2 release files

0.2.82

2 release files

0.2.81

2 release files

0.2.80

2 release files

0.2.79

2 release files

0.2.78

2 release files

0.2.77

2 release files

0.2.76

2 release files

0.2.75

2 release files

0.2.74

2 release files

0.2.73

2 release files

0.2.72

2 release files

0.2.71

2 release files

0.2.70

2 release files

0.2.69

2 release files

0.2.68

2 release files

0.2.67

2 release files

0.2.66

2 release files

0.2.65

2 release files

0.2.64

2 release files

0.2.63

2 release files

0.2.62

2 release files

0.2.61

2 release files

0.2.60

2 release files

0.2.59

2 release files

0.2.58

2 release files

0.2.57

2 release files

0.2.56

2 release files

0.2.55

2 release files

0.2.54

2 release files

0.2.53

2 release files

0.2.52

2 release files

0.2.51

2 release files

0.2.50

2 release files

0.2.49

2 release files

0.2.48

2 release files

0.2.47

2 release files

0.2.46

2 release files

0.2.45

2 release files

0.2.44

2 release files

0.2.43

2 release files

0.2.42

2 release files

0.2.41

2 release files

0.2.40

2 release files

0.2.39

2 release files

0.2.38

2 release files

0.2.37

2 release files

0.2.36

2 release files

0.2.35

2 release files

0.2.34

2 release files

0.2.33

2 release files

0.2.32

2 release files

0.2.31

2 release files

0.2.30

2 release files

0.2.29

2 release files

0.2.28

2 release files

0.2.27

2 release files

0.2.26

2 release files

0.2.25

2 release files

0.2.24

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page