Skip to content

PDF Spec (PDF Agent Stack) vs XERJ

PDF Spec (PDF Agent Stack) is a free MCP server for files and documents. XERJ is an open-source MCP server for knowledge and memory.

  • PDF Spec (PDF Agent Stack) is best for quote the clause behind a pdf structure question.
  • XERJ is best for search local code and docs from an agent.
What it is
PDF Spec (PDF Agent Stack) is a free MCP server for files and documents.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Quote the clause behind a PDF structure question
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Free
Open source
Platforms
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
Quote the clause behind a PDF structure question; List the normative requirements in a section; Compare how PDF 2.0 reorganised a topic
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What PDF Spec (PDF Agent Stack) does

  • Spec text search

    Keyword search with section-aware context snippets across the loaded documents.

  • Requirement extraction

    Pulls shall, should and may statements per ISO conventions.

  • Definitions lookup

    Returns term definitions from the terms and definitions clause.

  • Table extraction

    Detects multi-page tables and merges their headers.

  • Version comparison

    Diffs PDF 1.7 and PDF 2.0 section structures.

  • Multi-document corpus

    Auto-discovers up to 17 PDF-related documents placed in a local folder.

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.

PDF Spec (PDF Agent Stack) vs XERJ: questions

Is PDF Spec (PDF Agent Stack) or XERJ cheaper?

Both are free. Compare current plans on each official site.

What is the difference between PDF Spec (PDF Agent Stack) and XERJ?

PDF Spec (PDF Agent Stack) is a free MCP server for files and documents. XERJ is an open-source MCP server for knowledge and memory.