Document Converter logo

Document Converter

Converts local files and supported URLs into Markdown for preview or saving beside the source.

Install Document Converter

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.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"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

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

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The document-converter MCP server converts supported files and URLs to Markdown with Microsoft's MarkItDown library. It runs as a local stdio process, so conversion happens on the user's machine rather than through a cloud API. Use it when an agent needs readable content from PDFs, Office files, spreadsheets, emails, audio, archives, or YouTube URLs. Choose saved conversion for repository or documentation workflows, or preview conversion when the Markdown only needs to appear in chat.

Use cases

  • Convert PDF research papers into Markdown for summaries and comparisons
  • Save DOCX or PPTX drafts as Markdown beside their source files
  • Preview specifications and slide decks in chat before editing them
  • Extract spreadsheet data into Markdown tables for analysis
  • Transcribe supported audio files or YouTube captions into editable Markdown

Key features

  • Converts supported files and URLs with MarkItDown
  • Saves Markdown beside local source files
  • Previews Markdown directly in chat
  • Processes files locally over stdio
  • Supports PDF, Office, spreadsheet, audio, archive, and text formats
  • Includes YouTube caption and audio transcription support

Tools2

What Document Converter lets your agent do. Expand a tool for its parameters.

Self-reported~47 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/18 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 20h ago via OSV.dev · document-converter-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed2Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Document Converter works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Document Converter

document-converter is an MCP server that connects MCP clients to Microsoft's MarkItDown library for local document extraction. Its main tools are convert_to_markdown, which saves Markdown beside a source or as a YouTube-named file, and preview_markdown, which returns converted Markdown in chat without saving it.

Install uv, then configure the client to run the documented uvx command from the Git repository with the required MarkItDown extras. Add the command to Cursor, VS Code, or Claude Desktop's MCP configuration, then restart or reload the client.

It supports PDF, DOCX, PPTX, XLSX, XLS, MSG, HTML, CSV, text, JSON, JSONL, Markdown, notebooks, EPUB, ZIP, MP3, WAV, M4A, and supported YouTube URLs. Legacy DOC and PPT files, EML, most image formats, and dedicated video conversion are not supported.

Yes, document-converter works with Cursor through its stdio MCP configuration. Add the provided uvx command to Cursor's MCP settings or mcp.json, then reload MCP and verify that the two conversion tools are enabled.

No, the documented workflow processes files locally and does not send them to a conversion API. The server runs as a local stdio process and uses the MarkItDown library installed through the configured uvx command.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDocument Converter AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/document-converter?style=directory)](https://allmcps.com/mcp/document-converter)
HTML Embed
<a href="https://allmcps.com/mcp/document-converter"><img src="https://allmcps.com/api/badge/document-converter?style=directory" alt="Document Converter on AllMCPs" /></a>