EGC – persistent memory for AI coding tools (Claude Code, Cursor, Gemini CLI, Windsurf and more)

hero

EGC (Extended Global Context) is an open-source local runtime that gives
every AI coding tool you use a persistent memory across sessions.

At the end of each session, the AI saves decisions, preferences, and next
steps to ~/.egc/state/.md. At the start of the next session, it
loads that state back - automatically, across all tools.

What it ships:

  • egc-memory: 14 MCP tools for persistent state (SQLite-backed)
  • egc-guardian: 5 MCP tools for context safety and compression
  • Bidirectional sync daemon: keeps Claude Code, Cursor, Gemini CLI,
    Windsurf, Trae, Copilot, Zed, and Aider config files in sync

Install:
npm install -g @egchq/egc && egc install

Agent Skills compatible:
npx skills add Fmarzochi/EGC

Repository: GitHub - Fmarzochi/EGC: Your AI agents never start from zero again. Local-first MCP runtime with persistent memory across sessions and tools. · GitHub

Would love feedback from the community - especially if anyone is using
multiple AI coding tools and dealing with context loss between sessions.