Skip to content

Document to Markdown for LLM & RAG vs XERJ

Document to Markdown for LLM & RAG is a paid MCP server for files and documents. XERJ is an open-source MCP server for knowledge and memory.

  • XERJ is open source, while Document to Markdown for LLM & RAG is paid.
  • XERJ is open source; Document to Markdown for LLM & RAG is not.
  • Document to Markdown for LLM & RAG is best for build a rag knowledge base from manuals and contracts.
  • XERJ is best for search local code and docs from an agent.
What it is
Document to Markdown for LLM & RAG is a paid MCP server for files and documents.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Build a RAG knowledge base from manuals and contracts
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Paid
Open source
Platforms
API, Web
CLI, Linux, macOS, self-hosted, API
Runs
Remotely
Locally
GitHub stars
19.2K
Last commit
Nov 2026
License
Apache-2.0
Open source
Good for
Build a RAG knowledge base from manuals and contracts; Turn scanned invoices or letters into searchable text; Load slide decks and spreadsheets into a vector store
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What Document to Markdown for LLM & RAG does

  • Heading-aware Markdown

    Reconstructs headings, lists and tables from PDF layout and Office structure.

  • Built-in OCR

    Reads scanned pages and images with Tesseract in 25 languages.

  • RAG chunks

    Splits by heading or token count with page range and heading path metadata.

  • Many formats

    PDF, DOCX, PPTX, XLSX, HTML, EPUB, CSV and common image formats.

  • Image extraction

    Can save embedded images to a key-value store and link them from the Markdown.

  • Page markers

    Optionally inserts page comments so answers can cite page numbers.

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.

Document to Markdown for LLM & RAG vs XERJ: questions

Is Document to Markdown for LLM & RAG or XERJ cheaper?

XERJ is the cheaper option: it is open source.

What is the difference between Document to Markdown for LLM & RAG and XERJ?

Document to Markdown for LLM & RAG is a paid MCP server for files and documents. XERJ is an open-source MCP server for knowledge and memory. XERJ is open source, while Document to Markdown for LLM & RAG is paid. XERJ is open source; Document to Markdown for LLM & RAG is not.