EGC
The EGC server provides persistent AI memory management across coding sessions and tools, allowing AI assistants to remember project context, decisions, and preferences across sessions.
get_state: Retrieve full project memory at session start, including past decisions, preferences, things to avoid, and next steps — scoped per project path.update_state: Save and merge session decisions, preferences, next steps, and avoidances at session end. Non-destructive — merges with existing memory without erasing history.store_decision: Persist a specific decision with its context into SQLite storage, with a lock arbitration mechanism to prevent conflicts.query_history: Retrieve past decisions with pagination support (limit/offset) to review historical choices across sessions.get_project_state: Retrieve the current project state snapshot (alternate/lighter state retrieval).
Key behaviors:
Memory is stored locally (
~/.egc/state/) as Markdown files backed by SQLite.State is scoped per project path, so different projects maintain independent memory.
Designed to be called automatically at session start (
get_state) and end (update_state).
🌐 English · العربية · Deutsch · Español · Français · हिन्दी · Italiano · 日本語 · 한국어 · Português (Brasil) · Русский · Türkçe · 简体中文
EGC - Give Every AI Agent the Same Brain
Persistent memory that every AI agent, IDE, terminal, and session shares automatically. No prompts to memorize. No context to rebuild. Just talk.
EGC isn't another memory tool. It's the intelligence layer that lets every AI work as if it has been on your project since day one, in Cursor, Copilot, Claude Code, Codex, Aider, and any terminal agent (23 AI coding tools in total). Works natively with Claude, GPT-4o, Gemini, DeepSeek, Mistral, Groq, Cohere, and Vertex AI, plus OpenRouter for Qwen3, Llama 4, and more.
Every conversation builds your project's collective intelligence. Every agent inherits it. Every session gets smarter.
Install
npm install -g @egchq/egc && egc installReduce context waste by up to 90%, cut token costs, and keep every AI perfectly aligned across sessions.
Guardian: validate every command before execution and block dangerous writes. Every shared brain comes with a built-in safety layer.
One command, zero config: memory stays local and encrypted on your machine, and never gets committed to git.
Related MCP server: Memryzed
Inside the Brain: How EGC Works
EGC is not a list of tools; it is one brain with several faculties. It remembers, understands, protects, filters, and coordinates, across every AI agent on your machine.
You Don't Memorize Commands, You Speak Naturally
Talk to the brain in any language: "save this session", "what did we decide about auth?", "remember this decision". EGC understands the intent, stores the context, and recalls it instantly in any other tab, terminal, or tool on your machine. One brain. Every agent. Zero commands to remember.
Persistent Project Memory
EGC gives every AI agent a persistent, shared brain. It captures decisions, session context, working memory, and learned patterns, then makes them instantly available in any other terminal, IDE, or agent you open. Session state, project history, and accumulated lessons flow seamlessly between tabs, tools, and teammates: no manual sync, no context loss. All memory lives in ~/.egc on your machine, encrypted with AES-256-GCM, kept per project branch, and never committed to your repository.
Guardian: Built-In Safety Guardrails
A second half of the brain runs guardrails in the background. It validates commands before they execute, gates risky writes, compresses context before it overflows, orchestrates multi-step tasks across agents, and learns from every correction, all without you invoking a single tool. An invisible safety net that keeps context lean, actions safe, and workflows autonomous. (Coverage depends on each tool's own hook support; see the Security Assessment for the one documented exception.)
Token Crusher: The Brain Filters Noise Before It Remembers
The brain doesn't just remember: it filters. Before any shell output reaches the model, EGC's Token Crusher compresses git logs, test spam, install noise, and giant JSONs by up to 90%, preserving every error and warning. Just ask "how much did I save?" in any language, and the answer comes straight from your local ledger at zero cost: cheaper sessions, context that lasts.
Prompt Library
As a bonus, EGC gives you access to 63 agents, 230 skills, and 77 commands, plus 111 rules: specialists that review your code on their own, best-practice guides for every language and situation, shortcuts that run a whole sequence of tasks for you, and style rules that keep your code consistent. All written from real engineering sessions, not theory. Don't want to use any of it? Fine: EGC's persistent memory works exactly the same.
Quick Start
There is no step two. Open any of your AI tools and just talk: "hi", "let's continue", "remember this decision", in any language. Sessions connect instantly, memory loads automatically, and every open tab already knows what the others are doing: two Cursor tabs, a Claude Code terminal, and an Antigravity session all share the same living context, simultaneously.
A live dashboard displaying agent activity, tokens, and costs spins up automatically right after installation. Prefer manual control? Every command is documented in the installation guide: you will probably never need to type one.
🌐 English · العربية · Deutsch · Español · Français · हिन्दी · Italiano · 日本語 · 한국어 · Português (Brasil) · Русский · Türkçe · 简体中文
Support EGC
EGC is built by one developer, maintained in the open, and free.
Website: full docs, feature overview, and live demo
Join the Discord: ask questions, share feedback
Sponsor on GitHub: any amount
Donate via PayPal: no GitHub account needed
Star the repository: helps other developers find it
Contribute: agents, skills, commands, bug fixes, docs
Share: if EGC changed how you work, tell someone
Sponsors
Support from the community keeps this project alive and independent.
Tool Partners
AI coding tools that integrate natively with EGC. Partners get logo placement across all READMEs and EGCSite.
Annual Sponsors · Be the first annual sponsor.
Backers
Monthly sponsors · be the first
       
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenancePortable MCP memory server giving AI agents persistent, verified, cross-session memory. 30 tools, SQLite + cloud sync, Chrome Extension for every AI chat platform. The only JavaScript MCP memory server. Includes behavioral learning engine, semantic search, knowledge scoping, session quality scoring, and web dashboard.Last updated
- Flicense-qualityAmaintenanceLocal-first cross-agent memory for AI coding agents. Persistent, shared memory over MCP — what you tell one agent can be recalled by another — with all data stored in a single local SQLite file, no cloud and no API keys.Last updated
- Alicense-qualityAmaintenancePersistent, local memory for AI coding agents that learns how you work, not just what you said. Supports Claude Code, Codex CLI, Cursor, and any MCP client.Last updated62MIT
- Alicense-qualityBmaintenanceLocal, cross-agent memory for AI coding agents using a single SQLite file, enabling persistent sessions and durable facts shared across multiple MCP-compatible tools.Last updatedMIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
StremAI MCP: shared memory for AI coding agents. Connected agents can recall. OAuth + local stdio.
Local-first RAG engine with MCP server for AI agent integration.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fmarzochi/EGC'
If you have feedback or need assistance with the MCP directory API, please join our Discord server