返回市场
非结构化-MCP

非结构化-MCP

作者:MKhalusova6 星标更新:2025-03-21

项目介绍

【技术文档摘要】: 这是一个提供非结构化文档处理能力的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": "PATH/TO/YOUR/UV",
            "args": [
                "--directory",
                "ABSOLUTE/PATH/TO/YOUR/unstructured-mcp/",
                "run",
                "doc_processor.py"
            ],
            "disabled": false
        }
    }
}
  1. 重启Claude Desktop。你现在应该能够使用这个MCP了。