codex-agent-mem
by MarceloCaporale·★ 21·Score 43
Local-first MCP memory layer that compresses context packs with SQLite + FTS5 for multiple AI coding workflows.
Overview
codex-agent-mem is a portable, auditable, local-first memory layer for MCP-compatible AI agents and coding workflows. It stores all data locally using SQLite database with FTS5 indexing, compressing operational context into smaller packs to reduce token usage and improve continuity. The MCP server supports read-only mode, optional daemon/stdio bridge, and works with multiple AI environments including Codex CLI/Desktop, Claude Code, Gemini CLI, Qwen/DeepSeek/Ollama, and other local agent stacks. All processing happens locally without sending memory or telemetry to external servers.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose this when you need persistent local memory for AI agents that must operate offline or with strict privacy requirements, especially for long-running coding workflows.
When NOT to choose this
Not suitable if you need cloud-based memory sharing, real-time multi-user collaboration features, or require write access (this server defaults to read-only).
Tools this server exposes
10 tools extracted from the READMEmem_context_packCompacts repeated session context into smaller working packs for token efficiency
mem_searchSearches through stored memory and project data
mem_note_createCreates and indexes manual notes in the local memory store
mem_snapshot_createCreates a snapshot of the current project state with provenance tracking
mem_open_workTracks and manages open work items across sessions
mem_completion_checkChecks if all defined criteria for work completion have been met
mem_session_listLists recent memory sessions for session-aware retrieval
mem_scope_resolveRanks persisted memory lanes from explicit thread/path hints
mem_bootstrap_contextAvoids project-wide startup packs for ambiguous containers
mem_health_runtimeChecks runtime health and diagnostics
Comparable tools
Installation
Install codex-agent-mem via pip:
pip install codex-agent-memFor Claude Desktop, add to your config.json:
{
"mcpServers": {
"codex-agent-mem": {
"command": "codex-agent-mem",
"args": ["--read-only", "--profile", "minimal"]
}
}
}The server also supports stdio mode for other MCP-compatible clients with various runtime profiles (minimal, standard, full) and configuration options.
Compare codex-agent-mem with
Last updated · Auto-generated from public README + GitHub signals.