1. Conduid
  2. Blockchain
  3. Code Context Engine
MCP server · Blockchain

Code Context Engine

Save 94% on AI coding tokens. Index your codebase, agents search instead of reading files. Works with Claude Code, Codex, Copilot, Cursor, Gemini CLI. Local MCP server, free, open source.

71Good

Scored 23 hours ago · breakdown

About Code Context Engine

Code Context Engine is an MCP server published by elara-labs in the Blockchain category: save 94% on AI coding tokens. Index your codebase, agents search instead of reading files. Works with Claude Code, Codex, Copilot, Cursor, Gemini CLI. Local MCP server, free, open source. Conduid read 11 tools from its source: context_search, expand_chunk, index_status, record_code_area, record_decision, reindex and 5 more. It is published to PyPI as code-context-engine and runs with uvx.

The repository has 471 stars and 68 forks, is licensed MIT, and its last commit was on 23 Aug 2026. The latest release is v0.4.26 (12 Aug 2026). It follows v0.4.25 (1 Jul 2026), and the 5 most recent releases go back to v0.4.22 (19 May 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include code-search, devtools and sqlite.

Install

uvx
uvx code-context-engine
pip
pip install code-context-engine
From source
git clone https://github.com/elara-labs/code-context-engine

Tools (11)

context_searchHybrid vector + BM25 search with graph expansion
ParameterTypeDescription
max_tokensinteger
query *string
top_kinteger
expand_chunkFull source for a compressed result
ParameterTypeDescription
chunk_id *string
index_statusCheck index freshness
record_code_areaRecord which files were worked in
ParameterTypeDescription
description *string
file_path *string
record_decisionSave a decision for future sessions
ParameterTypeDescription
decision *string
reason *string
reindexRe-index a file or the full project
ParameterTypeDescription
pathstring
related_contextFind code via graph edges (calls, imports)
ParameterTypeDescription
chunk_id *string
session_eventInspect raw tool input/output for a specific event
ParameterTypeDescription
event_id *integer
session_recallRecall decisions from past sessions
ParameterTypeDescription
topic *string
session_timelineWalk turn summaries for a session (drill into recall hits)
ParameterTypeDescription
limitinteger
session_id *string
set_output_compressionAdjust response verbosity (`off` / `lite` / `standard` / `max`)
ParameterTypeDescription
level *stringoff=normal, lite=no filler, standard=fragments ~65% savings, max=telegraphic ~75% savings

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock and docs-src/package-lock.json.
  • ✓No dynamic code executionScanned 62 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdiosrc/context_engine/cli.py:3703
Starts other programs
11 callssrc/context_engine/cli.py:2761, src/context_engine/cli.py:2779, src/context_engine/indexer/git_hooks.py:115
Outbound network calls
26 callssrc/context_engine/cli.py:119, src/context_engine/cli.py:520, src/context_engine/cli.py:726
Writes or deletes files
42 callssrc/context_engine/cli.py:132, src/context_engine/cli.py:453, src/context_engine/cli.py:926
Lockfile
uv.lock and docs-src/package-lock.json

Pattern matches on the source text of 62 files: places to read, not proof of what the code does at run time.

Releases

v0.4.26v0.4.26 · 12 Aug 2026What's Changed feat(indexer): add C# language support to AST chunker by @felixarjuna in https://github.com/elara-labs/code-context-engine/pull/121 docs: add C# to AST-aware supported languages by @rajkumarsakthivel in…
v0.4.25v0.4.25 · 1 Jul 2026What's Changed fix: cap tree-sitter<0.26 to stop SIGSEGV/SIGBUS on cce init (#114, #113) by @fazleelahhee in https://github.com/elara-labs/code-context-engine/pull/115 fix: thread-local tree-sitter parsers to end concurrent-parse races…
v0.4.24v0.4.24 · 21 Jun 2026What's Changed fix: Windows encoding crash + stale savings display by @rajkumarsakthivel in https://github.com/elara-labs/code-context-engine/pull/110 feat: README overhaul + savings badge CLI for growth by @rajkumarsakthivel in…
v0.4.23v0.4.23 · 15 Jun 2026What's Changed Multi-model pricing (#101) Static pricing for OpenAI, Google, and Anthropic models `pricing.model`, `pricing.input`, `pricing.output` config overrides Dashboard and CLI show cost savings estimates No network fetch on hot…
v0.4.22v0.4.22 · 19 May 2026What's Changed feat: add Starlight documentation site by @rajkumarsakthivel in https://github.com/elara-labs/code-context-engine/pull/82 fix: add root index page to docs/guide/ by @rajkumarsakthivel in…

README

The repository's README runs to about 3.5K words, fetched 3 days ago. The original in the repository is authoritative.

Read full README
Questions

About Code Context Engine

How do I install Code Context Engine?

Run uvx code-context-engine, then add the server to your MCP client's configuration.

Is Code Context Engine safe to use with an AI agent?

Its trust score is 71 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 62 source files found that it serves MCP over stdio, starts other programs (11 calls), makes outbound network calls (26 calls) and writes or deletes files (42 calls). Its dependencies are pinned by uv.lock and docs-src/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Code Context Engine still maintained?

Yes — the latest release is v0.4.26 (12 Aug 2026), and the last commit was 3 months ago. The repository has 471 stars and 22 open issues.

What tools does Code Context Engine provide?

Conduid read 11 tools from the source: context_search, expand_chunk, index_status, record_code_area, record_decision, reindex, related_context, session_event and 3 more. 10 of them publish their parameters, listed under Tools above.

What license is Code Context Engine released under?

The repository declares the MIT license. That applies to the latest release, v0.4.26, as well.