Back to MCP Servers

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

To add Docling MCP to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 14 environment variables, listed below.

FilesAIDevTools

Install

uvx docling-mcp@3.4.0

Environment variables

DOCLING_MCP_CONVERSION_MODESet in your MCP config
DOCLING_MCP_SERVICE_URLSet in your MCP config
DOCLING_MCP_SERVICE_API_KEYSet in your MCP config
DOCLING_MCP_SERVICE_TIMEOUTSet in your MCP config
DOCLING_MCP_SERVICE_MAX_RETRIESSet in your MCP config
DOCLING_MCP_FALLBACK_TO_LOCALSet in your MCP config
DOCLING_MCP_KEEP_IMAGESSet in your MCP config
DOCLING_MCP_IMAGES_SCALESet in your MCP config
DOCLING_MCP_DO_OCRSet in your MCP config
DOCLING_MCP_DO_TABLE_STRUCTURESet in your MCP config
DOCLING_MCP_DO_PICTURE_DESCRIPTIONSet in your MCP config
DOCLING_MCP_PICTURE_DESCRIPTION_PRESETSet in your MCP config
DOCLING_MCP_IMAGE_EXPORT_MODESet in your MCP config
DOCLING_MCP_CACHE_MAX_DOCUMENTSSet in your MCP config

Install with your client

Terminal
claude mcp add docling --env DOCLING_MCP_CONVERSION_MODE=<YOUR_DOCLING_MCP_CONVERSION_MODE> --env DOCLING_MCP_SERVICE_URL=<YOUR_DOCLING_MCP_SERVICE_URL> --env DOCLING_MCP_SERVICE_API_KEY=<YOUR_DOCLING_MCP_SERVICE_API_KEY> --env DOCLING_MCP_SERVICE_TIMEOUT=<YOUR_DOCLING_MCP_SERVICE_TIMEOUT> --env DOCLING_MCP_SERVICE_MAX_RETRIES=<YOUR_DOCLING_MCP_SERVICE_MAX_RETRIES> --env DOCLING_MCP_FALLBACK_TO_LOCAL=<YOUR_DOCLING_MCP_FALLBACK_TO_LOCAL> --env DOCLING_MCP_KEEP_IMAGES=<YOUR_DOCLING_MCP_KEEP_IMAGES> --env DOCLING_MCP_IMAGES_SCALE=<YOUR_DOCLING_MCP_IMAGES_SCALE> --env DOCLING_MCP_DO_OCR=<YOUR_DOCLING_MCP_DO_OCR> --env DOCLING_MCP_DO_TABLE_STRUCTURE=<YOUR_DOCLING_MCP_DO_TABLE_STRUCTURE> --env DOCLING_MCP_DO_PICTURE_DESCRIPTION=<YOUR_DOCLING_MCP_DO_PICTURE_DESCRIPTION> --env DOCLING_MCP_PICTURE_DESCRIPTION_PRESET=<YOUR_DOCLING_MCP_PICTURE_DESCRIPTION_PRESET> --env DOCLING_MCP_IMAGE_EXPORT_MODE=<YOUR_DOCLING_MCP_IMAGE_EXPORT_MODE> --env DOCLING_MCP_CACHE_MAX_DOCUMENTS=<YOUR_DOCLING_MCP_CACHE_MAX_DOCUMENTS> -- uvx docling-mcp@3.4.0

Run this in a terminal to add the server to Claude Code.

What this does

Docling MCP exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

DOCLING_MCP_CONVERSION_MODE
DOCLING_MCP_SERVICE_URL
DOCLING_MCP_SERVICE_API_KEY
DOCLING_MCP_SERVICE_TIMEOUT
DOCLING_MCP_SERVICE_MAX_RETRIES
DOCLING_MCP_FALLBACK_TO_LOCAL
DOCLING_MCP_KEEP_IMAGES
DOCLING_MCP_IMAGES_SCALE
DOCLING_MCP_DO_OCR
DOCLING_MCP_DO_TABLE_STRUCTURE
DOCLING_MCP_DO_PICTURE_DESCRIPTION
DOCLING_MCP_PICTURE_DESCRIPTION_PRESET
DOCLING_MCP_IMAGE_EXPORT_MODE
DOCLING_MCP_CACHE_MAX_DOCUMENTS

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Docling MCP?

Run the Claude Code command in the install section to add Docling MCP to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Docling MCP?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Docling MCP as well.

Does Docling MCP need an API key?

Yes. Before it can run, set these environment variables: DOCLING_MCP_CONVERSION_MODE, DOCLING_MCP_SERVICE_URL, DOCLING_MCP_SERVICE_API_KEY, DOCLING_MCP_SERVICE_TIMEOUT, DOCLING_MCP_SERVICE_MAX_RETRIES, DOCLING_MCP_FALLBACK_TO_LOCAL, DOCLING_MCP_KEEP_IMAGES, DOCLING_MCP_IMAGES_SCALE, DOCLING_MCP_DO_OCR, DOCLING_MCP_DO_TABLE_STRUCTURE, DOCLING_MCP_DO_PICTURE_DESCRIPTION, DOCLING_MCP_PICTURE_DESCRIPTION_PRESET, DOCLING_MCP_IMAGE_EXPORT_MODE, DOCLING_MCP_CACHE_MAX_DOCUMENTS. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-docling-project-docling-mcp)](https://clauderules.net/mcp/io-github-docling-project-docling-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-docling-project-docling-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-docling-project-docling-mcp" alt="Listed on clauderules.net" /></a>