
MCP Document Reader
io.github.xt765Published by GitHub account xt765v1.3.1Updated Oct 24, 2026
An MCP enabled multi-format document reader supporting DOCX, PDF, TXT, and Excel files
Overview
Local MCP server that lets an assistant read DOCX, PDF, XLSX/XLS and TXT files from the file system and return their text content.
- What you can do
- Read a document by path with a single unified tool, read_document
- Extract text and structure from DOCX files
- Extract text from PDF files
- Extract sheet and cell data from Excel workbooks
- Read plain text files
- When to use it
- Useful when an assistant needs to pull the contents of local Word, PDF, Excel or text documents into a conversation, for example to summarize, search or answer questions about them.
- Requirements
- Runs as a local stdio process on the user's machine (desktop only). Install the Python package mcp-documents-reader, typically launched with uvx or pip; it depends on the mcp, python-docx, pypdf and openpyxl libraries. No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open MCP Document Reader in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
MCP Document Reader
MCP (Model Context Protocol) Document Reader - A powerful MCP tool for reading documents in multiple formats, enabling AI agents to truly "read" your documents.
[License] [Python] [PyPI Version] [PyPI Downloads] [MCP Registry] [MCP Marketplace]
Features
- Multi-format Support: Supports 4 mainstream document formats: Excel (XLSX/XLS), DOCX, PDF, and TXT
- MCP Protocol: Compliant with MCP standards, can be used as a tool for AI assistants like Trae IDE
- Easy Integration: Simple configuration for immediate use
- Reliable Performance: Successfully tested and running in Trae IDE
- File System Support: Reads documents directly from the file system
📚 Documentation
User Guide · API Reference · Contributing · Changelog · License
Architecture
Supported Formats
Installation
Using pip (Recommended)
From Source
MCP Tools
This server provides the following tool:
read_document
Read any supported document type with a unified interface.
Arguments:
filename(string, required): Document file path, supports absolute or relative paths.
Configuration
Using in Trae IDE / Claude Desktop
Add the following to your MCP configuration file:
Option 1: Using PyPI (Recommended)
Option 2: Using GitHub repository
Option 3: Using Gitee repository (Faster access in China)
Usage
As an MCP Tool
After configuration, AI assistants can directly call the following tool:
As a Python Library
Tool Interface Details
read_document
Read any supported document type.
Parameters:
Dependencies
Core Dependencies
mcp>= 1.26.0 - MCP protocol implementationpython-docx>= 1.2.0 - DOCX file readingpypdf>= 6.8.0 - PDF file reading (replaces PyPDF2)openpyxl>= 3.1.5 - Excel file reading
Development Dependencies
pytest>= 8.0.0 - Testing frameworkpytest-asyncio>= 0.24.0 - Async testing supportpytest-cov>= 6.0.0 - Coverage reportingbasedpyright>= 0.28.0 - Type checkingruff>= 0.8.0 - Linting and formatting
License
MIT License
Contributing
Issues and Pull Requests are welcome!
Related Projects
- MCP Document Converter - MCP document converter supporting multiple format conversions
- Model Context Protocol - Official Model Context Protocol documentation
Source: README.md at commit 5785cf7
Tools
0Version history
1- v1.3.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
