Codebase Memory vs ContextLib
Codebase Memory is an open-source MCP server for knowledge and memory. ContextLib is an open-source MCP server for files and documents.
- Codebase Memory is best for find callers of a function.
- ContextLib is best for give coding agents durable project memory across sessions.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.ContextLib is an open-source MCP server for files and documents.
- Best for
- Find callers of a functionGive coding agents durable project memory across sessions
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, self-hosted, macOS
- Runs
- LocallyLocally
- GitHub stars
- 48.7K
- Last commit
- Nov 2026
- License
- MIT
- Open source
- Good for
- Find callers of a function; Assess the impact of a diff; Link documentation to codeGive coding agents durable project memory across sessions; Record decisions and requirements a team can read without special tools; Review and approve lessons an agent proposes
What Codebase Memory does
Code knowledge graph
Persistent graph of symbols, calls and dependencies.
Multiple search modes
Structural, full-text and local semantic search.
Documentation links
Indexes Markdown, reStructuredText, AsciiDoc and ADRs.
Infrastructure tracing
Connects Docker, Kubernetes, Terraform and CI to source.
Change impact
Maps a diff to affected symbols and related tests.
Native CLI
Query the same graph from the command line.
What ContextLib does
Markdown storage
Keeps knowledge as readable files with front matter, one folder per project.
Proposal inbox
Holds agent-proposed records until a person accepts or rejects them.
Supersession chain
Replaces old records while preserving the body hash and reason.
Review dates
Flags records whose review-by date has passed.
Rebuildable index
Uses SQLite search that can be regenerated from the files.
Health check
Reports library problems in plain English.
Codebase Memory vs ContextLib: questions
Is Codebase Memory or ContextLib cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and ContextLib?
Codebase Memory is an open-source MCP server for knowledge and memory. ContextLib is an open-source MCP server for files and documents.

