<< Home | Work
Persistent memory across AI sessions
| Area | Work |
| AI used | Claude Desktop, Cursor, Codex, Cline, Continue |
| Source | r/mcp |
| Posted | 2026-05-20 |
The move
Install the Mengram MCP server to enable persistent memory and workflow recall across your AI sessions.Steps
- Install the package using 'pip install mengram'
- Run the signup command with your email address
- Copy the generated MCP configuration into your Claude Desktop or Cursor settings
- Restart your AI agent to enable persistent memory
Prompt for your AI
I have installed Mengram. Please recall the [specific project details or workflow] we discussed in our previous session to help me continue my current task.
What happened
The developer was frustrated that Claude Desktop forgot context between sessions. They built an MCP server called Mengram that uses hybrid retrieval and temporal decay to store and recall memories. This allows AI agents to maintain persistent context and surface successful workflows.Watch out
Requires a Postgres database and an OpenAI API key for self-hosting. Ensure your API key usage is monitored to manage costs.Give it to your agent
Read https://howtheyuse.ai/p/persistent-memory-across-ai-sessions.md and help me do this.