thinkpdf
v1.0.7
Published
NPM wrapper for thinkpdf - The PDF to Markdown converter for LLMs
Maintainers
Readme
thinkpdf
Note: This is a Node.js wrapper for the Python
thinkpdfpackage. Requires Python 3.10+.
Extract text, tables, and structure from PDFs. Built for RAG pipelines, AI training, and LLM context.
Read directly into memory or save as Markdown.
Install
npx thinkpdf
npm i thinkpdf
npm i -g thinkpdfQuick Start
thinkpdf document.pdf # outputs document.md
thinkpdf document.pdf -o output.md # custom output
thinkpdf folder/ --batch # convert all PDFsMCP Server
Add to your MCP config:
{
"mcpServers": {
"thinkpdf": {
"command": "python",
"args": ["-m", "thinkpdf.mcp_server"]
}
}
}| Tool | Description |
|------|-------------|
| read_pdf | Read PDF content into context |
| convert_pdf | Convert and save to file |
| get_document_info | Get PDF metadata |
License
AGPL-3.0
