# document-converter [Health: Active]

**Category:** 📂 File Systems  
**Repository:** https://github.com/Zahid-Abbas-Ali-Baig/document-converter  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/document-converter

## Description
Convert documents to Markdown using MarkItDown

## Tools
Capabilities this server exposes over MCP:

- **convert_to_markdown** — Converts a file or URL to Markdown and saves output (`.md` beside source, or `youtube-{id}.md` for YouTube URLs)
- **preview_markdown** — Returns Markdown in the chat response only

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "document-converter": {
    "command": "uvx",
    "args": ["--from","git+https://github.com/Zahid-Abbas-Ali-Baig/document-converter","--with","markitdown[pdf,docx,pptx,xlsx,xls,outlook,audio-transcription,youtube-transcription]","document-converter-mcp"]
  }
}
```

## Documentation

## What document-converter does

The document-converter MCP server exposes two MCP tools for turning supported documents and URLs into Markdown. It wraps Microsoft's MarkItDown library and is designed for use from MCP-compatible clients such as Cursor, VS Code, and Claude Desktop.

The server accepts local files and supported web inputs. Converted output can either be written to disk or returned directly to the conversation. This lets an agent work with text extracted from binary or structured sources without requiring manual copy-paste.

Supported inputs include PDF files; DOCX and PPTX documents; XLSX and XLS workbooks; Outlook MSG files; HTML; CSV; plain text; Markdown; JSON and JSONL; notebooks; EPUB files; ZIP archives; MP3, WAV, and M4A audio; and YouTube watch URLs. Audio conversion includes speech transcription, while YouTube conversion can include available captions.

## How it works

The document-converter MCP server uses stdio transport. An MCP client starts the configured command, communicates with the process over standard input and output, and calls the conversion tools when needed. MarkItDown performs the extraction and formatting, after which the result is either returned to the client or saved beside the input file.

For a local file, the save workflow creates an `.md` file next to the source. YouTube outputs use a `youtube-{id}.md` filename. The preview workflow does not create a file; it places the generated Markdown in the chat response instead. Processing is local, and the provided configuration does not send files to a conversion API.

## Setup and configuration

Install `uv`, which provides the `uvx` command, before configuring the server. A typical launch command obtains the project from Git and installs the MarkItDown extras used by this project:

```bash
uvx --from git+https://github.com/Zahid-Abbas-Ali-Baig/document-converter --with markitdown[pdf,docx,pptx,xlsx,xls,outlook,audio-transcription,youtube-transcription] document-converter-mcp
```

Add that command and its arguments to the MCP configuration for the client. The README provides setup instructions for Cursor, VS Code, and Claude Desktop. After saving the configuration, restart or reload the client and confirm that the server exposes `convert_to_markdown` and `preview_markdown`.

No environment variables are documented as required. The project targets Python 3.10 or newer through its documented runtime setup.

## Tools and capabilities

- `convert_to_markdown`: Converts a file or URL and saves the Markdown output. Local files are written beside their source; YouTube URLs use a `youtube-{id}.md` filename.
- `preview_markdown`: Converts a file or URL and returns the Markdown in the chat response without saving a file.

MarkItDown dependencies in the documented setup cover PDF, DOCX, PPTX, XLSX, XLS, Outlook MSG, audio transcription, and YouTube transcription. Built-in handling covers several text, web, archive, notebook, and e-book formats.

## Limitations and notes

The document-converter MCP server does not provide built-in OCR. JPG, JPEG, and PNG inputs may expose EXIF metadata when `exiftool` is available, but image text is not automatically recognized by this setup. XML may be treated as plain text rather than parsed by a dedicated XML converter.

Legacy `.doc` and `.ppt` files are not supported; use `.docx` and `.pptx`. `.eml` files, most image formats outside JPG/JPEG/PNG, and video files such as MP4 are not supported as dedicated inputs. Video audio may work in some cases through the audio converter, but video conversion is not provided.

Other web URLs may work through MarkItDown, including some Wikipedia, RSS, or Bing SERP inputs, but they are not tested as part of this project. Azure Document Intelligence and Azure Content Understanding are not configured, and the project intentionally does not install the full `markitdown[all]` extra. Output quality depends on the source and the upstream MarkItDown converters.

_Full upstream README: https://allmcps.com/mcp/document-converter/readme_

