docling.rs

v2.89.1
io.github.docling-project/docling-rs Checked 1 day ago Published 5 days ago

Documents to Markdown for agents: PDF layout, tables and OCR, Office, HTML, scans.

Values you need

VariableWhat it is
DOCLING_RS_CACHE_DIRoptional Where `docling-rs-mcp --download-models` puts the PDF/image models and the server finds them (default ~/.cache/docling.rs).
DOCLING_RS_OCR_LANGoptional OCR language for scans: en (default), ch, or a BCP-47 tag. Default: en

PyPI (uvx)

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add docling-rs -- uvx docling-rs-mcp==2.89.1 --root '<root>' --allow-url-fetch false
Add to claude_desktop_config.json
{
  "mcpServers": {
    "docling-rs": {
      "args": [
        "docling-rs-mcp==2.89.1",
        "--root",
        "<root>",
        "--allow-url-fetch",
        "false"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "docling-rs": {
      "args": [
        "docling-rs-mcp==2.89.1",
        "--root",
        "<root>",
        "--allow-url-fetch",
        "false"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "docling-rs": {
      "args": [
        "docling-rs-mcp==2.89.1",
        "--root",
        "<root>",
        "--allow-url-fetch",
        "false"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.docling-rs]
command = "uvx"
args = ["docling-rs-mcp==2.89.1", "--root", "<root>", "--allow-url-fetch", "false"]

Docker

Requires Docker

Run in a terminal
claude mcp add docling-rs -- docker run -i --rm ghcr.io/docling-project/docling-rs:2.89.1 mcp --root /data
Add to claude_desktop_config.json
{
  "mcpServers": {
    "docling-rs": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/docling-project/docling-rs:2.89.1",
        "mcp",
        "--root",
        "/data"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "docling-rs": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/docling-project/docling-rs:2.89.1",
        "mcp",
        "--root",
        "/data"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "docling-rs": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/docling-project/docling-rs:2.89.1",
        "mcp",
        "--root",
        "/data"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.docling-rs]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/docling-project/docling-rs:2.89.1", "mcp", "--root", "/data"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json