MCP Directory

How to add MarkItDown MCP to Claude Desktop

Give your agent Microsoft's MarkItDown: convert PDFs, Office docs, images, and URLs into LLM-ready Markdown. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.

Last updated June 14, 2026 ยท 162kโ˜… ยท stdio ยท no auth ยท official

Claude Desktop config for MarkItDown MCP

pip install markitdown-mcp
{
  "mcpServers": {
    "markitdown-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "markitdown-mcp:latest"
      ]
    }
  }
}

Requires Docker to be installed and running.

Setup steps

  1. 1Open Claude Desktop โ†’ Settings โ†’ Developer โ†’ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. 2Paste the MarkItDown MCP config below under the top-level "mcpServers" key.
  3. 3Fill in any placeholder secrets (API keys, paths) in the snippet.
  4. 4Save the file, then fully quit and reopen Claude Desktop.
  5. 5Open a chat and confirm MarkItDown MCP's tools appear under the ๐Ÿ”Œ tools menu.

Before you start

  • Python 3.10+ and pip (pip install markitdown-mcp), or Docker for the containerized setup
  • For the recommended Claude Desktop config: build the image first with `docker build -t markitdown-mcp:latest .` from packages/markitdown-mcp
  • No API keys or accounts required

What MarkItDown MCP can do in Claude Desktop

convert_to_markdown

Convert any http:, https:, file:, or data: URI to Markdown.

Security

No authentication: the server runs with your user's privileges, and convert_to_markdown can read any file or network resource that user can reach. Keep it on STDIO or bound to localhost (the default) and use the Docker container with a mounted workdir when you want isolation.

MarkItDown MCP + Claude Desktop FAQ

Where is the Claude Desktop config file?

Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the MarkItDown MCP config there under the "mcpServers" key and restart the client.

Is MarkItDown MCP safe to use with Claude Desktop?

No authentication: the server runs with your user's privileges, and convert_to_markdown can read any file or network resource that user can reach. Keep it on STDIO or bound to localhost (the default) and use the Docker container with a mounted workdir when you want isolation.

Is MarkItDown-MCP safe to run?

Safe for local, single-user use โ€” but it has no authentication, and convert_to_markdown can read any file or network resource your user can. Microsoft's README explicitly warns to keep it bound to localhost (the default) and suggests a container or VM if you need stronger isolation.

What file types can it convert?

Everything MarkItDown supports: PDF, Word, PowerPoint, Excel, images (EXIF/OCR), audio (transcription), HTML, CSV/JSON/XML, ZIP archives, YouTube URLs, EPUBs and more. The tool takes a URI, so both local files (file:) and remote pages (http/https) work.

Do I need to install markitdown separately?

No. `pip install markitdown-mcp` pulls MarkItDown in as a dependency โ€” the MCP package is just a thin STDIO/HTTP/SSE server exposing the one conversion tool.

View repo Full MarkItDown MCP page