A thin wrapper around Microsoft markitdown that adds batch folder conversion, output routing, skip-if-exists, OCR via OpenAI gpt-4o-mini, and audio transcription via OpenAI Whisper. Installed globally with uv tool install.
uv tool install /Users/ericbaruch/Arik/dev/markitdownThis exposes a mdc command on your PATH.
uv tool install --force . reuses cached builds and can silently ship stale code. To pick up changes:
uv tool uninstall markitdown-cli && uv tool install --reinstall --no-cache .Single file:
mdc report.pdf
# writes report.pdf.md next to sourceFolder (recursive, mirrors tree):
mdc ./docs
# writes ./docs.md/ as a siblingExplicit output:
mdc report.pdf -o /tmp/out.md
mdc ./docs -o /tmp/docs-mdForce re-conversion:
mdc report.pdf --forceOCR (image description via gpt-4o-mini):
mdc photo.png --ocrAudio transcription (Whisper API):
mdc recording.mp3 --audio--ocr and --audio both need OPENAI_API_KEY in /Users/ericbaruch/Arik/dev/.env. Plain conversions do not need any API key.
PDF, DOCX, PPTX, XLSX, XLS, HTML, HTM, CSV, JSON, XML, EPUB, ZIP, MSG, TXT, RTF, ODT, JPG, JPEG, PNG, GIF, BMP, TIFF, MP3, WAV, M4A, FLAC.
uv tool uninstall markitdown-cliA companion skill at ~/.claude/skills/markitdown/SKILL.md lets Claude Code call mdc when it encounters a non-text file.