A powerful DOC/DOCX image extractor with MCP protocol support for Claude Desktop integration
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"docx-image-extractor-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# DOC/DOCX Image Extractor MCP 一个功能强大的DOC/DOCX文档图片提取工具,支持MCP协议、命令行和Python API。具备智能图片格式检测、中文文档名转拼音、可配置选项等高级功能。 ## ✨ 功能特性 - 🖼️ **智能图片提取**: 从DOC/DOCX文档中提取所有图片,支持多种格式 - 📄 **双格式支持**: 同时支持传统DOC格式和现代DOCX格式 - 🔍 **格式自动检测**: 根据文件头自动识别图片格式(PNG、JPEG、GIF等) - 🔤 **中文支持**: 中文文档名自动转换为拼音目录名 - 📁 **智能目录管理**: 自动创建规范的目录结构 - 🔧 **MCP协议支持**: 与Claude Desktop等AI工具无缝集成 - ⚙️ **灵活配置**: 支持JSON配置文件,可自定义各种参数 - 🐍 **多种接口**: 提供Python API、命令行工具和MCP服务 - 📊 **详细预览**: 支持DOC/DOCX文档结构预览 - 🚀 **高性能**: 优化的处理流程,支持大文件处理 - 📝 **完整日志**: 详细的日志记录和错误处理 ## 🚀 快速开始 ### 安装 #### 方法 1: 从 PyPI 安装(推荐) ```bash pip install docx-image-extractor-mcp ``` #### 方法 2: 从源码安装 ```bash git clone https://github.com/docx-image-extractor/docx-image-extractor-mcp.git cd docx-image-extractor-mcp pip install -e . ``` #### 验证安装 ```bash # 检查命令行工具 docx-image-extractor-mcp --help docx-extract --help # 检查Python模块 python -c "import docx_image_extractor_mcp; print('安装成功!')" ``` ### 基本使用 ```bash # 命令行提取图片 docx-extract extract document.docx docx-extract extract document.doc # 预览文档结构 docx-extract preview document.docx docx-extract preview document.doc # 转换文件名为ASCII docx-extract convert "测试文档.docx" ``` ## 📖 使用方法 ### 1. 命令行工具 ```bash # 提取单个文件的图片 docx-extract extract document.docx docx-extract extract document.doc # 提取多个文件到指定目录 docx-extract extract -o images/ doc1.docx doc2.doc # 预览文档结构 docx-extract preview document.docx docx-extract preview document.doc # 转换文件名为ASCII docx-extract convert "测试文档.docx" "另一个文档.doc" # 显示配置 docx-extract config show # 创建配置文件 docx-extract config create -o my-config.json ``` ### 2. Python API ```python from docx_image_extractor_mcp import extract_images, Config # 基本使用 - 支持 DOC 和 DOCX result = extract_images("document.docx") print(f"提取了 {result['count']} 张图片到: {result['output_dir']}") result = extract_images("document.doc") print(f"提取了 {result['count']} 张图片到: {result['output_dir']}") # 使用自定义配置…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.