Skip to content

CodeDiag vs XERJ

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

  • CodeDiag is best for audit an express or nestjs api for unauthenticated endpoints before release.
  • XERJ is best for search local code and docs from an agent.
What it is
CodeDiag is an open-source MCP server for developer tools.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Audit an Express or NestJS API for unauthenticated endpoints before release
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, vscode, API
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
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
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

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.

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.

CodeDiag vs XERJ: questions

Is CodeDiag or XERJ cheaper?

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

What is the difference between CodeDiag and XERJ?

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