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
focus Deep context for one target (span, outline, neighbors)
grep Exact search inside the index
gate / status Tiny managed check at session start

Also: glob, workspace, expand - 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.16

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.16
File Size Uploaded
scubiee-0.3.16.tar.gz 1.3 MB Details

Built distribution (wheel)

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

Total release size: 2.6 MB

Release files / scubiee-0.3.16.tar.gz

Download URL scubiee-0.3.16.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
4549243fb04221bdfc717460eca176c25550ba074949b470f5c6141c3713a7b4
BLAKE2b-256 checksum
How to use checksums
5fb4f4a8005f8ffde3a0f24a6342e5501689b4a63525614c093be5d6a8539961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL scubiee-0.3.16-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2a60e25210611148b457bc0ddcf96a010a0d73655c25463ecb780876e853cad6
BLAKE2b-256 checksum
How to use checksums
bdc5d0d55abe1bf5e3ce2b2f9bb68ad9f0b81c5919e4b019f19a49c1340f4df9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

0.3.36

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

This release

0.3.16 This release

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