Skip to main content
MCP server CX Codex

engram · kael-bit — Claude Code MCP server: what it does, how to install

Hierarchical memory engine with three-stage retention and decay for AI agents. Keeps essential project context alive across session restarts.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env ENGRAM_URL=<ENGRAM_URL> --env ENGRAM_API_KEY=<ENGRAM_API_KEY> --transport stdio kael-bit-engram -- npx -y engram-rs-mcp
Open on GitHub

What engram does

The server manages agent memory across buffer, working, and core tiers. Instead of relying on hardcoded heuristics, an LLM evaluates whether a memory merits promotion into long-term storage. Retention rates depend directly on content type. Episodic records fade fastest, whereas procedural workflows persist over extended epochs. Recurring access triggers a score reinforcement.

Under the hood, the engine compiles into a single Rust binary using SQLite, bypassing separate vector databases. It clusters related entries into subject branches and merges duplicated facts without manual tagging.

The MCP connection will fail without a running backend supplying ENGRAM_URL and ENGRAM_API_KEY. The interactive setup script also halts until you provide embedding credentials.

What it helps with

  • retain critical decisions across separate coding sessions
  • deprecate obsolete context automatically through decay cycles
  • cluster stored memories into searchable topic hierarchies
  • fetch deployment guidelines using specific trigger tags

Example prompts for the agent

  • Store a rule that unit tests must pass before any production deployment.
  • Retrieve all stored lessons tagged for database migrations.
  • Restore working context from previous sessions using engram.

How to install engram

Platform CLI

claude mcp add --env ENGRAM_URL=<ENGRAM_URL> --env ENGRAM_API_KEY=<ENGRAM_API_KEY> --transport stdio kael-bit-engram -- npx -y engram-rs-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about engram

How to install engram in Claude Code?

Run claude mcp add --env ENGRAM_URL=<ENGRAM_URL> --env ENGRAM_API_KEY=<ENGRAM_API_KEY> --transport stdio kael-bit-engram -- npx -y engram-rs-mcp.

What does the engram MCP server do?

It connects coding agents to a tiered memory architecture comprising buffer, working, and core stages. Knowledge clusters automatically by topic, merges duplicates, and fades over time when unreferenced.

Does engram delete unaccessed memories permanently?

Memories drop to a minimum retention floor of 0.01 rather than vanishing completely. They remain retrievable through exact queries, and procedural instructions decay slower than temporary episodic events.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

engram by other authors comes first.

engram NickCirv Builds a local graph of your codebase and hands the agent the relevant files and links instead of everything at once. Fits projects that no longer fit in context. CX Codex +1 ★ 143repo stars engram tstockham96 Stores project knowledge locally and helps an agent retrieve it by meaning. Useful when context needs to carry across sessions and projects. CX Codex +1 ★ 47repo stars Engram get-engram Keeps every agent conversation word for word and finds it again by meaning. One shared memory across Claude, Codex, Cursor, Copilot and Zed. CX Codex +1 ★ 19repo stars Engram rwnalds Engram gives agents a shared Markdown vault backed by Git and filters out notes marked as outdated. It suits projects where multiple agents need to read and update the same knowledge base. CX Codex +1 ★ 17repo stars engram girishbuilds Tells your agent which files tend to change together and what the tests expect. Useful before touching unfamiliar code. CX Codex +1 ★ 7repo stars REA morluto Analyzes binaries, Electron bundles, and JavaScript runtimes directly from your agent. It inspects compiled apps without source code to recreate specific features. CX Codex +1 ★ 386,989repo stars GitHub official github Wires your AI agent into GitHub: read code, open issues and pull requests, watch Actions runs. Saves a trip to the browser. CX Codex +1 ★ 33,918repo stars Netdata netdata Hands your AI agent live monitoring data: metrics, logs, alerts and anomaly detection. Useful when you need to know what a server is doing without opening the dashboard. CX Codex +1 ★ 81,115repo stars browser-use browser-use Give an agent browser tasks such as finding information, extracting page data, and filling forms. Connect it when those actions need to happen on the web. CX Codex +1 ★ 119,160repo stars Codebase Memory DeusData A local MCP server that maps your repo's code, docs and infrastructure into a graph. Gives the agent structural context without re-reading files. CX Codex +1 ★ 47,392repo stars mcp-server HeyPuter Connects your AI agent to Puter for files, websites and workers. Useful when the project already lives in Puter's cloud. CX Codex +1 ★ 43,872repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor