loading…
Search for a command to run...
loading…
Persistent semantic memory for AI agents. SQLite-backed, local-first, zero config. Semantic search via Ollama embeddings with keyword fallback. Tools: remember,
Persistent semantic memory for AI agents. SQLite-backed, local-first, zero config. Semantic search via Ollama embeddings with keyword fallback. Tools: remember, recall, history, forget, stats.
Persistent semantic memory for AI agents — MCP server powered by @cartisien/engram
Give any MCP-compatible AI client (Claude Desktop, Cursor, Windsurf) persistent memory that survives across sessions.
npx -y @cartisien/engram-mcp
Exposes 5 tools to any MCP client:
| Tool | Description |
|---|---|
remember |
Store a memory with automatic embedding |
recall |
Semantic search across stored memories |
history |
Recent conversation history |
forget |
Delete one memory, a session, or entries before a date |
stats |
Memory statistics for a session |
Memories are stored in SQLite. Semantic search uses local Ollama embeddings (nomic-embed-text) — no API key, no cloud. Falls back to keyword search if Ollama isn't available.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"engram": {
"command": "npx",
"args": ["-y", "@cartisien/engram-mcp"],
"env": {
"ENGRAM_DB": "~/.engram/memory.db"
}
}
}
}
Restart Claude Desktop. You'll see remember, recall, history, forget, and stats available as tools.
Add to your MCP config:
{
"mcpServers": {
"engram": {
"command": "npx",
"args": ["-y", "@cartisien/engram-mcp"]
}
}
}
| Env Var | Default | Description |
|---|---|---|
ENGRAM_DB |
~/.engram/memory.db |
SQLite database path |
ENGRAM_EMBEDDING_URL |
http://localhost:11434 |
Ollama base URL for embeddings |
Install Ollama and pull the embedding model:
ollama pull nomic-embed-text
Semantic search activates automatically. Without Ollama, keyword search is used.
Once connected, your agent can:
remember(sessionId="myagent", content="User prefers TypeScript over JavaScript", role="user")
recall(sessionId="myagent", query="what are the user's coding preferences?", limit=5)
# Returns: [{ content: "User prefers TypeScript...", similarity: 0.82 }, ...]
history(sessionId="myagent", limit=10)
stats(sessionId="myagent")
# { total: 42, byRole: { user: 20, assistant: 22 }, withEmbeddings: 42 }
@cartisien/engram-mcp — this package, MCP server@cartisien/extensa — vector infrastructure (coming soon)@cartisien/cogito — agent identity & lifecycle (coming soon)MIT © Cartisien Interactive
Run in your terminal:
claude mcp add engram-mcp -- npx Yes, Engram MCP is free — one-click install via Unyly at no cost.
No, Engram runs without API keys or environment variables.
Self-hosted: the server runs locally on your machine via the install command above.
Open Engram on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Query your database in natural language
by AnthropicA universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devThis server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashRead-only database access with schema inspection.
by modelcontextprotocolNot sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs