Skip to content

Codebase Memory vs Total Agent Memory

Codebase Memory is an open-source MCP server for knowledge and memory. Total Agent Memory is an open-source MCP server for knowledge and memory.

  • Codebase Memory is best for find callers of a function.
  • Total Agent Memory is best for carry architecture decisions across sessions and repos.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Total Agent Memory is an open-source MCP server for knowledge and memory.
Best for
Find callers of a function
Carry architecture decisions across sessions and repos
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted, macOS, Windows, Linux
Runs
Locally
Locally
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 code
Carry architecture decisions across sessions and repos; Stop re-explaining project conventions to an agent; Share team knowledge through a self-hosted server

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 Total Agent Memory does

  • Local-first storage

    Memories live in SQLite files on your machine, with embeddings computed locally.

  • Hybrid recall

    Combines BM25, embeddings, fuzzy matching and a knowledge graph, then reranks.

  • Temporal facts

    Facts carry validity intervals and newer values can retire older ones.

  • No LLM in default path

    Saving and searching make no LLM call, so retrieval can be benchmarked offline.

  • Team server

    Personal, team and shared memory with roles, authorship and audit history.

  • Setup wizard

    Detects and registers with Claude Code, Codex, Cursor, Windsurf, Gemini CLI and others.

Codebase Memory vs Total Agent Memory: questions

Is Codebase Memory or Total Agent Memory cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Codebase Memory and Total Agent Memory?

Codebase Memory is an open-source MCP server for knowledge and memory. Total Agent Memory is an open-source MCP server for knowledge and memory.