Skip to content

pgman vs XERJ

pgman is an open-source MCP server for databases. XERJ is an open-source MCP server for knowledge and memory.

  • pgman is best for let an agent inspect a schema without write access.
  • XERJ is best for search local code and docs from an agent.
What it is
pgman is an open-source MCP server for databases.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Let an agent inspect a schema without write access
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
macOS, Linux, CLI
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
Let an agent inspect a schema without write access; Preview locks before a migration; Create a masked copy of production for debugging
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What pgman does

  • Read-only by default

    Statements are classified before running; writes wait for commit.

  • Safe migrations

    Dry-run with real locks, then apply one transaction at a time.

  • Masked production copies

    Dumps mask personal data and keep foreign keys joining.

  • Environment overview

    See dev, staging and production side by side.

  • Log to SQL

    Turn application logs back into runnable SQL.

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.

pgman vs XERJ: questions

Is pgman or XERJ cheaper?

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

What is the difference between pgman and XERJ?

pgman is an open-source MCP server for databases. XERJ is an open-source MCP server for knowledge and memory.