CHM To Markdown Converter MCP Server

chm to markdown and vectorDB

Local serverstdioPython

What is the CHM To Markdown Converter MCP Server?

chm to markdown and vectorDB

The short version

A Python utility for converting Compiled HTML Help (.chm) files into clean Markdown, with built-in support for multiple document types through a profile system.

  • Profile-based conversion — — generic profile for any CHM, revit profile for Autodesk Revit API docs
  • Auto encoding detection — — handles UTF-8, GB18030, GBK, GB2312, and more via chardet
  • Cross-platform 7-Zip detection — — finds 7z/7za/7zz on PATH (Windows, Linux, macOS)
  • Flexible CHM structure support — — handles html/ subdirectory, flat, and deeply nested layouts (e.g. DirectX SDK)
  • --preserve-structure — — optionally mirrors the CHM's internal folder hierarchy in the output instead of flattening everything into data/
  • Code block preservation — — detects language from class names and named divs; supports C#, VB, C++, F#, Python, Java, JS/TS, Bash, SQL, XML, JSON

What it needs from you

  • Python 3.10+ - 7-Zip — 7z must be reachable via the default install path or PATH - Windows: installs to C:\Program Files\7-Zip\7z.exe by default, or add to PATH - Linux: sudo apt install p7zip-full - macOS: brew install p7zip

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.10+ - 7-Zip — 7z must be reachable via the default install path or PATH - Windows: installs to C:\Program Files\7-Zip\7z.exe by default, or add to PATH - Linux: sudo apt install p7zip-full - macOS: brew install p7zip

Example prompts to try

  • “Use CHM To Markdown Converter to Contributors.”

Frequently asked questions

Install 7-Zip and ensure its executable is on your system PATH. For Windows, the installer adds it by default; on Linux, run `sudo apt install p7zip-full`; on macOS, use `brew install p7zip`.