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 mcp add c0ntextkeeper -- npx -y c0ntextkeepernpx -y c0ntextkeepergit clone https://github.com/Capnjbrown/c0ntextKeeperTools (3)
fetch_contextFetch relevant archived context for the current task. Returns previously extracted problems, solutions, and implementations.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of results (default: 5, max: 100) |
| minRelevance | number | Minimum relevance score (0-1, default: 0.5) |
| query | string | Search query or description of needed context |
| scope | string | Search scope (default: project) |
get_patternsRetrieve recurring patterns from archived sessions. Identifies common solutions and approaches.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum patterns to return (default: 10, max: 50) |
| minFrequency | number | Minimum occurrence frequency (default: 2) |
| type | string | Pattern type to retrieve (default: all) |
search_archiveSearch through archived context with advanced filters. Find specific implementations, errors, or decisions.| Parameter | Type | Description |
|---|---|---|
| dateRange | object | Date range for filtering results |
| filePattern | string | File pattern to filter (e.g., "*.ts", "src/**/*.js") |
| limit | number | Maximum results (default: 10, max: 100) |
| query * | string | Search query (required) |
| sortBy | string | Sort 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
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