1. Conduid
  2. Developer Tools
  3. C0ntextkeeper
MCP server · Developer Tools

C0ntextkeeper

Automatic context preservation for Claude Code. Never lose work to compaction again. 7 hooks, 187 semantic patterns, 3 MCP tools.

59Fair

Scored 20 hours ago · breakdown

About C0ntextkeeper

C0ntextkeeper is an MCP server published by Capnjbrown in the Developer Tools category: automatic context preservation for Claude Code. Never lose work to compaction again. 7 hooks, 187 semantic patterns, 3 MCP tools. Conduid read 3 tools from its source: fetch_context, get_patterns and search_archive. It is published to npm as c0ntextkeeper and starts with npx.

The repository has 63 stars and 7 forks, is licensed MIT, and its last commit was on 31 Jul 2026. The latest release is v0.7.8 (31 Dec 2025): c0ntextKeeper v0.7.8 - Public Open Source Release 🎉 The first public release of c0ntextKeeper - automatic context preservation for Claude Code. It is the only release Conduid has on record for this repository. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include agentic-workflow, context-engineering, cli, devtools and context-preservation.

Install

Claude Code
claude mcp add c0ntextkeeper -- npx -y c0ntextkeeper
npx
npx -y c0ntextkeeper
From source
git clone https://github.com/Capnjbrown/c0ntextKeeper

Tools (3)

fetch_contextFetch relevant archived context for the current task. Returns previously extracted problems, solutions, and implementations.
ParameterTypeDescription
limitnumberMaximum number of results (default: 5, max: 100)
minRelevancenumberMinimum relevance score (0-1, default: 0.5)
querystringSearch query or description of needed context
scopestringSearch scope (default: project)
get_patternsRetrieve recurring patterns from archived sessions. Identifies common solutions and approaches.
ParameterTypeDescription
limitnumberMaximum patterns to return (default: 10, max: 50)
minFrequencynumberMinimum occurrence frequency (default: 2)
typestringPattern type to retrieve (default: all)
search_archiveSearch through archived context with advanced filters. Find specific implementations, errors, or decisions.
ParameterTypeDescription
dateRangeobjectDate range for filtering results
filePatternstringFile pattern to filter (e.g., "*.ts", "src/**/*.js")
limitnumberMaximum results (default: 10, max: 100)
query *stringSearch query (required)
sortBystringSort order (default: relevance)

Security checks

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

  • ✓README presentThe repository's README runs to about 2.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • !No dynamic code executionScanned 40 source files and found 5 calls to eval or shell execution, in src/cli.ts:51, src/cli.ts:795 and src/cli/hooks-manager.ts:145 among others. 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/server/index.ts:9
Starts other programs
6 callssrc/cli.ts:51, src/cli.ts:795, src/cli.ts:824
Outbound network calls
No outbound network calls
Writes or deletes files
67 callssrc/cli/benchmark.ts:180, src/cli/benchmark.ts:218, src/cli/debug.ts:33
Lockfile
package-lock.json

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

Releases

v0.7.8v0.7.8 - Public Open Source Release · 31 Dec 2025c0ntextKeeper v0.7.8 - Public Open Source Release 🎉 The first public release of c0ntextKeeper - automatic context preservation for Claude Code. Highlights 7 Claude Code Hooks: PreCompact, PostToolUse, Stop, UserPromptSubmit, Notification,…

README

The repository's README runs to about 2.3K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About C0ntextkeeper

How do I install C0ntextkeeper?

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

Is C0ntextkeeper safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 40 source files found that it serves MCP over stdio, starts other programs (6 calls) and writes or deletes files (67 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is C0ntextkeeper still maintained?

Yes — the last commit was 4 months ago. The repository has 63 stars and 7 forks and 13 open issues.

What tools does C0ntextkeeper provide?

Conduid read 3 tools from the source: fetch_context, get_patterns and search_archive. 3 of them publish their parameters, listed under Tools above.

What license is C0ntextkeeper released under?

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