Engram

Engram

An agent-agnostic memory layer that captures, reviews, and recalls facts from any coding agent, storing them locally as plain Markdown and speaking the Model Context Protocol.

Category
Visit Server

README

Engram

An agent-agnostic memory layer. Capture facts about you and your work from any coding agent, review them on your terms, and recall them everywhere.

Engram runs locally, stores memories as plain Markdown you own, and speaks the Model Context Protocol so it works with Claude Code, Codex, opencode, and any MCP-capable client - driving cloud or local models (LM Studio, Ollama) alike.

Status: early development. The core engine and MCP server are being built in the open. APIs will change.

Why

Coding agents forget everything between sessions. Workarounds exist, but each is locked to one tool: every harness has its own memory, and none of them share. Engram is the shared brain - one local store that every agent reads from and writes to, with you as the gatekeeper.

How it works

   any agent ──remember()──▶ ┌───────────┐ ──auto-log──▶ memory-log.md
   (mid-task)                │  engram   │
                             │  capture  │ ──gate──▶ review queue ──you approve──▶ memory.md
   session transcripts ─────▶│  + bridge │
   (local-model harvest)     └─────┬─────┘
                                   │
   recall ◀── MCP resource ────────┤
   recall ◀── generated AGENTS.md ─┘
  • Capture - agents call a remember tool mid-task, or Engram harvests durable facts from session transcripts using a local model.
  • Review - low-risk facts are logged automatically; anything sensitive waits in a queue you approve. Nothing rewrites your curated notes without consent.
  • Recall - every agent loads your memories through an MCP resource or a generated AGENTS.md / CLAUDE.md context block.

Supported clients

Client Capture Recall
Claude Code MCP tool + transcript harvest MCP resource + CLAUDE.md block
Codex MCP tool + transcript harvest MCP resource + AGENTS.md block
opencode MCP tool + transcript harvest MCP resource + AGENTS.md block
Any MCP client MCP tool MCP resource

Quickstart

uv tool install engram          # or: pipx install engram

engram remember "I prefer pnpm over npm"
engram recall                   # list what engram knows
engram serve                    # start the MCP server for your agents

Wire it into an agent (Codex shown):

# ~/.codex/config.toml
[mcp_servers.engram]
command = "engram-mcp"

Design principles

  • Local-first. Your memories never leave your machine. No telemetry.
  • You own the data. Plain Markdown + YAML, git-diffable, no database lock-in.
  • Human in the loop. Tiered writes: auto-log the trivial, gate the sensitive.
  • Bring your own model. Any OpenAI-compatible endpoint extracts memories - cloud or local.

How it compares

Most memory tools are vector stores the agent writes to directly. Engram takes a different stance:

Typical memory tool Engram
Capture Agent writes directly Federated across the agents you already use
Trust Whatever the agent stored Human review gate on sensitive writes
Storage Vector DB Plain Markdown + YAML you own, git-diffable
Hosting Often cloud Local-first, no telemetry
Models Provider-specific Any OpenAI-compatible endpoint

It federates capture across your agents, gates sensitive writes behind your approval, and keeps everything in a plain-text store on your machine.

Documentation

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured