Memory MCP
The Persistent Memory MCP Server is a local-first, durable project memory system for AI development tools, providing persistent, searchable memory across sessions and clients — so you never have to re-explain your project again.
Project Management
Resolve, create, and list projects with repository and workspace metadata
Generate a concise resume/brief to quickly resume work on a project
Memory Capture & Storage
Save decisions, tasks, warnings, file memory, checkpoints, and session state all in one call (
capture_project_memory)Save individual architectural decisions across interfaces/clients
Store file-level memory including dependencies, roles, and symbols
Save architecture/state checkpoints with tags and blockers
Record reusable prompt patterns and response styles
Task & Session Tracking
Create, update, and track tasks by status and priority
Create and end sessions with automatic summary generation
Sync current working session state with git context
Warnings & Risk Management
Log warnings with configurable severity levels
Retrieve all active warnings for a project
Search & Context Loading
Semantic and lexical search across project memory
Load optimized, unified project context for an AI client
Timeline & Analytics
View a full chronological timeline of project events
Analyze usage statistics broken down by interface/client
Export, Import & Retention
Export project memory as JSON or Markdown bundles
Import memory bundles with optional merging
Apply retention policies to archive or summarize old data
Two-phase confirmed deletion with preview and safety token
Provides a persistent memory layer using Supabase, storing project architecture, decisions, tasks, warnings, preferences, and session state across AI sessions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Memory MCPRemember that we chose PostgreSQL for the database."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
What is Persistent Memory MCP?
Persistent Memory MCP is an open-source Model Context Protocol server that gives development assistants durable, searchable project memory. It stores architecture, technical decisions, tasks, warnings, file relationships, checkpoints and session state in a private local database so another compatible client can continue the work without asking you to explain the project again.
The intended product is personal and local-first: one local installation, one private dashboard and isolated memory for the projects owned by that installation. Remote team workspaces, shared memberships and multi-user roles are intentionally outside the product scope.
Before: “Can you explain the repository again?”
After: “The authentication refactor is in progress, RLS is the active risk, and the next task is token rotation.”
Related MCP server: memory-mcp
Why developers use it
Capability | Result |
Cross-client memory | Continue work across compatible development tools |
Git-aware context | Remember repository, branch, commit and working-tree state |
Decisions and warnings | Preserve architectural reasoning, risks and blockers |
Tasks and checkpoints | Resume from the exact implementation state |
File-level memory | Understand important modules and dependencies |
Semantic and lexical search | Find relevant context instead of loading everything |
Confirmed deletion | Preview exact records and require a signed confirmation before deletion |
Private local dashboard | Inspect project memory without exposing it remotely |
Quick start
1. Install
pipx install persistent-memory-mcpFor development installs:
git clone https://github.com/dannymaaz/memory-mcp.git
cd memory-mcp
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\Activate.ps1
pip install -e .2. Configure interactively
memory-mcp initThe setup command creates a private configuration, initializes the local SQLite database and generates an MCP configuration block for supported clients. The default local database is ~/.memory-mcp/memory.db.
Supabase and PostgreSQL adapters remain available for advanced self-managed storage, but the product direction and dashboard are local and personal.
3. Diagnose the installation
memory-mcp doctor
memory-mcp status4. Add it to your MCP client
{
"mcpServers": {
"persistent-memory-mcp": {
"command": "memory-mcp",
"env": {
"MEMORY_STORAGE_BACKEND": "sqlite",
"OWNER_ID": "your-stable-local-identifier",
"MEMORY_CONFIRMATION_SECRET": "your-private-confirmation-secret"
}
}
}
}The command starts over stdio automatically when your MCP client launches it. You can also run it manually with memory-mcp serve.
Natural-language examples
Resume this project and tell me where we left off.
Save the architecture decision we just made.
Show active warnings before changing authentication.
Search project memory for the database migration decision.
Preview deletion of these completed task records.
Execute the unchanged deletion plan with its confirmation token.How it works
MCP client A ─────┐
MCP client B ─────┼── Model Context Protocol ── Persistent Memory MCP ── Local SQLite
MCP client C ─────┘ │
├─ decisions
├─ tasks
├─ warnings
├─ sessions
├─ file memory
└─ checkpointsThe server detects repository context, resolves or creates the current project, stores structured memories and returns an optimized resume context to compatible clients.
Main MCP tools
Tool | Purpose |
| Return a concise continuation brief |
| Save decisions, tasks, warnings, files and state together |
| Search by meaning with lexical fallback |
| Load optimized project context |
| Preserve technical decisions across local clients |
| Track work across sessions and clients |
| Save the current working state |
| Export memory as JSON or Markdown |
| Preview exact deletion candidates and issue a short-lived signed token |
| Execute only the unchanged, scoped and confirmed plan |
Advanced tools remain available for checkpoints, timelines, retention, prompts, analytics, embeddings, code intelligence and file relationships.
Confirmed deletion safety model
Deletion is a two-phase local operation:
plan_memory_deletionreturns a dry-run preview, exact record IDs, counts, fingerprint, expiry and confirmation token.execute_memory_deletionrevalidates owner/project scope and current records, rejects altered, expired or reused plans, and deletes only exact planned IDs.
Retention cleanup uses the same preview-and-confirm contract. No retention deletion runs automatically at startup. Audit events record operation metadata and counts without copying deleted content.
Privacy and security
The dashboard binds only to localhost and rejects remote interfaces.
The default database is a private SQLite file under the user's home directory.
Every memory operation is scoped by owner and project.
Sensitive values are redacted before persistence.
Destructive operations require a short-lived confirmation tied to an exact plan.
Keep local configuration and confirmation secrets private.
Create verified backups before upgrades, migrations or destructive maintenance.
Product scope
Persistent Memory MCP is not a collaborative SaaS. Workspace invitations, team memberships, owner/admin/member/reader roles, public remote dashboards, billing and organization administration are out of scope.
Roadmap
Persistent project, task, decision and warning memory
Git-aware project resolution
Cross-client session continuity foundation
Semantic search with lexical fallback
Import, export, timeline and retention foundations
Interactive
init,doctorandstatuscommandsLocal SQLite starter mode
Localhost-only visual memory dashboard
Automatic nested secret redaction
Provider-based embedding generation and reindexing
Selective deletion and confirmed retention execution
Verified local backup and restore workflow
Dashboard pagination and operational summary cards
Complete automatic continuation checkpoints
Package publication, upgrades and MCP Registry release
Documentation
Public documentation covers installation, client configuration, architecture, data model, API reference, troubleshooting and English/Spanish guidance.
Visit: https://dannymaaz.github.io/memory-mcp/
Contributing
Contributions are welcome. Read CONTRIBUTING.md, open an issue, or submit a pull request.
License
MIT License. See LICENSE.
Author
Created and maintained by Danny Maaz.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenancePersistent cloud memory for AI coding assistants. 28 MCP tools for semantic search, auto-learning, task tracking, correction patterns, knowledge graphs, and session replay across Claude Code, Cursor, Windsurf, Cline, and any MCP client. Encrypted at rest. Team shared memory with author attribution.Last updated351997MIT
- Alicense-qualityCmaintenanceAn MCP server that stores project memory in Supabase, allowing AI tools to persist context, notes, and decisions across sessions. Enables Claude Code, Codex, and similar assistants to maintain long-term project continuity through persistent memory storage.Last updated2
- Alicense-qualityBmaintenanceEnables AI coding agents to maintain persistent, cross-session memory of codebase architecture, naming conventions, and decisions through MCP tools. Eliminates repetitive project re-explanation by automatically injecting stored context into every session with local-first SQLite storage and optional team sharing capabilities.Last updated4MIT
- AlicenseBqualityBmaintenancePersistent memory MCP server for Claude Code, Cursor, and GitHub Copilot. Semantic search, Git sync, project-based, Persistent memory MCP server for Claude Code, Cursor, and GitHub Copilot. Semantic search, Git sync, project-based organization, and team collaboration via Model Context Protocol.Last updated672072MIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Cross-AI personal memory. Save once in ChatGPT, recall in Claude, Mistral, Grok, or any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dannymaaz/memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server