Skip to content

AI Guard vs Codebase Memory

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

  • AI Guard is best for stop an ai agent from installing a package that does not exist.
  • Codebase Memory is best for find callers of a function.
What it is
AI Guard is an open-source MCP server for developer tools.
Codebase Memory is an open-source MCP server for knowledge and memory.
Best for
Stop an AI agent from installing a package that does not exist
Find callers of a function
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, vscode, self-hosted
CLI, macOS, Linux, Windows, self-hosted
Runs
Locally
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Stop an AI agent from installing a package that does not exist; Block commits that quietly skip or delete tests; Annotate pull requests with AI-typical risks
Find callers of a function; Assess the impact of a diff; Link documentation to code

What AI Guard does

  • 27 lint rules

    Rules cover secrets, swallowed errors, floating promises, invented imports and placeholder code.

  • Weakened-check detection

    Flags skipped tests, new suppressions and lowered config in a change.

  • Pre-install package checks

    Blocks npm names that do not exist, removed malware and look-alikes.

  • Agent hooks

    Claude Code, Codex and Cursor get feedback after edits and a check before finishing.

  • CI and code scanning

    A GitHub Action writes annotations and SARIF for Code Scanning.

  • Oxlint parity

    All 27 rules give the same results in ESLint and Oxlint.

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.

AI Guard vs Codebase Memory: questions

Is AI Guard or Codebase Memory cheaper?

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

What is the difference between AI Guard and Codebase Memory?

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