MCP server¶
Doctopus ships a Model Context Protocol server, so agents can parse, chunk and compare documents in a folder you choose.
The server runs over stdio. Paths may be relative to --root or absolute within it; paths and symlinks that resolve outside the root are rejected.
Client configuration¶
For Claude Code:
Use --backend (or DOCTOPUS_BACKEND) to set the default engine for tool calls that do not name one.
Tools¶
| Tool | What it does |
|---|---|
parse_document |
Returns Markdown, metadata, tables, and processing details. |
chunk_document |
Returns paged chunks for retrieval or dataset building. |
explain_routing |
Returns the routing decision for a file without extracting it. |
list_processing_backends |
Lists engines with availability and capabilities. |
compare_processors |
Runs every available engine with fallback disabled and reports per-engine results or failures. |
parse_documentcaps Markdown at 60,000 characters by default (max_chars);truncatedandtotal_charsdescribe the full length. Blocks are included only withinclude_blocks=True. It returns a subset of the canonical document, not its full JSON schema.chunk_documentpages its results withoffsetandlimit(default 50), plustotal. Each call parses the file again.parse_document,chunk_documentandexplain_routingaccept abackendargument.