Engram
OfficialIntegration with OpenAI Codex CLI for persistent memory across sessions.
Engram
Memory infrastructure for AI agents. Store every conversation verbatim. Search by meaning.
Engram is an MCP-native memory server that stores complete, uncompressed conversation transcripts and makes them searchable via semantic search. Connect any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, Zed — and your agent remembers everything across sessions.
Quick start
Claude Code
/plugin marketplace add get-engram/engram
/plugin install engram@engramRestart Claude Code and approve access in the browser. There is no API key to copy and no config file to edit — the server implements the MCP authorization flow (RFC 9728 / 8414 / 7591, PKCE), so the client discovers it, registers itself, and signs you in. A free account is created as part of signing in.
The plugin also ships a skill that tells Claude when to search memory and what is worth saving, so context accumulates without being asked.
Any other MCP client
Point it at the remote server and let OAuth handle access:
{
"mcpServers": {
"engram": {
"type": "http",
"url": "https://mcp.getengram.app/mcp"
}
}
}For a client that only speaks stdio, bridge to the remote server with mcp-remote — it drives the same browser OAuth flow, so there is still no key to copy:
{
"mcpServers": {
"engram": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.getengram.app/mcp"]
}
}
}(An older version of this README suggested npx @getengram/cli mcp; the CLI
has no such command and that configuration never worked.)
Related MCP server: Kirok
How it works
Verbatim storage — every message stored exactly as sent, no summarization or compression
Semantic search — find relevant context by meaning using bge-base-en-v1.5 embeddings
MCP-native — speaks the Model Context Protocol natively, works with any compatible client
Multi-tenant — per-organization isolation, team seats, and API key management
Architecture
Runs entirely on Cloudflare's developer platform:
Workers — Hono.js API and MCP server
D1 — SQLite at the edge for messages and metadata
Vectorize — semantic search index
Workers AI — embedding generation
Read the full architecture deep-dive.
MCP tools
Engram exposes 6 tools via MCP:
Tool | Description |
| Start a new conversation with optional title, tags, metadata |
| Add messages to an existing conversation |
| Semantic search across all conversations |
| Retrieve a conversation with its messages |
| List conversations with filtering and pagination |
| Remove a conversation and its data |
See the API reference for full parameters and examples.
Packages
Package | Description |
Cloudflare Worker — MCP server and REST API | |
CLI and MCP bridge ( | |
TypeScript SDK ( | |
Database queries and migrations | |
Shared constants, types, and utilities |
Integration guides
Pricing
Plan | Price | Messages/month |
Free | $0 | 1,000 |
Pro | $9/mo | 100,000 |
Team | $27/seat/mo | 500,000 |
Enterprise | Custom | Unlimited |
Links
Website: getengram.app
Documentation: getengram.app/docs
Blog: getengram.app/blog
npm: @getengram/cli
License
Business Source License 1.1 — see LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Persistent memory for AI agents — log and recall conversation context over MCP.
Persistent memory for AI agents. Semantic search, memory graph, W3C DID identity.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with persistent, searchable memory that survives across conversations using semantic search, temporal versioning, and smart organization. Enables long-term context retention and cross-session continuity for AI assistants.14-
- AlicenseAqualityAmaintenanceProvides persistent, searchable memory for AI agents, enabling them to retain, recall, and reflect on information across conversations.1917 PyPI1MIT
- AlicenseAqualityDmaintenanceProvides persistent memory with semantic search for MCP-based AI agents, enabling them to store and recall information across sessions using vector embeddings.41MIT
- AlicenseNot gradedqualityAmaintenanceOpen-source persistent memory infrastructure for AI agents.92 npm323Apache 2.0