Metadata-Version: 2.4
Name: any2llm
Version: 0.3.0
Summary: Pack PDFs, Office files, EPUBs, and code into AI-ready Markdown with PDF page numbers, for chats, pipes, and MCP apps
Author: Ahmet Emre Apo
License-Expression: MIT
Project-URL: Repository, https://github.com/ahmetemreapo/any2llm
Project-URL: Documentation, https://github.com/ahmetemreapo/any2llm/blob/main/docs/SPEC.md
Project-URL: Issues, https://github.com/ahmetemreapo/any2llm/issues
Project-URL: Releases, https://github.com/ahmetemreapo/any2llm/releases
Keywords: pdf,docx,pptx,xlsx,epub,markdown,llm,mcp,mcp-server,ocr,document-processing,cli
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Text Processing :: Markup :: Markdown
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pypdf
Requires-Dist: python-docx>=1.1
Requires-Dist: python-pptx
Requires-Dist: openpyxl
Requires-Dist: defusedxml>=0.7.1
Requires-Dist: Pillow>=13.0.0
Requires-Dist: tiktoken
Requires-Dist: questionary>=2.1
Requires-Dist: rich
Requires-Dist: pyperclip
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Dynamic: license-file

# any2llm

**Ask AI about your documents, then check its PDF citations on the original pages.**

any2llm turns a folder of PDF, Word, PowerPoint, Excel, EPUB, HTML, text, and code files into numbered Markdown attachments and a ready-to-paste chat prompt. It keeps physical PDF page numbers and flags pages with missing or partial text so you can check the original.

- Run `uvx any2llm ./documents` to try it without a permanent install.
- Pipe one pack into other tools with `any2llm ./documents --stdout | llm "List every deadline"`.
- Connect Claude, Cursor, and other MCP apps with `any2llm mcp ~/Documents`, a local read-only MCP server.
- Set a token budget per batch and use the generated prompt to guide the chat through multiple attachments.
- Extract text on your computer. Optional OCR for PDF pages without usable text uses Poppler and Tesseract.
- Choose from 11 languages for terminal output and chat prompts.

Requires Python 3.11 or newer. Find examples, usage instructions, and extraction limits in the [GitHub repository](https://github.com/ahmetemreapo/any2llm).

<!-- mcp-name: io.github.ahmetemreapo/any2llm -->
