Back to MCP directory
publicPublicdnsLocal runtime

unstructured-document-processor-mcp

一个提供非结构化文档处理能力的MCP服务器,支持多种文件格式,帮助LLM提取和使用文档内容。

article

README

🚀 无结构化文档处理功能的模型上下文协议(Model Context Protocol)服务器

本服务器提供无结构化文档处理功能,能让大型语言模型(LLMs)从无结构化文档中提取并使用内容。

⚠️ 重要提示

此仓库正在开发中,请谨慎使用 :)

🚀 快速开始

支持的文件类型

本服务器支持以下多种文件类型:

{".abw", ".bmp", ".csv", ".cwk", ".dbf", ".dif", ".doc", ".docm", ".docx", ".dot",
 ".dotm", ".eml", ".epub", ".et", ".eth", ".fods", ".gif", ".heic", ".htm", ".html",
 ".hwp", ".jpeg", ".jpg", ".md", ".mcw", ".mw", ".odt", ".org", ".p7s", ".pages",
 ".pbd", ".pdf", ".png", ".pot", ".potm", ".ppt", ".pptm", ".pptx", ".prn", ".rst",
 ".rtf", ".sdp", ".sgl", ".svg", ".sxg", ".tiff", ".txt", ".tsv", ".uof", ".uos1",
 ".uos2", ".web", ".webp", ".wk2", ".xls", ".xlsb", ".xlsm", ".xlsx", ".xlw", ".xml",
 ".zabw"}

先决条件

你需要准备以下内容:

将此MCP添加到Claude Desktop的步骤

  1. 克隆仓库并设置UV环境。
  2. 在根目录下创建一个.env文件,并在其中添加以下环境变量:UNSTRUCTURED_API_KEY
  3. 运行MCP服务器:uv run doc_processor.py
  4. 转到~/Library/Application Support/Claude/并创建一个claude_desktop_config.json文件。在该文件中添加以下内容:
{
    "mcpServers": {
        "unstructured_doc_processor": {
            "command": "YOUR UV PATH",
            "args": [
                "--directory",
                "ABSOLUTE PATH TO YOUR unstructured-mcp/",
                "run",
                "doc_processor.py"
            ],
            "disabled": false
        }
    }
}
  1. 重启Claude Desktop。你现在应该可以使用此MCP了。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client