1. Conduid
  2. Developer Tools
  3. Claude Context Mode
MCP server · Developer Tools

Claude Context Mode

Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OMP, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry.

91Strong

Scored 5 hours ago · breakdown

About Claude Context Mode

Claude Context Mode is an MCP server published by mksglu in the Developer Tools category: free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OMP, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry. Conduid read 9 tools from its source: ctx_batch, ctx_doctor, ctx_execute, ctx_index, ctx_purge, ctx_resume and 3 more. It is published to npm as context-mode and starts with npx.

The repository has 35K stars and 2.4K forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v2.2.2 (22 Nov 2026): Fixes fix: a Fake-IP DNS name in 198.18.0.0/15 passes the SSRF guard after a once-per-process .invalid probe; literals and all other ranges stay blocked (#1403) fix: onl… It follows v2.2.1 (17 Nov 2026), and the 5 most recent releases go back to v2.1.9 (12 Nov 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include devtools and claude-code-plugins.

Install

Claude Code
claude mcp add claude-context-mode -- npx -y context-mode
npx
npx -y context-mode
From source
git clone https://github.com/mksglu/context-mode

Tools (9)

ctx_batchRuns many commands, indexes the output, and searches it in one call
ctx_doctorChecks the install; each check prints PASS or a fix command
ctx_executeRuns code or a shell command in a sandbox; returns what it prints
ctx_indexIndexes a file, a text or a URL into the project database
ctx_purgeDeletes indexed data by session, source or project
ctx_resumeReturns the plugin's local state block (at most 2,048 B), or one full row by `seq`
ctx_searchSearches the local index; returns the matching parts
ctx_statsShows how much output stayed out of context
ctx_upgradeInstalls, upgrades or uninstalls; replaces old contextmode entries

Security checks

  • ✓README presentThe repository's README runs to about 6.6K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • !No dynamic code executionScanned 134 source files and found 1 call to eval or shell execution, in plugins/claude-code/cli.mjs:2419. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/entries/server.ts:9
Starts other programs
26 callssrc/cli/commands.ts:158, src/cli/commands.ts:190, src/cli/commands.ts:381
Outbound network calls
26 callssrc/core/contracts/constants.ts:365, src/core/contracts/constants.ts:368, src/core/ops/doctor-env.ts:98
Writes or deletes files
4 callssrc/core/hooks/fallback.ts:69, src/core/hooks/fallback.ts:74, plugins/claude-code/opencode/plugin.js:9236
Lockfile
None in the repository

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

Releases

v2.2.2v2.2.2 · 22 Nov 2026Fixes fix: a Fake-IP DNS name in 198.18.0.0/15 passes the SSRF guard after a once-per-process .invalid probe; literals and all other ranges stay blocked (#1403) fix: only an absolute missing cwd walks up to its nearest existing parent; GP3…
v2.2.1v2.2.1 · 17 Nov 2026Fixes fix: omp read with a line range in the path is a bounded read, not replaced (#1392) fix: recall skips rows and line units written after the latest compaction (#1394) fix: SessionStart(compact) sends the state block once per…
v2.2.0v2.2.0 · 14 Nov 2026Features feat: OMP (oh-my-pi) is the 11th supported agent (ADR-0026, #1332) feat: ADR-0023 omp row, PRD and TECH-SPEC 11 agents, 01-contracts and 12-plugins name OMP, intake reads OMP (OMP M8) feat: docs/install/omp.md with OMP's own…
v2.1.10v2.1.10 · 12 Nov 2026Fixes fix(doctor): env line names the PATH node for ctx_execute, PATH node version read beside the checks (#1350) fix(doctor): D5 bound scales with the node start, in-process hosts check shape only, env line names the host Bun (#1350) Who…
v2.1.9v2.1.9 · 12 Nov 2026Fixes fix: read the PATH and PATHEXT keys without case on Windows, one envValue reader for findRuntime, D11, the doctor report and setup (#1371) fix: hook allows native tools on Node below 24.15 for the 8 server hosts (#1370) fix: hostBin…

README

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

Read full README
Questions

About Claude Context Mode

How do I install Claude Context Mode?

In Claude Code, run claude mcp add claude-context-mode -- npx -y context-mode. Other MCP clients take the command after "--" in their server configuration.

Is Claude Context Mode safe to use with an AI agent?

Its trust score is 91 out of 100 (strong). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Conduid's scan of 134 source files found that it serves MCP over stdio, starts other programs (26 calls), makes outbound network calls (26 calls) and writes or deletes files (4 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Claude Context Mode still maintained?

Yes — the latest release is v2.2.2 (22 Nov 2026), and the last commit was 8 hours ago. The repository has 35K stars and 11 open issues.

What tools does Claude Context Mode provide?

Conduid read 9 tools from the source: ctx_batch, ctx_doctor, ctx_execute, ctx_index, ctx_purge, ctx_resume, ctx_search, ctx_stats and 1 more.

What license is Claude Context Mode released under?

The repository declares the MIT license. That applies to the latest release, v2.2.2, as well.