Skip to content

AI Guard vs XERJ

AI Guard is an open-source MCP server for developer tools. XERJ 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.
  • XERJ is best for search local code and docs from an agent.
What it is
AI Guard is an open-source MCP server for developer tools.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Stop an AI agent from installing a package that does not exist
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, vscode, self-hosted
CLI, Linux, macOS, self-hosted, API
Runs
Locally
Locally
GitHub stars
19.2K
Last commit
Nov 2026
License
Apache-2.0
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
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

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

  • Single binary

    Search, vectors, facts and memory in one Rust program.

  • Evidence-backed answers

    Answers come with the program and evidence used.

  • Runs locally

    Works offline on a CPU, on a laptop or server.

  • Elasticsearch-compatible API

    Exposes an API compatible with Elasticsearch.

  • Reference coding

    Index open-source repos so agents consult real definitions.

  • MCP integration

    Stdio MCP server connects to a running node.

AI Guard vs XERJ: questions

Is AI Guard or XERJ cheaper?

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

What is the difference between AI Guard and XERJ?

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