PDF To Text
by github.com/Jim-Panse · v0.7.0 · updated Oct 15, 2026
Extracts PDF text locally, with macOS PDFKit and Vision OCR fallbacks and optional AI retry.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @jim-panse/[email protected]Environment variables
PDF_TO_TEXT_MCP_ROOTrequiredRequired existing directory that defines the root-relative filesystem namespace for PDF input and derived text output.
OPENAI_API_KEYsecretOptional secret. Enables one AI extraction retry when local extraction is inadequate; omit for local-only operation.
OPENAI_MODELOptional OpenAI model used only for AI retry. Defaults to gpt-5.4-mini.
AI_MAX_OUTPUT_TOKENSOptional cap for all AI-generated output tokens, including non-visible reasoning tokens. Integer minimum 800; defaults to 32000.
MAX_PARALLEL_EXTRACTIONSInteger concurrency limit from 1 to 32. Defaults to min(os.availableParallelism(), 4).
EXTRACTION_QUEUE_CAPACITYInteger maximum waiting requests from 0 to 100; zero disables waiting.
EXTRACTION_QUEUE_WAIT_MSMaximum queue wait in milliseconds, integer 1 through 2147483647. Does not limit active work.
WRITE_TEXTOptionally save successful extraction text beside the source PDF.
More from github.com/Jim-Panse
More MCP servers
Trello MCP Server
github.com/Jimdrews
Manage Trello boards, lists, and cards from any MCP-compatible AI assistant
Doubao Remote
github.com/JimmyWangJimmy
Drive your LOCAL Doubao (豆包) desktop app on macOS & Windows from any agent.
Gemini Image
github.com/JimothySnicket
Google Gemini image generation, editing, and local processing via MCP
SooTool
github.com/JinHo-von-Choi
Deterministic Decimal calculation MCP server: Korean tax, finance, accounting, statistics
CyberHuaTuo
github.com/JinNing6
Gold-first AI-agent traceback diagnosis, exact fixes, verification, and reusable prescriptions.
Noosphere
github.com/JinNing6
Community of Consciousness MCP Server — upload and explore collective wisdom via GitHub.