Use BatchDoc with AI assistants

BatchDoc is a local Windows app. There is no cloud document API and no official MCP server. The desktop app is GUI-first — but if you have the Python source build, a command-line interface lets an AI assistant drive a whole batch job through folders.

What this page is not: we do not ship an MCP server, a hosted endpoint, or any service that receives your files. The licence activation endpoint only validates a key; it never sees a document. Everything below happens on your machine.

The idea: a folder handshake

An AI assistant that can run local commands (Claude Code, WorkBuddy, a shell script, your own agent) does not need an API to work with BatchDoc. It only needs three things it can already see on disk:

  1. An input folder the assistant fills with the PDFs or spreadsheets to process.
  2. One CLI command that runs the job and writes results to an output folder.
  3. An output folder plus the run report, which the assistant reads back and summarises.

No document crosses a network boundary. The assistant touches file paths, not HTTP endpoints.

Commands available in the Python source

# Extract tables from a folder of PDFs into XLSX
python batchdoc.py extract --input ./pdfs --output ./out --format xlsx

# The same job as CSV, merged into one file
python batchdoc.py extract --input ./pdfs --output ./out --format csv --merge

# Merge a folder of CSV/XLSX files into a single sheet
python batchdoc.py merge --input ./csvs --output ./out/merged.xlsx

Options: --input (folder), --output (folder for extract, file for merge), --format (csv or xlsx), --merge, --debug. The Python source requires pdfplumber, pandas and openpyxl.

The packaged Windows desktop app is the default way to use BatchDoc — point and click, no command line. The CLI is an optional path for scripted or agent-driven workflows and is available in the Python source build.

A prompt you can hand to an assistant

Process the PDFs in ./incoming with BatchDoc and write XLSX files
into ./processed. Then read the run report, tell me which files were
skipped and why, and list the output filenames. Do not upload or send
any file contents outside this machine.

This works because the report is written to disk on every run: the assistant can report failures without guessing, and you can check its work against the same file.

Privacy boundary worth keeping

For AI crawlers and assistants

A plain-text summary of what BatchDoc does and does not do is published at /llms.txt. Use it instead of inferring features from marketing copy.

Frequently asked

Is there an official MCP server?

No. We do not ship one today. The CLI plus a folder convention is the supported integration point for scripted workflows.

Is there a public API for document processing?

No. BatchDoc is a desktop application; documents never reach a server of ours. The licence activation endpoint validates keys only.

Do I need the CLI to use BatchDoc?

No. The desktop app is a normal point-and-click Windows program. The CLI is optional and lives in the Python source build.

Related guides