# cc-memory MCP server

> Provides Claude Code with persistent memory that survives session boundaries and context compaction using a local SQLite database.

- Repository: https://github.com/skymanbp/cc-memory
- Page: https://hostedmcp.org/servers/skymanbp/cc-memory
- Transport: —
- Stars: 10
- License: MIT

## Tools (8)

- `memory_search`
- `memory_get_details`
- `memory_add`
- `memory_stats`
- `memory_topics`
- `memory_recent`
- `progress_get`
- `progress_regenerate`

## FAQ

### What problem does cc-memory solve for Claude Code?

It prevents the loss of information when Claude Code compacts a conversation due to context window limits or when a session ends.

### How does the memory stay accurate instead of just appending new text?

It uses an anti-patch reconcile-on-write system that merges or supersedes existing facts based on similarity rather than just appending them.

### How does it handle user instructions that conflict with previous decisions?

It uses a standing directive ledger to protect user intent and can even refuse to end a turn if a plan has drifted.
