Overview
The Model Context Protocol (MCP) is a standard for connecting AI applications to external tools. Docling’s MCP server allows AI agents to:- Process documents on-demand through a standard protocol
- Extract text, tables, and structure from various document formats
- Integrate document understanding into autonomous agent workflows
- Work with any MCP-compatible client or framework
Installation
The Docling MCP server can be installed usinguvx:
Quick Start
Configuration
Add Docling MCP to your MCP client configuration:Claude Desktop Integration
For Claude Desktop, edit yourclaude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
LM Studio Integration
For LM Studio, edit themcp.json file or click the button below:
Supported Clients
Claude Desktop
Anthropic’s desktop AI assistant
LM Studio
Local LLM development environment
LlamaIndex
Data framework for LLM applications
Pydantic AI
Type-safe AI agent framework
Framework Integration
Docling MCP provides specialized tools for various frameworks:LlamaIndex Agents
Pydantic AI Agents
Llama Stack
smolagents
Features
Standard Protocol
Implements MCP standard for broad compatibility
Framework Support
Works with LlamaIndex, Pydantic AI, and more
Document Processing
Full Docling capabilities via agent tools
Easy Setup
Simple configuration for any MCP client
Use Cases
Conversational Document Analysis
Enable AI assistants to read and analyze documents in conversations
Example Agent Workflow
Advanced Configuration
Customize the MCP server configuration:Resources
GitHub
Docling MCP repository
MCP Protocol
Model Context Protocol docs
Examples
Framework examples
Configuration
Example configurations
Supported Frameworks
Docling MCP includes examples for:- LlamaIndex - Data framework for LLM applications
- Llama Stack - Comprehensive LLM development stack
- Pydantic AI - Type-safe agent development
- smolagents - Lightweight agent framework by Hugging Face
Next Steps
- Explore MCP protocol documentation
- Check out framework examples
- Learn about document processing options
- Build your first agentic application