Troubleshooting
January 23, 2026 ยท View on GitHub
Common issues and solutions for Memory MCP.
Server Won't Start
Symptom: Claude Code shows "memory" server as disconnected
-
Check the command works directly:
memory-mcp -
Verify installation:
which memory-mcp # Should return a path -
Check Python version: Requires 3.10+
python --version
Dimension Mismatch Error
Symptom: Vector dimension mismatch error during recall
This happens when the embedding model changes. Rebuild vectors:
memory-mcp-cli db-rebuild-vectors
Hot Cache Not Updating
Symptom: Promoted memories don't appear in hot cache
-
Check hot cache status:
memory-mcp-cli status -
Verify memory exists:
[In Claude] list_memories(limit=10) -
Manually promote:
[In Claude] promote(memory_id)
Pattern Mining Not Working
Symptom: run_mining finds no patterns
-
Check mining is enabled:
echo $MEMORY_MCP_MINING_ENABLED # Should not be "false" -
Verify logs exist:
memory-mcp-cli run-mining --hours 24 -
Check hook is installed (see Reference - Automatic Output Logging)
Hook Script Fails
Symptom: Hook runs but nothing is logged
-
Check jq is installed:
which jq # Should return a path -
Make script executable:
chmod +x hooks/memory-log-response.sh -
Test manually:
echo "test content" | memory-mcp-cli log-output
Slow First Startup
Symptom: First run takes 30-60 seconds
This is expected - the embedding model (~90MB) downloads on first use. Subsequent starts take 2-5 seconds.
Database Corruption
Symptom: SQLite errors or unexpected behavior
-
Backup and recreate:
mv ~/.memory-mcp/memory.db ~/.memory-mcp/memory.db.bak # Server will create fresh database on next start -
Re-bootstrap from project docs:
memory-mcp-cli bootstrap
Memory Analyst Shows Issues
Symptom: Health report shows "Needs Attention"
Run the recommended actions from the report. Common fixes:
- Unresolved contradictions: Use
resolve_contradiction()to pick the correct memory - Consolidation opportunities: Run
memory-mcp-cli consolidate - Empty knowledge graph: Use
link_memories()to connect related concepts - Low hot cache utilization: Run
memory-mcp-cli bootstrapto seed from docs