Convert PDF, Office, HWP/HWPX, OpenDocument, RTF, EPUB, HTML, email and images into clean, LLM-ready Markdown.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/hyeonsang010716/OpenDocKitGuides for using mcp servers skills like OpenDocKit.
See how OpenDocKit compares with popular alternatives.
from opendockit import convert_file
result = convert_file("quarterly-report.hwp")
result.text # Markdown: headings, tables, lists, footnotes, LaTeX equations
result.sections # per page / slide / sheet — for chunking and citations ("page 3")
result.warnings # what was skipped or approximated, in plain sentences
Most converters handle the happy path. OpenDocKit is built for the files people actually upload.
.xls, a CSV with a title block, an MHTML page named
.doc — each is read as what it really is, and a warning tells you.IsolatedConverter runs every file in a disposable worker process with memory and time limits.max_chars stops work instead of truncating afterwards, so a file that will be
rejected anyway costs neither parsing time nor vision-model calls.pip install opendockit brings in is MIT / BSD /
Apache-style (no PyMuPDF, no pyhwp), with no ML models and no GPU. The only copyleft code is behind the opt-in
heic extra.The numbers behind these claims, and the places where OpenDocKit loses, are in How it compares.
pip install opendockit # conversion only — never touches the network
pip install "opendockit[openai]" # + image description with a vision model
pip install "opendockit[heic]" # + HEIC/HEIF images (pulls in GPL/LGPL-licensed codec libraries)
pip install "opendockit[langchain]" # + LangChain loader
pip install "opendockit[llamaindex]" # + LlamaIndex reader
pip install "opendockit[lightrag]" # + LightRAG parser engine
pip install "opendockit[mcp]" # + MCP server for agents
pip install "opendockit[open-webui]" # + document loader for Open WebUI
Requires Python 3.12 or newer on Linux, macOS or Windows. On Windows a malformed HTML page or mail body over 256 K characters, or one nested very deeply, is read by an older parser and may lose content, with a warning (why).
Optional: install LibreOffice (brew install --cask libreoffice, apt install libreoffice)
to read legacy .doc and .ppt files. Every other format is read by OpenDocKit itself.
from opendockit import convert, convert_file
result = convert_file("report.pdf") # from a path
result = convert(data, "report.pdf") # from bytes (the filename is only a hint)
print(result.text)
print(result.char_count, result.exceeded) # size of the output, and whether the limit stopped it
convert is synchronous, offline and deterministic (the one exception: .doc and .ppt start a local LibreOffice
process). Pictures are collected in result.images and the text keeps an
[Image] placeholder where each one was.
from opendockit import OpenAIImageDescriber, aconvert
result = await aconvert(data, "report.pdf", describer=OpenAIImageDescriber()) # reads OPENAI_API_KEY
Charts become data tables, diagrams become lists, scanned pages are transcribed, and decorative images are dropped.
OpenAIImageDescriber(model) accepts any LangChain chat model, and anything with an
async describe(image) -> str method works as a describer. See docs/images.md.
from opendockit import ConversionError, IsolatedConverter
async with IsolatedConverter(workers=2) as converter: # 2 GB and 2 minutes per file by default
try:
result = await converter.convert(data, filename)
except ConversionError as exc:
print(exc.code, exc) # stable code + a message safe to show users
One bad file ends one worker; your server and the next upload carry on. In a script, run this under
if __name__ == "__main__": — the workers import the main module again. See docs/server.md.
opendockit report.pdf # Markdown on stdout, warnings on stderr
opendockit report.pdf --json # sections, metadata, warnings, images
opendockit report.pdf --count # just the character count
opendockit report.pdf -o report.md # write it to a file instead (UTF-8; use it in Windows PowerShell)
opendockit scan.pdf --describe # describe images with a vision model (uses OPENAI_API_KEY)
from opendockit.integrations.langchain import OpenDocKitLoader
from opendockit.integrations.llama_index import OpenDocKitReader
docs = OpenDocKitLoader("report.pdf", mode="sections").load() # one Document per page / slide / sheet
docs = OpenDocKitReader(mode="sections").load_data("report.pdf")
opendockit-mcp --root ~/Documents # MCP server: Claude, Cursor and other agents read your documents as Markdown
To let the client start the server itself, with nothing installed beforehand, add it to the client's MCP settings:
{
"mcpServers": {
"opendockit": {
"command": "uvx",
"args": ["opendockit-mcp", "--root", "/path/to/documents"]
}
}
}
With mode="sections" each page, slide or sheet is its own Document, with its number in the metadata for citations. See docs/integrations.md.
LightRAG finds the parser engine opendockit by itself once both are installed;
no code is needed. A routing rule says which documents it reads:
pip install "opendockit[lightrag]"
export LIGHTRAG_PARSER="hwp:opendockit,hwpx:opendockit,doc:opendockit,ppt:opendockit,xls:opendockit"
With that rule LightRAG accepts Hangul documents and the old Office formats, which its local engines do not read. Add
pdf:opendockit or docx:opendockit to have those arrive as Markdown with their tables and headings. See
docs/integrations.md.
OpenDocKit is listed in the Hermes Agent plugin catalog, where every plugin is reviewed by the Hermes maintainers and pinned to one commit:
hermes plugins install opendockit
hermes plugins enable opendockit
Then ask Hermes about a fi
OpenDocKit is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hyeonsang010716. Convert PDF, Office, HWP/HWPX, OpenDocument, RTF, EPUB, HTML, email and images into clean, LLM-ready Markdown. It has 50 GitHub stars.
OpenDocKit's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/hyeonsang010716/OpenDocKit" and add it to your Claude Code skills directory (see the Installation section above).
OpenDocKit is primarily written in Python. It is open-source under hyeonsang010716 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh OpenDocKit against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars