Enterprise DNAEnterprise DNA
MMCP ServersDeveloperlow

kunickiaj/codemem

by Various

A lightweight persistent-memory companion for OpenCode & Claude

MCP

kunickiaj/codemem

Added 16 Sept 2026

#ai#ai-agents#ai-memory#ai-memory-system#claude#claude-ai#claude-code#claude-code-plugin
Catalogue record, not a reviewed recommendation. This record can include automatically collected descriptions and setup details. Confirm important claims with the original source. Explore source-reviewed tools.

Overview

A lightweight persistent-memory companion for OpenCode and Claude. It stores and retrieves context across sessions to help these coding assistants maintain continuity. Built in TypeScript, it is available as an open-source project on GitHub.

Best for

Best for
Developers using OpenCode or Claude who need persistent memory across sessions

Use cases

  • Maintain conversation context across OpenCode sessions
  • Provide Claude with persistent project memory
  • Reduce re-explaining context in coding workflows

How to use

Install

npx -y codemem setup --opencode-only

Tools exposed

  • CODEMEM_DB
  • CODEMEM_INJECT_CONTEXT
  • CODEMEM_INJECT_SURFACE
  • CODEMEM_INJECT_TOKEN_BUDGET
  • CODEMEM_VIEWER_AUTO
  • CODEMEM_MCP_HTTP_PUBLIC_URL
  • CODEMEM_MCP_HTTP_UNSAFE_PUBLIC

Clients listed in this record (not verified here)

Claude Code, Continue, ChatGPT

Notes

68 stars on GitHub. Last updated 2026-09-16. Licensed MIT.

Pros

  • Lightweight and focused on a specific need
  • Open source with a TypeScript codebase
  • Integrates with OpenCode and Claude

Cons

  • Limited to OpenCode and Claude
  • Small user base (68 stars) suggests early adoption
  • No details on setup or configuration provided
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.