Docling by pagespool
Hosted Docling: convert PDF, Office files and images to Markdown and JSON, with OCR and tables.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"docling": {
"url": "https://api.pagespool.com/mcp/docling/"
}
}
}Remote endpoints
https://api.pagespool.com/mcp/docling/streamable-httpWhat it can do
Tool inventory
Tools (2)
🟢convert_document(filename, content_base64, file, force_ocr, page_range)
Convert a document up to 25 MB and 200 pages to Markdown with Docling: OCR, tables, headings and reading order. Pass the file as base64 in `content_base64`, or as a download link in `file`, and its name in `filename`. Returns `task_id` and `task_status`. Call `get_conversion` with the `task_id` until `task_status` is `success` or `failure`; a long PDF can take several minutes. Costs 1 credit per PDF page converted (2 with `force_ocr`) and 10 credits per other file, refunded if the conversion fails. Requires an API key. The file is deleted when the conversion ends; the result is kept for 7 days.
Input Schema
{
"type": "object",
"properties": {
"filename": {
"description": "The file name with its extension, such as report.pdf. Docling reads PDF, Word, PowerPoint, Excel, HTML, Markdown, CSV and images.",
"type": "string"
},
"content_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The file content, base64-encoded. Up to 25 MB before encoding."
},
"file": {
"properties": {
"download_url": {
"description": "A public https URL of the file.",
"type": "string"
},
"file_id": {
"description": "An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.",
"type": "string"
},
"mime_type": {
"type": "string"
},
"file_name": {
"type": "string"
}
},
"required": [
"download_url",
"file_id"
],
"type": "object",
"default": null,
"description": "The file as a download link, instead of `content_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL."
},
"force_ocr": {
"default": false,
"description": "Replace a PDF's text layer with OCR text. Doubles the price of a PDF.",
"type": "boolean"
},
"page_range": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional. [first, last] pages to convert, 1-based."
}
},
"required": [
"filename"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"additionalProperties": true
}🟢get_conversion(task_id)
Check a conversion you started with `convert_document`. Returns `task_id` and `task_status` (`pending`, `started`, `success` or `failure`). On `success` it includes the `markdown` when it is under 100 KB, otherwise a `result_url` to download the full result with your API key (free). On `failure` it includes `error`, one sentence with the reason. Results are deleted 7 days after submission. Requires an API key. Credits: free. This tool is not metered.
Input Schema
{
"type": "object",
"properties": {
"task_id": {
"description": "The task_id returned by convert_document.",
"type": "string"
}
},
"required": [
"task_id"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"additionalProperties": true
}Community
Evidence