DocReaderMCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DocReaderMCP Serverread the executive summary.pdf pages 1-2"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DocReaderMCP Server
A FastMCP server designed to read and stream various file formats commonly used in organizations (PDF, DOCX, Excel XLSX, CSV, TSV, TXT). It outputs formatted Markdown and supports both segment/page limits and item streaming.
Features
Document Formats Supported:
PDF: Pages parsed and converted to text.DOCX: Paragraphs segmented into logical page blocks.Excel (XLSX/XLS): Targeted sheet names or first sheet parsed.CSV & TSV: Tables outputted in Markdown format.TXT: Plain text paginated into logical blocks.
Reading Options:
Optional
page_rangeparameter (e.g.1-3,2) to select specific pages.Optional
sheet_nameparameter for Excel files.
Streaming Options:
Text-Style Documents (PDF, DOCX, TXT): Streamed sentence-by-sentence.
Tabular Documents (Excel, CSV, TSV): Streamed row-by-row as Markdown table rows.
Docker Ready: Built with
python:3.13.3-slim.
Related MCP server: md-converter-mcp
Tools Reference
Tool Name | Parameters | Description |
|
| Read PDF file pages |
|
| Stream PDF sentences |
|
| Read DOCX paragraphs by page |
|
| Stream DOCX sentences |
|
| Read sheet to Markdown table |
|
| Stream sheet row-by-row |
|
| Read CSV to Markdown table |
|
| Stream CSV row-by-row |
|
| Read TSV to Markdown table |
|
| Stream TSV row-by-row |
|
| Read TXT by page |
|
| Stream TXT sentences |
Installation & Setup
Local Run (Venv / System Python)
Install dependencies:
pip install -r requirements.txtStart the server in standard mode:
python main.py runOr in development mode:
python main.py dev
Running with Docker
Build and start the container:
docker compose up --buildBy default, the container mounts a local
./datadirectory to/datain the container. Put your organizational documents in./datato read them via the container.
This server cannot be deployed
Maintenance
Related MCP Connectors
Parse PDF/Word/PPT/HTML to Markdown; tables as JSON, image extraction, RAG chunking, page ranges.
Convert PDF, Word, PowerPoint, Excel, HTML and EPUB to Markdown, with OCR and RAG chunking
Convert documents and web pages to clean Markdown: PDF, DOCX, XLSX, EPUB, scanned files, any URL.
Convert PDF, DOCX, HTML, and URLs to clean, LLM-ready markdown with tables preserved
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables parsing and extraction of content from various document formats (PDF, Word, Excel, PowerPoint) into Markdown format using the Niutrans document API.15MIT
- FlicenseAqualityDmaintenanceConverts files (PDF, DOCX, PPTX, XLSX, images via OCR) and URLs to Markdown, enabling AI clients to read them via a single MCP tool.1-
- AlicenseNot gradedqualityAmaintenanceConverts documents (PDF, DOCX, XLSX, EPUB, etc.) to clean, structured Markdown, and retrieves document info, for use with AI agents.MIT
- AlicenseNot gradedqualityCmaintenanceConverts PDFs, Office files, spreadsheets, emails, audio, and more to Markdown locally, enabling AI assistants to read and process them without cloud upload.MIT