Skip to content
Grok

Docling MCP for Grok

io.github.docling-project/docling-mcp

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

client:Grok transport:stdio runtime:pypi

Install Docling MCP in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "docling-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "docling-mcp"
      ],
      "env": {
        "DOCLING_MCP_CONVERSION_MODE": "<DOCLING_MCP_CONVERSION_MODE>",
        "DOCLING_MCP_SERVICE_URL": "<DOCLING_MCP_SERVICE_URL>",
        "DOCLING_MCP_SERVICE_API_KEY": "<DOCLING_MCP_SERVICE_API_KEY>",
        "DOCLING_MCP_SERVICE_TIMEOUT": "<DOCLING_MCP_SERVICE_TIMEOUT>",
        "DOCLING_MCP_SERVICE_MAX_RETRIES": "<DOCLING_MCP_SERVICE_MAX_RETRIES>",
        "DOCLING_MCP_FALLBACK_TO_LOCAL": "<DOCLING_MCP_FALLBACK_TO_LOCAL>",
        "DOCLING_MCP_KEEP_IMAGES": "<DOCLING_MCP_KEEP_IMAGES>",
        "DOCLING_MCP_IMAGES_SCALE": "<DOCLING_MCP_IMAGES_SCALE>",
        "DOCLING_MCP_DO_OCR": "<DOCLING_MCP_DO_OCR>",
        "DOCLING_MCP_DO_TABLE_STRUCTURE": "<DOCLING_MCP_DO_TABLE_STRUCTURE>",
        "DOCLING_MCP_IMAGE_EXPORT_MODE": "<DOCLING_MCP_IMAGE_EXPORT_MODE>",
        "DOCLING_MCP_CACHE_MAX_DOCUMENTS": "<DOCLING_MCP_CACHE_MAX_DOCUMENTS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Docling MCP in other clients