MCP server that fetches web pages in a headless Playwright browser, runs their JavaScript, extracts the main content with Readability and returns Markdown, HTML or text.
MarkdownifyMCP Server
Summary
Open-source MCP server that converts PDFs, Office files, images, audio, YouTube videos and web pages into Markdown, using Microsoft's markitdown under the hood.
Features
- Convert PDF, DOCX, XLSX and PPTX files to Markdown
- Transcribe audio and describe images as Markdown
- Fetch YouTube transcripts, web pages and Bing results as Markdown
- Restrict file access with MD_ALLOWED_PATHS
- Runs locally or in Docker
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
Markdownify is a Model Context Protocol server that turns files and web content into Markdown an assistant can read. It wraps Microsoft's markitdown (installed into a project virtual environment during setup) behind a set of single-purpose tools.
Tools
pdf-to-markdown,docx-to-markdown,xlsx-to-markdown,pptx-to-markdownimage-to-markdown— the image with its metadataaudio-to-markdown— with transcriptionyoutube-to-markdown— the video's transcriptwebpage-to-markdownandbing-search-to-markdownget-markdown-file— read an existing.mdor.markdownfile
Setup
It runs from a local checkout: clone the repository, run bun install (which also creates the .venv with markitdown[all]), bun run build, then point your client at dist/index.js with node. A Dockerfile is included, and it is listed in Docker's MCP catalog as mcp/markdownify; the published image installs only markitdown[pdf], so audio transcription and image conversion need the local install.
Configuration
MARKITDOWN_PATH and REPOMIX_PATH point at system-wide installs of those tools, and MD_ALLOWED_PATHS restricts every file-input tool to a list of directories — worth setting, since file access is unrestricted by default.
MIT licensed.
Related MCP Servers
See all Markdownify alternativesA local MCP server that hands coding agents a desktop toolbox: media and torrent downloads, file conversion, dev utilities, linked chats and system cleanup.
MCP: Yap MCP
by O-mega Enterprise Inc.
Transcribe local audio and video files on-device from Claude, Cursor or VS Code, and search your Yap dictation history. No upload, no API key.
MCP: VoiceStudio
by Palash Deb
Local speech MCP server bundled with VoiceStudio — generate speech, clone a voice from reference audio, and transcribe in 646 languages, all on your own machine with no API key.