MCP Catalogs
Home

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.

ai-llmdeveloper-toolsproductivity
3
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Improving context continuity in long-running AI coding workflows by maintaining persistent memory locally
you:Reducing token usage in AI agents by compressing repeated operational context into smaller packs
you:Creating auditable memory systems for sensitive development projects without external data transmission

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 README
  • mem_context_pack

    Compacts repeated session context into smaller working packs for token efficiency

  • mem_search

    Searches through stored memory and project data

  • mem_note_create

    Creates and indexes manual notes in the local memory store

  • mem_snapshot_create

    Creates a snapshot of the current project state with provenance tracking

  • mem_open_work

    Tracks and manages open work items across sessions

  • mem_completion_check

    Checks if all defined criteria for work completion have been met

  • mem_session_list

    Lists recent memory sessions for session-aware retrieval

  • mem_scope_resolve

    Ranks persisted memory lanes from explicit thread/path hints

  • mem_bootstrap_context

    Avoids project-wide startup packs for ambiguous containers

  • mem_health_runtime

    Checks runtime health and diagnostics

Comparable tools

claude-memsemantic-mcpchroma-mcpmemgpt

Installation

Install codex-agent-mem via pip:

pip install codex-agent-mem

For 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.