Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"claude-memory": {
"args": [],
"command": "claude-memory-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Cross-session memory for Claude Code — never lose context between sessions.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'claude-memory-manager' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked claude-memory-manager against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / search
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
An open-source AI agent that brings the power of Gemini directly into your terminal.
MCP Security Weekly
Get CVE alerts and security updates for io.github.NyxToolsDev/claude-memory-manager and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Cross-session memory for Claude Code — never lose context between sessions.
Claude Memory Manager automatically captures architectural decisions, code changes, bug fixes, and configuration choices from your Claude Code sessions, then intelligently retrieves relevant context when you start new sessions.
Every time you use Claude Code, valuable context is created and lost when the session ends:
Claude Memory Manager solves this by:
pip install claude-memory-manager
For local embeddings (no API key needed):
pip install claude-memory-manager[local]
For development:
pip install claude-memory-manager[dev]
claude-memory init
This creates the SQLite database at ~/.claude-memory/memory.db and saves a config file.
# Ingest all sessions from the default path (~/.claude/projects/)
claude-memory ingest
# Ingest from a specific path
claude-memory ingest /path/to/sessions
# Watch for new sessions and auto-ingest
claude-memory ingest --watch
# Search across all memories
claude-memory search "authentication setup"
# Filter by project
claude-memory search "database schema" --project /path/to/project
# Filter by category
claude-memory search "cors" --category config
# List all indexed projects
claude-memory context
# Generate summary for a specific project
claude-memory context /path/to/project
# With custom token limit
claude-memory context /path/to/project --max-tokens 3000
Add to your Claude Desktop config (see MCP Setup):
{
"mcpServers": {
"claude-memory": {
"command": "claude-memory-mcp",
"args": []
}
}
}
| Command | Description |
|---|---|
claude-memory init | Initialize the SQLite database |
claude-memory ingest [PATH] | Ingest session logs from path |
claude-memory ingest --watch | Watch and auto-ingest new sessions |
claude-memory search "query" | Hybrid semantic + keyword search |
claude-memory context [PROJECT] | Generate context summary |
claude-memory list | List all indexed sessions |
claude-memory stats | Database statistics |
claude-memory prune --older-than 90d | Remove old memories |
claude-memory export | Export memories as JSON |
claude-memory serve | Start MCP server mode |
| Option | Description |
|---|---|
--config PATH | Custom config file path |
--verbose / -v | Enable debug logging |
--version | Show version |
| Option | Description |
|---|---|
--project / -p | Filter by project path |
--category / -c | Filter by category |
--limit / -n | Max results (default: 5) |
Memories are classified into these categories:
decision — Architectural and design decisionscode_change — Significant code modificationsbug_fix — Bug identification and resolutionconfig — Configuration and environment changeserror_resolution — Errors encountered and solvedpreference — User preferences and conventionsdiscussion — General discussion summaries