Markdownify MCP Server

by @zcaceres

Markdownify MCP Server

Convert documents, media, and web content into Markdown through an assistant. Markdownify supports office files, PDFs, images, audio, web pages, search results, and YouTube transcripts.

Files & Documents2,996nodeMIT

Server facts

Markdownify MCP Server

GitHub stars

2,996

Last commit

Sep 25, 2026

Runtime

node

License

MIT

Project

Author
zcaceres
License
MIT

Tech

Runtime
nodeTypeScript
Transports
stdio
Remote access
No

Activity

GitHub stars
2,996
Last commit
Data as of

Tags

  • Audio Transcription
  • Document Conversion
  • Markdown
  • Web Extraction

Overview

Markdownify MCP Server turns several kinds of files and online content into Markdown for assistant workflows. Document inputs include PDF, DOCX, XLSX, and PPTX, while media tools cover images and audio transcription. Web-facing tools work with ordinary pages, Bing search results, and YouTube video transcripts. A retrieval tool also reads existing Markdown files. This gives users a common textual format when gathering material from sources that would otherwise require different readers or conversion steps.

The local setup uses Bun to install dependencies and build the TypeScript project. During installation, a Python virtual environment is created for the MarkItDown conversion dependency with its full extras. Desktop-client configuration can then launch the built JavaScript entry point through Node. Docker operation is documented as an alternative, with read-only directory mounts shown in the example. File-access boundaries deserve attention: without an allowlist, file-input tools are unrestricted. Setting MD_ALLOWED_PATHS restricts reads to specified directories, and container users must pass paths inside the container rather than host filesystem paths. The README also distinguishes the published slim Docker image from the full local installation. That image installs only the PDF extras, so audio transcription and image OCR will fail there unless the required extras are available. Choosing an installation path therefore affects which advertised conversions can actually run.

Install & configure

Requirements

  • Bun
  • A cloned repository with dependencies installed and the project built
  • Python for the MarkItDown environment created during installation
Documented launch / install command
bun start

Run bun install and bun run build first. The local installation uses markitdown[all]. Set allowed paths to restrict file reads; the slim published Docker image lacks audio and image extras.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "markdownify-mcp": {
      "command": "bun",
      "args": [
        "start"
      ],
      "env": {
        "MD_ALLOWED_PATHS": "<allowed directories separated by your platform path delimiter>"
      }
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "markdownify-mcp": {
      "command": "bun",
      "args": [
        "start"
      ],
      "env": {
        "MD_ALLOWED_PATHS": "<allowed directories separated by your platform path delimiter>"
      }
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "markdownify-mcp": {
      "type": "stdio",
      "command": "bun",
      "args": [
        "start"
      ],
      "env": {
        "MD_ALLOWED_PATHS": "<allowed directories separated by your platform path delimiter>"
      }
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "markdownify-mcp": {
      "command": "bun",
      "args": [
        "start"
      ],
      "env": {
        "MD_ALLOWED_PATHS": "<allowed directories separated by your platform path delimiter>"
      }
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "markdownify-mcp": {
      "type": "stdio",
      "command": "bun",
      "args": [
        "start"
      ],
      "env": {
        "MD_ALLOWED_PATHS": "<allowed directories separated by your platform path delimiter>"
      }
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
youtube-to-markdownExtract a YouTube video's transcript into Markdown.
pdf-to-markdownTransform PDF content into Markdown text.
bing-search-to-markdownRepresent Bing search results as Markdown.
webpage-to-markdownExtract web page content into Markdown.
image-to-markdownProduce Markdown from an image with associated metadata.
audio-to-markdownTranscribe audio and present the result as Markdown.
docx-to-markdownTransform a DOCX document into Markdown.
xlsx-to-markdownRepresent spreadsheet content from XLSX as Markdown.
pptx-to-markdownTransform presentation content from PPTX into Markdown.
get-markdown-fileRead an existing file with a .md or .markdown extension.
git-repo-to-markdownConvert repository content using the configured Repomix executable.

Use cases

  • Convert PDF and office documents into assistant-readable Markdown.
  • Extract web pages or YouTube transcripts for text-based review.
  • Transcribe audio as part of a document conversion workflow.
  • Read existing Markdown within an explicitly allowed directory set.

Strengths

  • Covers document, media, and web sources with one output format.
  • Provides configurable directory restrictions for file-input tools.
  • Documents both a full local setup and container operation.

Limitations

  • File access is unrestricted unless allowed directories are configured.
  • The published slim Docker image lacks audio transcription and image OCR extras.
  • The full local installation involves JavaScript tooling and a Python conversion environment.

Markdownify MCP Server setup notes

  • Check MD_ALLOWED_PATHS in the Markdownify MCP Server configuration if startup or authentication fails.
  • Markdownify MCP Server's stdio example needs a client that launches local processes.

Frequently asked questions

The README lists DOCX documents, XLSX spreadsheets, and PPTX presentations, in addition to PDFs and media.

Related MCP servers