Codebase Memory vs State Memory MCP
Codebase Memory is an open-source MCP server for knowledge and memory. State Memory MCP is an open-source MCP server for knowledge and memory.
- Codebase Memory is best for find callers of a function.
- State Memory MCP is best for keep a coding agent on track across many sessions on one codebase.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.State Memory MCP is an open-source MCP server for knowledge and memory.
- Best for
- Find callers of a functionKeep a coding agent on track across many sessions on one codebase
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, self-hosted, macOS, Windows, Linux
- 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 codeKeep a coding agent on track across many sessions on one codebase; Record architectural decisions so later sessions do not repeat them; Break a PRD into tasks and verify acceptance criteria as work finishes
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 State Memory MCP does
Persistent task graph
Tracks tasks, decisions, artifacts and blockers as linked nodes in a project-local SQLite database.
Dependency work queue
Returns unblocked tasks in topological order and rejects cyclic links.
Spec ingestion
Parses Markdown PRDs, OpenSpec and Gherkin feature files and checks for drift against them.
Tamper-evident ledger
Hash-chains every mutation so the event history can be verified.
Full-text search
Finds nodes with FTS5 and TF-IDF search rather than vector embeddings.
3D graph viewer
Opens a WebGL force-directed view of the project graph in the browser.
Codebase Memory vs State Memory MCP: questions
Is Codebase Memory or State Memory MCP cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and State Memory MCP?
Codebase Memory is an open-source MCP server for knowledge and memory. State Memory MCP is an open-source MCP server for knowledge and memory.
