context_searchLABSCO SUMMARY
Cross-session memory and code search from one local index.
The search half is what most indexers give you; the session half is the unusual part - decisions and touched files are recorded as you work and come back on the next run, so context survives a restart. A dashboard and a savings command turn the effect into figures you can check rather than take on faith.
What it is
A local index over your repository - chunks, embeddings and a graph of calls and imports - exposed as MCP tools. Nothing leaves the machine, and one index serves whichever editor you happen to be in.
What you get
- Hybrid vector and BM25 search over the codebase, expanded along graph edges
- Full source for any compressed result, pulled back on demand
- Related code found through call and import edges rather than filename guessing
- Decisions and worked-in areas recorded now and recalled in a later session
- A turn-by-turn timeline of a past session, drillable down to the raw input and output of one event
- Index freshness checks, targeted or full re-indexing, and a switch for how verbose responses are
Requirements
Python 3.11+ and a C compiler for the tree-sitter grammars. One command sets everything up: uvx --from "code-context-engine[local]" cce init, which indexes the project and writes the MCP config for whichever editors it detects. If Ollama is already running it is used for embeddings instead.
Setup effort
One command — uvx --from "code-context-engine[local]" cce init
USE CASES
Finding where behaviour lives in an unfamiliar repo
Search by meaning and keyword together, then expand only the chunks worth reading in full.
Picking up where a previous session stopped
Recall the decisions recorded last time, then walk the session timeline to see how they were reached.
Tracing what a function is connected to
Follow call and import edges out from the code you are changing, rather than grepping for names that may not match.
Keeping the index honest after a big change
Check freshness, then re-index just the files you touched instead of rebuilding the project.
11 tools
Listed in project docs. Your client may show a different list.
expand_chunkrelated_contextsession_recallsession_timelinesession_eventrecord_decisionrecord_code_areaindex_statusreindexset_output_compressionBEFORE YOU INSTALL
What to know first
Tools you get
11 tools named in the project's documentation.
Requires
- Python 3.11+
- A C compiler (for the tree-sitter grammars)
INSTALLATION
Connect your client
Server setup
uvx --from "code-context-engine[local]" cce initMCP Clients
Claude Code
Put the cce command on your PATH (pipx install "code-context-engine[local]" works too):
uv tool install "code-context-engine[local]"Then, in your project:
cce init --agent claudeGitHub Copilot in VS Code
Put the cce command on your PATH (pipx install "code-context-engine[local]" works too):
uv tool install "code-context-engine[local]"Then, in your project:
cce init --agent copilotCursor, Gemini CLI, OpenCode, Tabnine
Put the cce command on your PATH (pipx install "code-context-engine[local]" works too):
uv tool install "code-context-engine[local]"Then, in your project:
cce initCodex
Put the cce command on your PATH (pipx install "code-context-engine[local]" works too):
uv tool install "code-context-engine[local]"Then, in your project:
cce init --agent codexPi
Put the cce command on your PATH (pipx install "code-context-engine[local]" works too):
uv tool install "code-context-engine[local]"Then, in your project:
cce init --agent pi