OpenDocKit
Convert PDF, Office, HWP/HWPX, OpenDocument, RTF, EPUB, HTML, email and images into clean, LLM-ready Markdown.
Install / Use
claude mcp add hyeonsang010716 -- npx -y github:hyeonsang010716/OpenDocKitIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
CommunicationSupported Platforms
Our assessment of OpenDocKit
OpenDocKit scores 84/100 on our quality scale, 304th of 399 Communication skills we index.
Its MCP Server is 17 KB long, well organised into 18 sections with 13 code examples: a thorough specification that gives an agent plenty to work with.
It has 47 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so OpenDocKit is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
OpenDocKit compared with similar skills
All 4 of these similar skills score higher than OpenDocKit; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| OpenDocKit (this skill)by hyeonsang010716 | 84 | 47 | today | MCP Server |
| taste-skillby Leonxlnx | 100 | 120.4k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 114.1k | 1d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 88.6k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install OpenDocKit?
- Run
claude mcp add hyeonsang010716 -- npx -y github:hyeonsang010716/OpenDocKit. The install tabs above show the steps for each supported agent. - Which AI agents does OpenDocKit work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is OpenDocKit safe to use?
- It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is OpenDocKit still maintained?
- The repository was last updated today, so OpenDocKit is actively maintained.
Skill content
View source on GitHub<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hyeonsang010716/OpenDocKit/main/docs/assets/demo-dark.gif"> <img src="https://raw.githubusercontent.com/hyeonsang010716/OpenDocKit/main/docs/assets/demo-light.gif" alt="A Korean HWP report, an Excel sheet and a PDF page turn into Markdown: merged cells are repeated per row, numbers appear as the sheet shows them, and a table without borders is still a table" width="880"> </picture> </p>
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
Why OpenDocKit
Most converters handle the happy path. OpenDocKit is built for the files people actually upload.
- Structure, not just text. Merged table cells, multi-column PDFs, borderless tables, nested lists, footnotes, speaker notes, native charts as data tables, SmartArt as nested lists, Word / PowerPoint / Hancom equations as LaTeX, links and bold / italic as Markdown.
- First-class Korean documents. A from-scratch HWP 5.x parser, HWPX, CP949 detection, NFC normalization, and the form-heavy tables Korean offices produce. Most general-purpose converters cannot read these at all.
- Detects by content, not extension. An HTML table saved as
.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. - Safe on untrusted uploads. Zip bombs, runaway merged-cell counts, recursive PDF objects and multi-gigabyte images
are bounded.
IsolatedConverterruns every file in a disposable worker process with memory and time limits. - Images in place. Pictures, charts and scanned pages are extracted, filtered, and — if you plug in a vision model — described right where they appeared in the document.
- A hard character budget.
max_charsstops work instead of truncating afterwards, so a file that will be rejected anyway costs neither parsing time nor vision-model calls. - Permissive by default. MIT licensed; everything a plain
pip install opendockitbrings 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-inheicextra.
Installation
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[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.
Quick start
Convert
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.
Describe images with a vision model
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.
Serve it
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.
Command line
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 scan.pdf --describe # describe images with a vision model (uses OPENAI_API_KEY)
LangChain, LlamaIndex and MCP
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.
Hermes Agent
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 file on your machine in a new session. It reads a long document by page, slide or sheet, sends nothing anywhere and needs no API key. What the plugin runs, and how to limit the folders it may read: hermes-plugin/README.md.
Claude Code
Install the plugin from this repository, which is its marketplace:
/plugin install opendockit --marketplace hyeonsang010716/OpenDocKit
Then ask Claude about a document on your machine. It reads Word, PowerPoint, Excel and HWP/HWPX files, which its Read tool cannot open, and long PDFs by page. What the plugin runs, and how to limit the folders it may read: claude-plugin/README.md.
Dify
OpenDocKit is on the Dify Marketplace, reviewed by the Dify maintainers. In your Dify, open Plugins, find OpenDocKit in the Marketplace and install it. Then, in a Workflow or Chatflow:
- Add a File variable to the Start node. For HWP and HWPX, choose Other file types and add
.hwpand.hwpx. - Add the tool OpenDocKit → Convert to Markdown and pass it the file.
- Use its
textin an LLM node, ordocumentsfor one item per page, slide or sheet.
Dify reads no HWP or HWPX by itself. The file is converted inside your Dify, in a worker process with memory and time limits, with no API key and nothing sent anywhere else. Outputs and limits: dify-plugin/README.md.
Open WebUI
opendockit-open-webui is a document loader for Open WebUI's External content extraction engine. Open WebUI sends
it every uploaded file and indexes one document per page, slide or sheet; a citation from a PDF names and opens the
right page. Open WebUI reads no HWP or HWPX by itself.
pip install "opendockit[open-webui]"
export OPENDOCKIT_OPEN_WEBUI_API_KEY=$(openssl rand -hex 32)
opendockit-open-webui --host 0.0.0.0 # then in Open WebUI: Documents → External, this URL and the same key
In Admin Settings → Documents, set Content Extraction Engine to External, the loader's URL and the same API key. Each file is converted offline in a worker process with memory and time limits. Docker Compose, limits and errors: docs/integrations.md.
Supported formats
| Format | Sections | Highlights | | --- | --- | --- | | PDF | page | reading order across columns, ruled and borderless tables, form field values, headings from font size, repeated header/footer removal, footnotes linked where the page proves them, scanned pages via vision model | | DOCX | document | heading styles, list numbering, merged cells, charts → tables, SmartArt, footnotes/endnotes, equations → LaTeX, comments | | PPTX | slide | on-screen order, bullet levels, tables, charts → tables, SmartArt, equations, speaker notes | | XLSX · XLS · Excel 2003 XML
Truncated for display — read the full file on GitHub.
Related Skills
taste-skill
120.4kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
114.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
88.6kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.3k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
