Atlas / MCP servers / elara-labs / Code Context Engine

Code Context EngineBLOCK

mcp/elara-labs/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.

Verdict
BLOCK
Grade
F
Trust score
53 /100
Exposed tools
6 5r · 1w · 0d
Transport
stdio
License
MIT
Stars
425
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Code Context Engine

Index your codebase. AI searches instead of re-reading files.94% token savings, reproducibly benchmarked.

Website · Docs · Why CCE? · Benchmark · GitHub

Python 3.11+ · macOS · Li

Read from source at commit a0d1ac690714OBSERVED · 2026-10-01
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add code-context-engine -- uvx code-context-engine==0.4.26
03

Exposed tools (6)

5 read · 1 write · 0 destructive.

ToolRiskDescription
expand_chunkreadGet the full original content for a compressed chunk
index_statusreadCheck when the index was last updated
record_code_areareadRecord a code area (file + description) worked on, for future session_recall
record_decisionreadRecord a decision (with reason) for future session_recall
reindexwriteTrigger re-indexing of a file or the entire project
related_contextreadFind related code via graph edges
04

Trust audit

BLOCKgrade F · trust 53/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (7 observation(s))
Network
declared (4 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/context_engine/indexer/secrets.py:36
".npmrc", ".pypirc", ".netrc",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/context_engine/indexer/secrets.py:45
".git-credentials",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/context_engine/indexer/secrets.py:47
"id_rsa", "id_dsa", "id_ecdsa", "id_ed25519", "id_xmss",
Why it matters. touches a credential store
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/indexer/test_secrets.py:60
("AWS_KEY = AKIA1234567890ABCDEF", "AWS_ACCESS_KEY"),
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/indexer/test_secrets.py:77
out, fired = redact_secrets("key=AKIAQ4ZRTPPPK1ABCDEF")
MEDIUMHard-coded secrets · secret.aws · CWE-798, CWE-321
tests/indexer/test_secrets.py:78
assert "AKIAQ4ZRTPPPK1ABCDEF" not in out
MEDIUMHard-coded secrets · secret.github · CWE-798, CWE-321
tests/indexer/test_secrets.py:61
("export TOKEN=ghp_abcdefghijklmnopqrstuvwxyz0123456789", "GITHUB_PAT"),
MEDIUMHard-coded secrets · secret.github · CWE-798, CWE-321
tests/indexer/test_secrets.py:224
text = "# comment\ntoken = ghp_abcdefghijklmnopqrstuvwxyz0123456789\n"
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
tests/indexer/test_pipeline_secret_redaction.py:32
(p / "id_rsa").write_text("-----BEGIN RSA PRIVATE KEY-----\n...\n")
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
tests/indexer/test_secrets.py:84
"-----BEGIN RSA PRIVATE KEY-----\n"
MEDIUMHard-coded secrets · secret.slack · CWE-798, CWE-321
tests/indexer/test_secrets.py:65
("xoxb-1234567890-abcdef-1234567890abcdef1234", "SLACK_TOKEN"),
LOWInventory / provenance · inv.binary · CWE-1104
docs/guide/pagefind/fragment/en_2079337.pf_fragment
en_2079337.pf_fragment
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.binary · CWE-1104
docs/guide/pagefind/fragment/en_29c695e.pf_fragment
en_29c695e.pf_fragment
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.binary · CWE-1104
docs/guide/pagefind/fragment/en_4210912.pf_fragment
en_4210912.pf_fragment
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.binary · CWE-1104
docs/guide/pagefind/fragment/en_61a169c.pf_fragment
en_61a169c.pf_fragment
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.binary · CWE-1104
docs/guide/pagefind/fragment/en_738641a.pf_fragment
en_738641a.pf_fragment
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.hidden_file · CWE-1104
docs/.nojekyll
.nojekyll
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/indexer/test_pipeline_secret_redaction.py:32
(p / "id_rsa").write_text("-----BEGIN RSA PRIVATE KEY-----\n...\n")
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
tests/indexer/test_pipeline_secret_redaction.py:56
assert "id_rsa" not in names
Why it matters. touches a credential store
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/indexer/test_embedder_backends.py:448
assert _ollama_available("http://10.255.255.1:11434") is False
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/memory/test_grammar.py:70
"On SessionStart, the hook script POSTs JSON to http://127.0.0.1:${PORT}/hooks/SessionStart",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_services.py:113
"http://127.0.0.1:11434",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_services.py:115
"http://0.0.0.0:11434",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_services.py:124
"http://192.168.1.50:11434",
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
docs-src/package.json
@astrojs/starlight, astro, sharp
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-01 · audit v0.4.1 · source sha a0d1ac690714full audit observations/trust-audit/mcp-server/elara-labs__code-context-engine.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-01a0d1ac690714BLOCKF53first audit
06

Questions

What is the Code Context Engine MCP server?

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.

What tools does Code Context Engine expose?

6 in total: 5 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Code Context Engine safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (53/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does Code Context Engine need?

It reads CCE_API_TOKEN, CCE_DASHBOARD_TOKEN, SECRET_KEY and TOKENIZERS_PARALLELISM from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Code Context Engine run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as cce-docs at 0.0.1.

How current is this page?

The grade is for one exact copy of the source (a0d1ac690714), read on 2026-10-01. The repository is watched and re-audited when it changes.

Advertisement