Repository navigation
Releases
Releases · ahmetemreapo/any2llm
any2llm v0.3.0: MCP server, pipes, EPUB and HTML
What's new
- MCP server.
any2llm mcp ~/Documentslets Claude, Cursor, and other MCP apps read your local PDF, Office, EPUB, and code files, with PDF page numbers for citations. It's read-only and stays inside the folder you pass. Claude Code:claude mcp add any2llm -- uvx any2llm mcp ~/Documents - Pipes.
any2llm ./docs --stdout | claude -p "Which contract renews automatically?"prints one unsplit pack to standard output. Progress and warnings go to standard error. - EPUB and HTML. Books are read in reading order, and DRM-protected books are skipped. Saved web pages become readable text with headings, lists, and tables. HTML templates stay as source code.
- Try without installing:
uvx any2llm ./documents
v0.2.0
What changed
- The English and Turkish READMEs now lead with examples you can try without installing. The delivery dates example shows how to check a chat citation against the original PDF page.
- Run
any2llm demo --lang en --no-openorany2llm demo --lang tr --no-opento pack four bundled research methods documents into one Markdown attachment and generate a chat prompt. - Install with
pipx install any2llmon Python 3.11 or newer. The wheel and source distribution are available on PyPI. See the installation guide for source installation.
Known limits
- Extraction can lose layout, charts, and images. PDF pages with missing or partial text are flagged. OCR for PDF pages without usable text requires Poppler and Tesseract.
- Multi-batch prompts ask the chat model to wait between batches. Model responses can vary. If the chat stalls, resend your last message and name the next attachment. Check important citations against the original PDF.
any2llm v0.1.0
any2llm v0.1.0
Turn a folder of PDFs, Word documents, slides, spreadsheets, text, and code into Markdown attachments for an AI chat. Select the files you want to share, attach the generated batches, and paste the instructions from PROMPT.txt or your clipboard.
- Run the interactive selection menu or use -y to select files that pass the scan filters. The terminal and generated prompts support 11 languages.
- Keep physical PDF page numbers and use optional local OCR with Poppler and Tesseract for scanned pages. The terminal reports pages with missing or partial text.
- Extract only selected files, with limits on source size, PDF page count, Office archive expansion, and extraction time. Excel parsing uses defusedxml.
- Get local warnings for common credential formats in extracted text. Warnings identify the filename and finding type. The generated text remains available for review before upload.
- Use an isolated clipboard helper with a saved prompt as a fallback. PDF tools are resolved from absolute PATH entries outside the working directory.
Install with Python 3.11 or newer. The README includes quick installation commands and a three-file example.