by zcaceres
Converts PDFs, images, audio, DOCX, XLSX, PPTX, YouTube videos, Bing search results, and generic web pages into clean Markdown text, while also allowing retrieval of existing Markdown files.
Markdownify MCP Server provides a suite of conversion tools that transform a wide range of file formats and web content into Markdown. It runs as a Model Context Protocol (MCP) server, exposing endpoints that can be called from desktop applications or other MCP‑compatible clients.
git clone https://github.com/zcaceres/markdownify-mcp.git
cd markdownify-mcp
uv
)
pnpm install
pnpm run build
pnpm start
{
"mcpServers": {
"markdownify": {
"command": "node",
"args": ["/absolute/path/to/dist/index.js"],
"env": { "UV_PATH": "/path/to/uv" }
}
}
}
The server will then respond to tool calls such as pdf-to-markdown
, image-to-markdown
, youtube-to-markdown
, etc.MD_SHARE_DIR
env var restricts the accessible directory.src/tools.ts
; developers can add new converters.uv
to manage Python dependencies; pnpm install
will download and set up uv
automatically.MD_SHARE_DIR
environment variable before starting the server to limit file access to a specific directory.src/tools.ts
and expose it through the server’s tool registry.Help! I need someone with a Windows computer to help me add support for Markdownify-MCP on Windows. PRs exist but I cannot test them. Post here if interested.
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format. It provides a set of tools to transform PDFs, images, audio files, web pages, and more into easily readable and shareable Markdown text.
pnpm install
Note: this will also install uv
and related Python depdencies.
pnpm run build
pnpm start
pnpm run dev
to start the TypeScript compiler in watch modesrc/server.ts
to customize server behaviorsrc/tools.ts
To integrate this server with a desktop app, add the following to your app's server configuration:
{
"mcpServers": {
"markdownify": {
"command": "node",
"args": [
"{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
],
"env": {
// By default, the server will use the default install location of `uv`
"UV_PATH": "/path/to/uv"
}
}
}
}
youtube-to-markdown
: Convert YouTube videos to Markdown
pdf-to-markdown
: Convert PDF files to Markdown
bing-search-to-markdown
: Convert Bing search results to Markdown
webpage-to-markdown
: Convert web pages to Markdown
image-to-markdown
: Convert images to Markdown with metadata
audio-to-markdown
: Convert audio files to Markdown with transcription
docx-to-markdown
: Convert DOCX files to Markdown
xlsx-to-markdown
: Convert XLSX files to Markdown
pptx-to-markdown
: Convert PPTX files to Markdown
get-markdown-file
: Retrieve an existing Markdown file. File extension must end with: *.md, *.markdown.
OPTIONAL: set MD_SHARE_DIR
env var to restrict the directory from which files can be retrieved, e.g. MD_SHARE_DIR=[SOME_PATH] pnpm run start
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "markdownify": { "command": "node", "args": [ "/absolute/path/to/dist/index.js" ], "env": { "UV_PATH": "/path/to/uv" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.