Skip to main content
PluginDefault onclawql-documents

Plugins · Registry · Plugin model

Documents & IDP

Plugin ID: clawql-documents
Package: packages/clawql-documents — DocumentsPlugin

Covers external knowledge import, enterprise search via Onyx, and optional intelligent document processing (IDP) MCP tools — including anydoc convert, pdf-inspector routing, Docling layout OCR, classify_document, and LangExtract grounded extraction.

MCP tools

ToolWhen registered
ingest_external_knowledgeDocuments plugin on (default)
knowledge_search_onyxDocuments on + CLAWQL_ENABLE_ONYX=1 + onyx in spec merge
run_idp_pipelineCLAWQL_ENABLE_IDP_PIPELINE=1
convert_documentCLAWQL_ENABLE_ANYDOC=1
inspect_pdfCLAWQL_ENABLE_PDF_INSPECTOR=1
classify_documentCLAWQL_ENABLE_IDP_CLASSIFIER=1
extract_documentCLAWQL_ENABLE_LANGEXTRACT=1

Bundled IDP vendors (Docling, Paperless, Nextcloud, ConeShare — the default/recommended set as of 8.0) are loaded via execute when included in the spec merge — not separate plugins. Tika, Gotenberg, and Stirling keep bundled specs but are opt-in-only (CLAWQL_BUNDLED_PROVIDERS=tika,gotenberg,stirling) — Docling is now the sole default converter. anydoc and pdf-inspector are in-process (no sidecar) and opt-in-only, not recommended; Docling / classifier / LangExtract use HTTP services when configured.

Office/PDF → convert_document (or inspect_pdf) → local_markdown | Docling OCR → classify_document → extract_document → vault / HITL
HopTool / executeRole
Convertconvert_documentFirecrawl anydoc — Office/PDF/CSV → GFM; OCR fails → Docling / Tika
Route PDFinspect_pdfFirecrawl pdf-inspector — TextBased → Markdown; Scanned/Mixed → Docling
Layout OCRexecute docling::*Layout-aware parse for forms / W-2 / scanned pages
Doc typeclassify_documentLabel + confidence (HTTP classifier or local heuristic)
Fieldsextract_documentLangExtract schema-grounded extractions + char_interval
Multi-hoprun_idp_pipelineAutomated DEFAULT_IDP_PIPELINE (Nextcloud → … → Coneshare)

Enable / disable

EnvDefaultEffect
CLAWQL_ENABLE_DOCUMENTS=0onOmit DocumentsPlugin and document MCP tools; trims IDP vendors from all-providers only (Tika/Gotenberg/Stirling stay out of all-providers regardless — opt-in-only)
CLAWQL_ENABLE_ONYX=1offRegister knowledge_search_onyx
CLAWQL_EXTERNAL_INGEST=1offAllow URL fetch mode on ingest_external_knowledge
CLAWQL_ENABLE_ANYDOC=1offRegister convert_document (in-process @firecrawl/anydoc)
CLAWQL_ENABLE_PDF_INSPECTOR=1offRegister inspect_pdf (in-process @firecrawl/pdf-inspector)
CLAWQL_ENABLE_IDP_CLASSIFIER=1offRegister classify_document
CLAWQL_ENABLE_LANGEXTRACT=1offRegister extract_document
CLAWQL_ENABLE_IDP_PIPELINE=1offRegister run_idp_pipeline

Service URLs (when sidecars are up)

EnvPurpose
DOCLING_BASE_URLDocling Serve (layout OCR)
CLASSIFIER_BASE_URLReference / fine-tuned classifier HTTP
LANGEXTRACT_BASE_URLLangExtract sidecar (heuristic when unset)
CLAWQL_ANYDOC_FILE_ROOTSAllowlist for convert_document path= (default: pdf-inspector roots / cwd)
CLAWQL_PDF_INSPECTOR_FILE_ROOTSAllowlist for inspect_pdf path= (default: cwd)

Explicit CLAWQL_BUNDLED_PROVIDERS=paperless,tika,... can still list IDP vendor ids when CLAWQL_ENABLE_DOCUMENTS=0.

Helm / Compose

  • Helm (manifests/charts/clawql-mcp): enableAnydoc, enablePdfInspector, enableIdpClassifier, enableLangextract, enableIdpPipeline (all opt-in-only, not recommended); documentPipeline.docling defaults on (sole recommended converter); documentPipeline.\{tika,gotenberg,stirling\} default off (opt-in); opt-in documentPipeline.classifier|langextract.
  • Compose: docker/compose/lending.compose.yml and docling-classifier.compose.yml.

Onyx note

Onyx is in the default install provider stack (spec merge) for rich search against large document bases. The knowledge_search_onyx MCP wrapper is still opt-in via CLAWQL_ENABLE_ONYX=1.

Learn more