MCP Document Reader logo

MCP Document Reader

Reads DOCX, PDF, TXT, and Excel files from the filesystem through one MCP tool.

Install MCP Document Reader

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-document-reader": {
      "command": "uvx",
      "args": [
        "mcp-documents-reader"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-documents-reader

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

MCP Document Reader MCP server exposes a unified `read_document` tool for extracting content from DOCX, PDF, TXT, and Excel files. It accepts an absolute or relative filesystem path, detects the file type, and routes it to the corresponding reader. Use it when an MCP-compatible assistant needs to inspect local documents without separate format-specific tools. Installation is available through PyPI or directly from the source repository.

Use cases

  • Read local PDFs for question answering
  • Extract text from DOCX files
  • Inspect Excel sheets and cell data
  • Load plain-text files into an agent workflow

Key features

  • Unified read_document MCP tool
  • DOCX text and structure extraction
  • PDF text extraction
  • Excel sheet and cell extraction
  • Plain-text file reading
  • Absolute and relative filesystem paths

Tools1

What MCP Document Reader lets your agent do. Expand a tool for its parameters.

Self-reported~18 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 77d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · mcp-documents-reader (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars23Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed1Callable tools this server registers over MCP.

How MCP Document Reader works

What MCP Document Reader MCP server does

MCP Document Reader MCP server lets an MCP-compatible AI assistant read files stored on the local filesystem. Its supported formats are DOCX, PDF, plain text, and Excel workbooks using the .xlsx or .xls extensions. The server presents these formats through one MCP tool rather than requiring a different call for each file type.

The returned result is extracted document content. DOCX files provide text and structure extraction, PDFs provide text extraction, text files are read as plain text, and Excel files provide sheet and cell data extraction. The tool accepts either an absolute path or a path relative to the process context.

How it works

An assistant calls read_document with a required filename string. MCP Document Reader MCP server identifies the file format from the supplied document, selects the matching reader, extracts its content, and returns that content to the assistant.

The implementation uses Python libraries for each supported format: python-docx for DOCX files, pypdf for PDFs, and openpyxl for Excel workbooks. Text files use plain text reading. This design is suited to workflows where an agent needs to summarize, inspect, or answer questions about files already available on the machine running the server.

Setup and configuration

Install the published package with:

Terminal
pip install mcp-documents-reader

The repository also supports installation from source with pip install -e . after cloning it. The README provides MCP configuration examples using uvx and the PyPI package, GitHub repository, or Gitee repository.

For Claude Desktop, add an MCP server entry that runs uvx mcp-documents-reader. The same configuration pattern is documented for Trae IDE. No environment variables are listed as required. Python 3.10 or newer is specified by the project metadata.

Tools and capabilities

The server exposes one tool:

  • read_document: Reads a supported document from a supplied filesystem path.

Supported input formats include:

  • Excel: .xlsx and .xls, with sheet and cell data extraction
  • DOCX: .docx, with text and structure extraction
  • PDF: .pdf, with text extraction
  • Text: .txt, with plain text reading

MCP Document Reader MCP server can also be used as a Python library through DocumentReaderFactory, which selects a reader for a supported filename and can test whether a format is supported. That library usage is separate from the MCP tool interface.

Limitations and notes

The documented interface exposes only file reading; it does not provide editing, conversion, writing, or document management operations. The documented PDF capability is text extraction, while spreadsheet support is described in terms of sheets and cells. The project is released under the MIT License.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Document Reader

MCP Document Reader is an MCP server that connects AI assistants to documents on the local filesystem. Its main tool, read_document, reads DOCX, PDF, TXT, and Excel files through one interface, detecting the file type and returning extracted text or spreadsheet sheet and cell data.

Install it from PyPI with `pip install mcp-documents-reader`, or clone the repository and run `pip install -e .`. The README also provides `uvx` configuration examples that fetch the package or source repository when the MCP client starts the server.

It supports DOCX, PDF, TXT, and Excel files. Excel support covers `.xlsx` and `.xls` files, DOCX uses `.docx`, PDFs use `.pdf`, and plain text uses `.txt`.

Yes. The README includes a Claude Desktop configuration using `uvx` to run `mcp-documents-reader`. After adding the MCP server entry, Claude Desktop can call `read_document` with an absolute or relative path to a supported local document.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Document Reader AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-document-reader?style=directory)](https://allmcps.com/mcp/mcp-document-reader)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-document-reader"><img src="https://allmcps.com/api/badge/mcp-document-reader?style=directory" alt="MCP Document Reader on AllMCPs" /></a>