Skip to content

Codebase Memory vs CodeDiag

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

  • Codebase Memory is best for find callers of a function.
  • CodeDiag is best for audit an express or nestjs api for unauthenticated endpoints before release.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
CodeDiag is an open-source MCP server for developer tools.
Best for
Find callers of a function
Audit an Express or NestJS API for unauthenticated endpoints before release
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, vscode, API
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
Audit an Express or NestJS API for unauthenticated endpoints before release; Gate pull requests on a minimum health score in CI; Upload SARIF results to code scanning

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

  • Route auth and validation

    Finds API routes with no auth check or input validation across nine frameworks.

  • Explained health score

    A 0-100 score with weights per analyzer and a breakdown of every lost point.

  • Taint-style security rules

    Traces request data into shell commands, raw SQL, file paths, redirects and HTML.

  • Stable rule IDs

    Each finding links to a rule you can explain or suppress.

  • SARIF and CI

    Outputs SARIF and provides a GitHub Action and VS Code extension.

  • Offline by default

    No account or upload; --no-audit avoids network calls entirely.

Codebase Memory vs CodeDiag: questions

Is Codebase Memory or CodeDiag cheaper?

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

What is the difference between Codebase Memory and CodeDiag?

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