About kunickiaj/codemem
kunickiaj/codemem is an MCP server published by kunickiaj in the Blockchain category: machine sync, and project sharing. OpenCode, Claude Code, and Codex integrations add automatic capture and context injection. Conduid read 15 tools from its source: memory_distill_candidates, memory_expand, memory_explain, memory_forget, memory_get, memory_get_observations and 9 more. No package is published for it, so it installs from a source checkout.
The repository has 84 stars and 14 forks, and its last commit was on 2 Dec 2026. The latest release is v0.46.3 (3 Oct 2026): This maintenance patch backports the direct-peer sync and peer-memory cleanup fixes from #1922 onto 0.46.2. It follows v0.46.2 (1 Oct 2026), and the 5 most recent releases go back to v0.45.0 (14 Sep 2026). Its topics include ai-memory, ai-memory-system, claude-code-plugin, memory, opencode and p2p.
Install
git clone https://github.com/kunickiaj/codememTools (15)
memory_distill_candidatesMine recurring memories into reviewable context candidates. Reads project/user context files without modifying them and can call the optional observer when judge=true.memory_expandFetch memories by ID with surrounding timeline context.memory_explainExplain search results with detailed scoring breakdown.memory_forgetSoft-delete a memory by exact ID so it no longer appears in normal retrieval; this is not secure erasure. Does not inherit the default project; optional filters must match or the tool returns not_found.memory_getFetch one memory by exact ID. Does not inherit the default project; optional filters constrain the lookup, and a mismatch returns not_found.memory_get_observationsmemory_learnLearn how to use codemem memory tools. Call this first if unfamiliar.memory_packBuild a formatted context block for a concept or task using keyword and semantic search when embeddings are available, with automatic keyword-only fallback. Use for conceptually relevant context; use memory_search or memory_search_index for exact identifiers.memory_recentReturn recent memories, newest first.memory_rememberCreate a new memory. Use for milestones, decisions, and notable facts.memory_schemaReturn the memory schema — kinds, fields, and available filters.memory_searchKeyword-search memories when you know exact terms or identifiers. Returns full body text for each match; use memory_search_index when you only need compact candidates.memory_search_indexmemory_session_searchSearch stored Pi session transcripts by free-text query. Matches raw user and assistant text only — never memories, extracted metadata, or tool payloads — most-recent-first, with bounded snippets and optional project/session filters. Empty results are not an error; pre-install history needs `codemem session import`.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results |
| project | string | Project label; defaults to the server's resolved project (cwd/CODEMEM_PROJECT) |
| query * | string | Free-text search over stored Pi user/assistant session text |
| session_id | string | Pi session id, narrowing the effective project |
| snippet_chars | number | Per-result snippet cap in chars |
memory_timelineGet a chronological window of memories around an anchor (by ID or query).Security checks
6 checks have not been run yet.