Skip to content

Codebase Memory vs ThoughtDAG

Codebase Memory is an open-source MCP server for knowledge and memory. ThoughtDAG is an open-source MCP server for developer tools.

  • Codebase Memory is best for find callers of a function.
  • ThoughtDAG is best for ask why a file looks the way it does before editing it.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
ThoughtDAG is an open-source MCP server for developer tools.
Best for
Find callers of a function
Ask why a file looks the way it does before editing it
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted, macOS, Linux, Windows
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
Ask why a file looks the way it does before editing it; Find the conversation where a specific phrase was discussed; Check whether a file has any past agent history

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 ThoughtDAG does

  • File history lookup

    Lists the turns that touched a file, URL or arXiv paper.

  • Exact phrase search

    Finds a phrase across questions, answers or attached materials.

  • Full turn recall

    Prints a single turn's question, answer and tool trail.

  • Observed versus inferred

    Separates recorded edits from candidate explanations.

  • Local index

    Derived data stays in ~/.thoughtdag with restrictive permissions.

  • Project rules helper

    Optionally adds and removes a history-check block in CLAUDE.md and AGENTS.md.

Codebase Memory vs ThoughtDAG: questions

Is Codebase Memory or ThoughtDAG cheaper?

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

What is the difference between Codebase Memory and ThoughtDAG?

Codebase Memory is an open-source MCP server for knowledge and memory. ThoughtDAG is an open-source MCP server for developer tools.