convez.ai
MCP ServerAutomaçãoIntermediário
Fmarzochi

EGC - Extended Global Context

Fmarzochi/EGC

Memória persistente para agentes IA nunca começar do zero

Ver no GitHub
BomPluginScore · de 0 a 100

MCP server que proporciona memória persistente para agentes de IA entre sessões, salvando decisões, preferências e contexto do projeto. Compatível com Claude Code, Cursor, Gemini CLI e outras ferramentas, funciona em runtime local com armazenamento de estado no sistema de arquivos.

Instalação

$npx convez-ai Fmarzochi/EGC

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
70
Forks
51
Acompanhando
4
Saúde
85%
Último commit
há 3 dias
Versão
v1.1.25
Issues abertas
2
Contribuidores
4

Casos de uso

  • Retomar projetos com contexto automático sem reescrever instruções
  • Preservar decisões arquiteturais e lições aprendidas entre sessões
  • Sincronizar estado entre múltiplas ferramentas de IA (Claude, Cursor, Gemini)

Veredito

Solução prática que resolve um problema real: agentes de IA perdem contexto entre sessões. O EGC é bem construído (TypeScript, boas práticas de segurança), estável em produção e economiza tempo significativo em projetos de longa duração. Recomendado para quem trabalha com múltiplas ferramentas de IA.

README

A tradução para o português deste README ainda está na fila.

npm version Node.js >= 20 TypeScript Discord PRs Welcome Stars Forks Issues Maintained OpenSSF Scorecard Quality Gate Security Rating Reliability Rating EGC MCP server

EGC - Extended Global Context

Your AI agents never start from zero again.


EGC is a local runtime that gives every AI coding tool you use a persistent memory. At the end of each session, the AI saves what it learned about your project: the decisions you made, what failed, your preferences, what comes next. At the start of the next session, it loads that state back. One install covers Claude Code, Cursor, Gemini CLI, Windsurf, and more.


This is what EGC looks like in practice

You open Claude Code on a project you haven't touched in two weeks. Without typing anything:

State loaded from egc-memory via ~/.egc/state/Projects--MyApp.md

Context and preferences acknowledged (terse responses).

Ready to pick up the next items:
• Test full install on a clean machine
• Add GEMINI.md with session memory protocol
• Publish v1.0.1 fix to npm after clean install test passes
• Add mcp_server_count to audit.js

The AI already knows what you were building, what decisions you made, what failed, and exactly where you stopped. It knows because EGC saved that state at the end of your last session and loaded it back when this one started. You didn't type anything. You just started working.


Install

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

Or run without installing globally:

npx @egchq/egc install

Full installation guide


What the MCP server gives your AI

EGC ships egc-memory, an MCP server that exposes 13 tools your AI can call during a session:

ToolWhat it does
get_stateLoads project memory at session start
update_stateSaves decisions, preferences, and next steps
store_decisionPersists a single decision to SQLite
query_historyReturns past decisions by timestamp
search_historyFull-text search with BM25 ranking
set_working_memoryStores transient context with a TTL
get_working_memoryReads a transient key
delete_working_memoryRemoves a transient key
add_lessonRecords cross-session knowledge with confidence decay
list_lessonsRetrieves active lessons above a confidence threshold
forget_lessonRemoves a lesson permanently
detect_patternsSurfaces repeated commands and recurring errors from hook events
compress_observationsCompresses raw hook observations into typed summaries to reduce token usage

State files live at ~/.egc/state/<project-slug>.md. One file per project, plain Markdown, human-readable.


Prompt library

479 components: optional. Install to get access to 63 agents, 229 skills, and 76 commands written from real experience. Skip them and EGC still gives you persistent memory.

ComponentTotalClaude CodeGemini CLIClaude Code native
Agents63Shared (AGENTS.md)Shared (AGENTS.md)12
Commands76SharedInstruction-based31
Skills229Shared10 (native format)37
Rules111:::

Support EGC

EGC is built by one developer, maintained in the open, and free.

Sponsors

Support from the community keeps this project alive and independent.

Backers

Monthly sponsors · be the first


License: MIT OpenSSF Best Practices OpenSSF Baseline Level 1 OpenSSF Baseline Level 2 OpenSSF Baseline Level 3

       

Ver o original no GitHub

Bom para

Relacionados