Skip to main content
Glama

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

Format

Extensions

Read

Visual

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

—

✅

Related MCP server: MCP PDF Reader

Tools

Tool

Description

list_documents

List files under a directory, filtered by glob pattern

document_info

Get metadata (size, modified date, sheets) for a file

read_document

Extract text content from a document with pagination

visual_evaluate_document

Return page images inline so the AI can analyze charts, tables, and diagrams

Installation

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

From PyPI

pip install docalyze-mcp-server

From npm

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):

{
  "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:

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

Optional Dependencies

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

# Word documents
pip install docalyze-mcp-server[docx]

# PowerPoint
pip install docalyze-mcp-server[pptx]

# OCR (requires Tesseract installed on your system)
pip install docalyze-mcp-server[ocr]

# Everything
pip install docalyze-mcp-server[all]

Configuration

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

{
  "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

Available Tools

4 tools
document_infoB

Return metadata about a specific document.

Inputs: file_path (required). Returns: result

list_documentsC

List documents under the configured root directory.

Inputs: root, pattern, limit. Returns: result

read_documentC

Read a portion of a document (PDF, Excel, CSV, JSON, TXT, DOCX).

IMPORTANT: When presenting results to users, ALWAYS mention:

  • The folder/directory path (e.g., 'Well 1/Well Test/')

  • The complete document name This helps users understand which well and document type is being referenced.

Inputs: file_path (required), max_chars, page, max_pages, +4 more. Returns: result

visual_evaluate_documentA

Extract visual content from a document (PDF pages or images) and return it as inline images so the host AI can analyse charts, tables, and diagrams directly. Optionally run local Tesseract OCR as well.

Returns a list of content blocks (text and/or base64 images) that the calling AI model can interpret.

Inputs: file_path (required), enable_ocr, page, max_pages, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct purpose: metadata retrieval, listing, text reading, and visual analysis. No two tools overlap in functionality.

    Naming Consistency4/5

    All tools use snake_case and end with 'document' or 'documents', but 'document_info' is a noun-noun pattern while others are verb-noun, causing minor inconsistency.

    Tool Count5/5

    Four tools is a reasonable scope for a document analysis server, covering essential read operations without being excessive.

    Completeness4/5

    The tools cover metadata, listing, text reading, and visual analysis. However, folder navigation or search is missing, which may be needed given the mention of directory structure.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI assistants to perform semantic searches over local document collections using multi-context organization and automatic OCR. It supports various file formats including PDF, DOCX, and images, ensuring all data processing remains local and private.
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI assistants to read, search, and analyze PDF files from local paths or URLs. It provides tools for extracting specific page ranges, searching for terms, and retrieving document metadata.
      4
      43 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A local MCP server that extracts text-layer content from PDF files, enabling AI agents to inspect, extract text, outlines, and page content.
      -