A lightweight, local document-reading tool for Claude Code.
Miryo Document Reader is an open-source utility developed as part of the MiryoLove project. It allows Claude Code to extract and read text from supported document formats using a local Python script.
The tool processes documents locally and does not intentionally modify original source files.
- Local processing — document extraction runs locally.
- Multiple formats — support for common text and office document formats.
- Text extraction — extraction of text and paragraphs.
- Table extraction — extraction of document tables.
- Spreadsheet support — extraction of worksheet content.
- PDF support — extraction of text from PDFs containing extractable text.
- Simple CLI — read documents directly from the terminal.
- Non-destructive — original source files are not intentionally modified.
| Format | Extension | Support |
|---|---|---|
| Plain Text | .txt |
Supported |
| Microsoft Word | .docx |
Supported |
| Microsoft Excel | .xlsx |
Supported |
| Microsoft Excel 97–2003 | .xls |
Supported |
.pdf |
Text extraction only |
- Scanned PDFs are not currently supported.
- Image-based text extraction (OCR) is not implemented.
- PDF documents must contain extractable text.
- Python 3
- Dependencies listed in
requirements.txt
Install the required packages:
sudo pacman -S python python-docx python-openpyxl python-xlrd python-pypdf
pip install -r requirements.txt
python scripts/miryo_read_file.py "/path/to/document.docx"
python scripts/miryo_read_file.py "./document.txt"
python scripts/miryo_read_file.py "./document.docx"
python scripts/miryo_read_file.py "./spreadsheet.xlsx"
python scripts/miryo_read_file.py "./document.pdf"
Replace the example paths with the locations of your documents.
Miryo Document Reader is designed for local document processing. The extraction script does not intentionally modify original source documents.
Miryo Document Reader is part of MiryoLove, an independent project focused on freedom through technology, open-source software and accessible tools.
Website: https://miryolove.org
Freedom through technology. ❤️
Copyright © 2026 Bogdan Melnikov.
Miryo Document Reader is an original project developed by Bogdan Melnikov as part of MiryoLove.
All original source code, project architecture, documentation, design and other original materials are protected by applicable copyright laws.
Third-party libraries, dependencies and external materials remain the property of their respective authors and are distributed under their respective licenses.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
See the LICENSE file for the full license text.