DocReaderMCP Server
Click on "Install 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: MCP Document Parse Tool
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/prafulsapkota/MCP-doc_reader'
If you have feedback or need assistance with the MCP directory API, please join our Discord server