unstructured-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@unstructured-mcp-server Parse /Users/me/Downloads/report.pdf and extract its text"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
unstructured-mcp-server
FastMCP server for Unstructured.io document parsing.
Overview
This MCP server provides tools for parsing documents (PDF, DOCX, TXT, logs, etc.) using Unstructured.io API. It connects Claude to document parsing capabilities via the Model Context Protocol.
Related MCP server: mcp-upstage
Prerequisites
Python >= 3.10
Unstructured API container running on localhost:9104
Start the Unstructured API
docker run -d --name unstructured-api -p 9104:8000 \
quay.io/unstructured-io/unstructured-api:latestOr using docker-compose (recommended):
cd brainery-containers
docker-compose up -d unstructured-apiInstallation
Via Smithery (Recommended)
npx -y @smithery/cli install @tapiocapioca/unstructured-mcp-server --client claudeThis will:
Install the package
Configure Claude Desktop automatically
Set up the MCP server
Via pip (Manual)
pip install unstructured-mcp-serverOr with uv:
uv pip install unstructured-mcp-serverThen add to your MCP settings:
{
"mcpServers": {
"unstructured": {
"command": "unstructured-mcp",
"env": {
"UNSTRUCTURED_API_URL": "http://localhost:9104"
}
}
}
}Usage
As MCP Server
unstructured-mcpConfiguration
Set environment variables (optional):
export UNSTRUCTURED_API_URL=http://localhost:9104Tools
Tool | Description |
| Parse a single document (PDF, DOCX, TXT, logs) and extract text |
| Parse multiple documents in batch |
parse_document
parse_document(file_path: str, strategy: str = "auto")Parameters:
file_path: Absolute path to file on host machinestrategy: Parsing strategy -auto,fast,hi_res, orocr_only(default:auto)
Returns:
text: Extracted text contentelements_count: Number of document elementsfile_type: Detected file typeprocessing_time_ms: Processing time in milliseconds
parse_batch
parse_batch(file_paths: list[str])Parameters:
file_paths: Array of absolute paths to files
Returns:
List of results, one per file (success or error)
Supported File Types
Documents (via Unstructured API):
PDF, DOCX, PPTX, XLSX, ODT, RTF, EPUB
Text Files (direct read):
.txt,.log,.md,.csv,.json,.yaml,.yml.py,.js,.ts,.java,.c,.cpp,.sh,.bash.conf,.cfg,.ini,.properties,.env,.sql.xml,.html,.css,.gitignore,.htaccess
License
MIT
Available Tools
2 toolsparse_batchParse BatchC
Parse multiple documents in batch.
Inputs: file_paths (required). Returns: result
parse_documentParse DocumentB
Parse a local document and extract text.
Supports PDF, DOCX, PPTX, XLSX, and text-based files (.txt, .log, .py, etc).
Inputs: file_path (required), strategy. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools target clearly distinct scopes: single-document parsing versus multi-document batch parsing. There is no realistic risk of an agent confusing parse_document with parse_batch.
Both names follow a consistent verb_prefix pattern (parse_*), which is predictable and readable. parse_batch slightly omits the noun (documents) making it marginally less self-describing than parse_document.
Two tools is thin for a document-processing server, though the single/batch pairing is a sensible minimal split. It borders on under-scoped given the variety of formats claimed (PDF, DOCX, PPTX, XLSX, text).
Core extraction is covered, but there are notable gaps: no way to discover supported formats or inspect file metadata, and no option for structured/element-level output or chunking. Agents can work around these, but the lifecycle ends at 'text out' with no follow-up operations.
Maintenance
Related MCP Connectors
Convert PDF, Word, Excel and scanned documents to Markdown, tables and RAG chunks. OCR.
Document conversion and OCR for AI agents: PDF, Office docs, images to text.
Parse, extract, split, and ask over digital PDFs (text layer, no OCR) from Cursor and Claude.
Turn documents into structured, AI-ready data by parsing, enriching, chunking, and embedding.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to search and query personal document collections (PDF, Word, Markdown, text) using semantic search and conversational AI with full context preservation across exchanges.MIT

mcp-upstageofficial
AlicenseBqualityBmaintenanceEnables AI assistants to extract and structure content from documents (PDFs, images, Office files) via Upstage AI's APIs, with seamless Claude Desktop integration.213MIT
flexorch-mcpofficial
AlicenseAqualityCmaintenanceEnables Claude and other MCP-compatible agents to process documents, extract structured data, detect PII, and export LLM-ready datasets through natural language tool calls.825 PyPI1MIT- FlicenseAqualityDmaintenanceEnables LLM hosts like Claude Code or Codex CLI to inspect folder structures and read unstructured documents (PDF, PPTX, DOCX, SVG, and images) by returning raw text and images for the host to summarize or analyze.2-