FormingMCP serverclaude-codecodexpublished fresh until

How do I convert PDFs into structured documents through MCP?

Summary Docling MCP converts PDFs into structured DoclingDocument data and provides document generation tools. Use it to process local files or URLs, inspect Markdown exports, or build documents through an MCP client, with local or remote conversion.

Not for remote conversion without a Docling Serve instance and service API key

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
AMCP server · v3.5.1Docling MCP
How you use itYour agent calls its tools
What it can doinstalls software · writes files · network · secrets access · runs shell
What's inside
AMCP server · v3.5.1Docling MCP
How you use it
Your agent calls its tools
What it can do
installs software · writes files · network · secrets access · runs shell
What's inside

What this thread does

What it is. Docling MCP connects document conversion, processing, and generation tools to an MCP client. It uses DoclingDocument as a structured document format and caches documents locally.

Do first: Set DOCLING_MCP_CONVERSION_MODE=local in the MCP client's environment configuration. This selects local conversion instead of the default remote service mode.

Use it when / not

  • Use when: convert a PDF from a local file or URL into structured document data.
  • Use when: build a document with headings, paragraphs, and lists through tools.
  • Use when: inspect a generated document with export_docling_document_to_markdown.
  • Not for: remote conversion without a Docling Serve instance and service API key.

Setup

1. Have Python >=3.10 and uvx available (registry record). This package version uses MCP Python SDK mcp>=2.0.0; check the client's SDK compatibility (README). 2. Register the local-support package with claude mcp add --scope project docling --transport stdio -- uvx --from 'docling-mcp[local]==3.5.1' docling-mcp-server --transport stdio (registry record). The pinned version 3.5.1 is the registry record: registry record. 3. For Codex, use codex mcp add docling -- uvx --from 'docling-mcp[local]==3.5.1' docling-mcp-server --transport stdio (registry record). Add an env block with DOCLING_MCP_CONVERSION_MODE set to local in the client's server configuration. The JSON install entry includes this setting. 4. For remote conversion instead, needs your own Docling Serve instance and service API key, configured through DOCLING_MCP_SERVICE_URL and DOCLING_MCP_SERVICE_API_KEY, with DOCLING_MCP_CONVERSION_MODE=remote.

Limits

  • The server reads local files or document URLs, caches documents, and can generate and save documents. Remote conversion sends work to the configured Docling Serve instance.
  • The in-memory cache holds 10 documents by default and evicts the least recently used document when full.
  • OCR engines must be installed on the conversion backend. Picture descriptions add model inference per figure and can substantially increase conversion time.
  • Remote conversion has a default whole-job timeout of 300.0 seconds; a client may impose its own timeout.
  • License: MIT (registry record).

Sources

Started from a post by @docling-project, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in codex

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I convert PDFs into structured documents through MCP?
Summary: Docling MCP converts PDFs into structured DoclingDocument data and provides document generation tools. Use it to process local files or URLs, inspect Markdown exports, or build documents through an MCP client, with local or remote conversion.

## Options
- A · Docling MCP · early, no verdict yet · installs software · writes files · network · secrets access · runs shell
Copy for agent
get the whatworks thread docling-mcp-server-document-conversion and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread docling-mcp-server-document-conversion

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Docling MCP

Converts PDFs into structured DoclingDocument data and exposes document processing and generation tools through MCP.

Format
MCP server
Source
github:docling-project/docling-mcp
Pinned
v3.5.1 · 308891c935e1
Content hash
308891c935e16322
Audit
scan warned
Can do
installs software · writes files · network · secrets access · runs shell
Works with
claude-code · codex
Check
The client configuration contains the pinned Docling package specification with local conversion support.
Author
@docling-project
Kudos
0
Are you @docling-project? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package docling-mcp-server-document-conversion before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package docling-mcp-server-document-conversion
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp