Dox2md

•

Converts various document formats into clean Markdown optimized for large language model contexts, featuring a zero-dependency core and MCP server capabilities.

Dox2md is a high-performance, pure Go utility designed to transform diverse document formats into clean Markdown, specifically optimized for consumption by Large Language Models (LLMs). It boasts a 100% CGO-free architecture, ensuring seamless cross-compilation and a zero-dependency core for many converters like DOCX, PPTX, and AsciiDoc. The tool supports efficient batch processing via a worker-pool ingestion system and includes a built-in Model Context Protocol (MCP) server for direct integration with AI tools like Claude Desktop. Additionally, it offers ready-to-use tool registration for Google's Gemini Agent Development Kit (ADK), making it a versatile asset for AI-driven content processing workflows.

Key Features

01Pure Go: 100% CGO-free for seamless cross-compilation.
02Zero-Dependency Core: Converters for DOCX, PPTX, and AsciiDoc use only the Go standard library.
03Worker-Pool Ingestion: High-performance recursive directory conversion with concurrency control.
04MCP Server: Built-in Model Context Protocol server for AI tool integration (e.g., Claude Desktop).
05Gemini ADK: Ready-to-use tool registration for Google's Agent Development Kit.
060 GitHub stars

Use Cases

01Serve as an MCP server to integrate document conversion capabilities with AI agents and tools.
02Convert individual documents (PDF, DOCX, XLSX, HTML, etc.) to clean Markdown.
03Batch process entire directories of raw documents into Markdown for LLM ingestion.