Skip to main content

Docling MCP

io.github.docling-project/docling-mcp

v3.5.1Updated Nov 23, 2026stdio · PyPI

Convert PDFs and other documents to structured formats via Docling, for AI applications.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add docling-mcp -- uvx docling-mcp==3.5.1

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

18 settings.

  • DOCLING_MCP_SERVICE_API_KEY
    Env var· optional· secret
    API key for authenticating with Docling Serve.
  • DOCLING_MCP_CONVERSION_MODE
    Env var· optional
    Conversion mode: 'remote' (default) or 'local' (requires docling-mcp[local] extra).
  • DOCLING_MCP_SERVICE_URL
    Env var· optional
    Base URL of the Docling Serve instance. Required when conversion mode is remote.
  • DOCLING_MCP_SERVICE_TIMEOUT
    Env var· optional
    Request timeout in seconds for the remote Docling Serve API. Default: 300.0.
  • DOCLING_MCP_SERVICE_MAX_RETRIES
    Env var· optional
    Maximum number of retry attempts for remote API requests. Default: 3.
  • DOCLING_MCP_FALLBACK_TO_LOCAL
    Env var· optional
    Set to 'true' to fall back to local conversion when Docling Serve is unreachable.
Show 12 more
  • DOCLING_MCP_KEEP_IMAGES
    Env var· optional
    Set to 'true' to retain page images in converted documents. Default: false.
  • DOCLING_MCP_IMAGES_SCALE
    Env var· optional
    Image scale factor (e.g. 1.0, 2.0). Increase to avoid tensor batching errors. Default: 1.0.
  • DOCLING_MCP_DO_OCR
    Env var· optional
    Set to 'false' to disable the OCR pipeline. Default: true.
  • DOCLING_MCP_OCR_ENGINE
    Env var· optional
    OCR engine kind: 'auto' (default), 'easyocr', 'tesseract', 'tesserocr', 'ocrmac', 'rapidocr'. Must be installed on the conversion backend.
  • DOCLING_MCP_OCR_LANG
    Env var· optional
    Comma-separated OCR languages (e.g. 'iso:en,iso:de' or 'eng,deu'). When unset the engine's default languages apply.
  • DOCLING_MCP_DO_TABLE_STRUCTURE
    Env var· optional
    Set to 'false' to disable table structure detection. Default: true.
  • DOCLING_MCP_DO_PICTURE_DESCRIPTION
    Env var· optional
    Set to 'true' to run a vision-language model to generate textual descriptions for figures and pictures. Requires a VLM to be available on the conversion backend. Default: false.
  • DOCLING_MCP_PICTURE_DESCRIPTION_PRESET
    Env var· optional
    Preset ID for the picture-description VLM (e.g. 'smolvlm', 'granite_vision'). When unset the backend default is used. Only applies when DOCLING_MCP_DO_PICTURE_DESCRIPTION=true.
  • DOCLING_MCP_IMAGE_EXPORT_MODE
    Env var· optional
    Controls how images are rendered when exporting to Markdown. Accepted values: 'placeholder' (default, emits <!-- image -->), 'embedded' (base64 data-URI), 'referenced' (file path / URL).
  • DOCLING_MCP_CACHE_MAX_DOCUMENTS
    Env var· optional
    Maximum number of documents to keep in the in-memory cache. Oldest (least-recently-used) documents are evicted when the limit is reached. Default: 10.
  • --from
    Argument· optional
    No description.
  • --transport
    Argument· optional
    No description.

Listed in the official MCP Registry since Nov 23, 2026. Mirrored daily; last checked Nov 26, 2026.