Docalyze

io.github.LunarPerovskite由 GitHub 账号 LunarPerovskite 发布v0.2.1更新于 Oct 24, 2026

Read and analyze local documents (PDF, Excel, CSV, Word, PowerPoint, images). No API keys needed.

已验证STDIO仅桌面文件与存储数据与分析

概览

AI 生成的概览

本地 MCP 服务器,让 AI 助手列出、读取并可视化分析本机文档,支持 PDF、Excel、CSV、Word、PowerPoint 和图片。

可以做什么
  • 按 glob 模式列出目录下的文件
  • 查看文件元数据,如大小、修改日期和工作表名称
  • 分页提取文档中的文本内容
  • 以内联图片形式返回页面,供助手分析图表、表格和示意图
  • 支持 PDF、Excel、CSV/TSV、JSON、Word、PowerPoint、纯文本及常见图片格式
适用场景
适合让助手处理本地的报告、表格、演示文稿或扫描页面,无需上传到文档服务,也不需要任何 API 密钥。
运行要求
以本地 stdio 进程运行;可从 PyPI 用 pip 安装,或用 npx 运行(需要已安装 uv 或 pipx)。Word、PowerPoint 和 OCR 为可选附加组件,OCR 还需系统安装 Tesseract。环境变量 DOCUMENTS_ROOT 指定读取目录,未设置时默认为服务器脚本所在目录。
安装前请注意
它会读取所配置根目录下的文件,请将 DOCUMENTS_ROOT 指向你愿意让助手访问的文件夹。页面图片和提取的文本会传给宿主 AI 模型,文档内容会随对话离开本机。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Docalyze,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Docalyze Logo]

Docalyze MCP Server

An MCP (Model Context Protocol) server that lets AI assistants read and visually analyze local documents — PDFs, Excel spreadsheets, CSV files, Word documents, PowerPoint presentations, and images.

No API keys required. The host AI (GitHub Copilot, Claude, etc.) does all the reasoning directly.

Supported Formats

FormatExtensionsReadVisual
PDF.pdf✅✅
Excel.xlsx, .xls✅✅
CSV / TSV.csv, .tsv✅—
JSON.json✅—
Word.docx✅✅
PowerPoint.pptx✅✅
Plain text.txt, .md✅—
Images.png, .jpg, .jpeg, .gif, .bmp, .tiff, .webp—✅

Tools

ToolDescription
list_documentsList files under a directory, filtered by glob pattern
document_infoGet metadata (size, modified date, sheets) for a file
read_documentExtract text content from a document with pagination
visual_evaluate_documentReturn page images inline so the AI can analyze charts, tables, and diagrams

Installation

From VS Code (recommended)

Search for docalyze in the MCP server gallery (Extensions sidebar → MCP tab) and click Install.

From PyPI

bash
pip install docalyze-mcp-server

From npm

bash
npx docalyze-mcp-server

This requires uv or pipx installed — the npm wrapper calls uvx to run the Python package automatically.

Manual setup

Add to your VS Code mcp.json (or settings.json):

jsonc
{  "servers": {    "docalyze": {      "type": "stdio",      "command": "python",      "args": ["-m", "docalyze_mcp_server"],      "env": {        "PYTHONIOENCODING": "utf-8"      }    }  }}

Or, if you installed via pip and want to use the entry point:

jsonc
{  "servers": {    "docalyze": {      "type": "stdio",      "command": "docalyze-mcp-server"    }  }}

Optional Dependencies

The base install handles PDF, Excel, CSV, JSON, and plain text. For additional formats:

bash
# Word documentspip install docalyze-mcp-server[docx]
# PowerPointpip install docalyze-mcp-server[pptx]
# OCR (requires Tesseract installed on your system)pip install docalyze-mcp-server[ocr]
# Everythingpip install docalyze-mcp-server[all]

Configuration

The server reads documents from a configurable root directory. Set the DOCUMENTS_ROOT environment variable to change it:

jsonc
{  "servers": {    "docalyze": {      "type": "stdio",      "command": "docalyze-mcp-server",      "env": {        "DOCUMENTS_ROOT": "/path/to/your/documents"      }    }  }}

If not set, it defaults to the directory containing the server script.

License

MIT

来源:README.md,提交 ec8e470

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分