Engram
Local long-term memory for AI apps: searchable, correctable, no LLM or API key
Engram is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, macOS
- Runs
- Locally
- Version
- 1.10.5
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add engram -- uvx engram-chateauAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"engram": {
"command": "uvx",
"args": [
"engram-chateau"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"engram": {
"command": "uvx",
"args": [
"engram-chateau"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"engram": {
"command": "uvx",
"args": [
"engram-chateau"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"engram": {
"type": "stdio",
"command": "uvx",
"args": [
"engram-chateau"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add engram -- uvx engram-chateauOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.engram]
command = "uvx"
args = ["engram-chateau"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"engram": {
"command": "uvx",
"args": [
"engram-chateau"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Or run: gemini mcp add -s user engram uvx -- engram-chateau
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "engram": { "command": "uvx", "args": [ "engram-chateau" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Engram
Engram tackles the problem that a new chat forgets last week's reasoning. You point it at notes, documents, code or saved conversations with engram mine, and later questions in different words, such as why the team changed an authentication library, return the original passage verbatim. Everything runs on your computer; after a one-time download of a small language model of about 80 MB, it works offline.
The package exposes 31 tools prefixed engram_, covering recall, search, remember, correcting an outdated memory, linking a conclusion to its evidence, explaining why a memory says what it does, a topic's history and a knowledge graph of people and facts. engram connect writes the right config for Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI, Codex CLI, Zed and LM Studio, keeping a backup.
For Claude Code it can install hooks that recall relevant memories before each reply, save every edited file, and save before compaction. Memories are filed by project. A local web API at 127.0.0.1:7742 serves apps that do not speak MCP, localhost-only by default. It installs from PyPI as engram-chateau and needs Python 3.9 or newer.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- engram_recall
- Search memory for entries relevant to a message
What it does
- Verbatim storage
- Keeps your notes exactly as written and finds them by meaning.
- Correctable memories
- Updates outdated memories and keeps a history of what replaced them.
- Auto-recall for Claude Code
- Hooks surface up to 3 relevant memories before each reply.
- One-command setup
- engram connect configures supported apps and backs up settings.
- Local web API
- Serves non-MCP apps over localhost with strict defaults.
- Project-aware filing
- Recall prefers memories from the project you are working in.
Good for
- Remember why a design decision was made months ago
- Give a coding agent persistent memory across sessions
- Search personal notes by meaning rather than keywords
- Build a companion bot with its own memory
Pricing
Open source
Free, runs locally
Engram FAQ
Does Engram need an API key or an LLM?
No. It runs locally and makes no LLM calls.
How do I install Engram?
pip install engram-chateau; the command you run is engram.
Which apps can Engram connect to?
Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI, Codex CLI, Zed, LM Studio and any app that speaks MCP.
Is my data sent anywhere?
The README describes it as private and local, and its web API listens on localhost only unless you enable a token.
Is Engram free?
Yes. Engram is open source, so you can use and self-host it for free.
How do I add Engram to Claude Code?
Run this command in your terminal: claude mcp add engram -- uvx engram-chateau
What are the best alternatives to Engram?
The closest alternatives to Engram are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



