Markdownify

Content and CMS

A Model Context Protocol server for converting almost anything to Markdown.

Your AI app calls the Markdownify MCP server, which does the work through tools like youtube-to-markdown, pdf-to-markdown, bing-search-to-markdown and webpage-to-markdown and sends the result back to the chat.

About Markdownify

Markdownify is a community MCP server from zcaceres, filed in our directory under content and cms. A Model Context Protocol server for converting almost anything to Markdown.

The README for Markdownify lists tools such as youtube-to-markdown, pdf-to-markdown, bing-search-to-markdown and webpage-to-markdown, which your AI app can call once the server is connected.

At a glance

Publisher
zcaceres (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
3,007

Tools Markdownify gives your AI app

  • youtube-to-markdownConvert YouTube videos to Markdown.
  • pdf-to-markdownConvert PDF files to Markdown.
  • bing-search-to-markdownConvert Bing search results to Markdown.
  • webpage-to-markdownConvert web pages to Markdown.
  • image-to-markdownConvert images to Markdown with metadata.
  • audio-to-markdownConvert audio files to Markdown with transcription.
  • docx-to-markdownConvert DOCX files to Markdown.
  • xlsx-to-markdownConvert XLSX files to Markdown.
  • pptx-to-markdownConvert PPTX files to Markdown.
  • get-markdown-fileRetrieve an existing Markdown file. File extension must end with: .md, .markdown.

Tool names as the Markdownify README lists them. Your AI app shows the live list once Markdownify is connected.

How to set up Markdownify

  1. Follow the install steps in the Markdownify README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Markdownify README for keys or settings; the registry lists none that Markdownify requires.
  3. Add Markdownify to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Markdownify tools to confirm the connection.
  5. Run one read-only task with Markdownify first, such as a call to youtube-to-markdown, before you allow anything that writes or sends.

Markdownify compared with similar servers

  • WordPress Adapter by WordPress has fewer GitHub stars than Markdownify (2k against 3k); WordPress Adapter is official while Markdownify is a community server, and both run locally.
  • kordoc by chrisryugj has more GitHub stars than Markdownify (3.2k against 3k); both are community servers, and both run locally.
  • Wenyan by caol64 has fewer GitHub stars than Markdownify (1.4k against 3k); both are community servers, and both run locally.

Before you connect Markdownify

  • Give Markdownify its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Markdownify tool call until you trust what it does with them.
  • Treat text that Markdownify fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Markdownify on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Markdownify

How marketing and sales teams put Markdownify to work, by company size. Pick the size closest to yours and start Markdownify on one use case.

Small business

  • A small business can use Markdownify to draft, update and publish site pages from a chat, keeping the site fresh without an agency.
  • Owners can ask Markdownify which pages are outdated and get a list of updates in order of traffic.
  • Markdownify runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Content teams can connect Markdownify to move drafts into the CMS with fields, tags and metadata filled in, ready for an editor.
  • SEO and content teams can use Markdownify to refresh old posts at scale, with each change reviewed before it goes live.
  • Start with youtube-to-markdown and pdf-to-markdown, the tools Markdownify lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can give Markdownify draft-only rights, so agents prepare content while publishing stays with approved editors.
  • Large content orgs can use Markdownify to manage many sites and languages, keeping structure and governance consistent.
  • Markdownify is a community server, so have security review the code and pin a version before Markdownify touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Markdownify README

From zcaceres/markdownify-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Markdownify MCP Server

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.

Features

  • Convert multiple file types to Markdown:
    • PDF
    • Images
    • Audio (with transcription)
    • DOCX
    • XLSX
    • PPTX
  • Convert web content to Markdown:
    • YouTube video transcripts
    • Bing search results
    • General web pages
  • Retrieve existing Markdown files

Getting Started

Prerequisites:

  • Bun for JavaScript dependency management and builds.
  • Node.js 22 or later (also used by the Repomix CLI).
  • uv on PATH for locked Python setup.
  • Python 3.11–3.14. uv can install the development interpreter selected by .python-version if needed; Python 3.15 is not supported.
  1. Clone this repository

  2. Install dependencies:

    bun install --frozen-lockfile
    

    The preinstall step runs uv sync --locked --extra all --no-dev, creating .venv and installing MarkItDown's full feature set at the exact versions in uv.lock. Setup fails if the lockfile is stale or Python installation fails. If dependency lifecycle scripts are disabled, run node preinstall.js manually.

  3. Build the project:

    bun run build
    
  4. Start the server:

    bun start
    

Development

  • Use bun run dev to start the TypeScript compiler in watch mode
  • Modify src/server.ts to customize server behavior
  • Add or modify tools in src/tools.ts
Updating dependencies

Normal installs consume the committed lockfiles; they do not upgrade packages.

  • JavaScript: update the intended ranges in package.json, run bun update --ignore-scripts, then commit package.json and bun.lock.
  • Python: update pyproject.toml as needed, run uv lock --upgrade, then commit pyproject.toml and uv.lock. Both the local all and Docker pdf profiles are resolved in this one lockfile.
  • Verify with uv lock --check, node preinstall.js, bun run build, bun test, and bash scripts/docker-smoke-test.sh when Docker is available.

Usage with Desktop App

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"
      ]
    }
  }
}
Environment variables

All paths default to sensible values; override only when the defaults don't fit your install layout.

Variable Default Purpose
MARKITDOWN_PATH <project>/.venv/bin/markitdown, then markitdown on PATH Absolute path to the markitdown executable. Set this when you've installed markitdown system-wide (e.g. pipx install "markitdown[pdf]") instead of using the bundled venv.
REPOMIX_PATH <project>/node_modules/.bin/repomix, then repomix on PATH Absolute path to the repomix executable used by git-repo-to-markdown.
MD_ALLOWED_PATHS unset (unrestricted) Path-delimiter-separated list (: on POSIX, ; on Windows) of directories the server is allowed to read. When set, all file-input tools (pdf-to-markdown, get-markdown-file, etc.) reject paths outside these directories.
MD_SHARE_DIR unset Deprecated alias for MD_ALLOWED_PATHS (single directory). Still honored for backward compatibility.

Usage with HTTP (Streamable HTTP transport)

By default the server runs over stdio. To run it as a stateless Streamable HTTP server (listening on 127.0.0.1:3000/mcp by default):

MD_ALLOWED_PATHS=/path/to/docs bun dist/index.js --transport=http --port=3000

Or via environment variables:

MCP_TRANSPORT=http MCP_PORT=3000 MD_ALLOWED_PATHS=/path/to/docs bun dist/index.js
Flag / Env Default Purpose
--transport=stdio|http / MCP_TRANSPORT stdio Transport mode.
--host=HOST / MCP_HOST 127.0.0.1 Bind address for HTTP mode. Defaults to loopback only.
--port=N / MCP_PORT 3000 Port for HTTP mode (ignored in stdio mode).
MCP_ALLOWED_HOSTS loopback hosts when bound to loopback Comma-separated list of allowed Host headers (DNS-rebinding protection).
MCP_ALLOWED_ORIGINS loopback origins when bound to loopback Comma-separated list of allowed browser Origin headers.

Security note: The HTTP transport has no built-in authentication. Always set MD_ALLOWED_PATHS when running over HTTP, keep --host=127.0.0.1 for local use, or place it behind an authenticating reverse proxy with MCP_ALLOWED_HOSTS / MCP_ALLOWED_ORIGINS configured.

Usage with Docker

Build and run:

docker build -t markdownify-mcp .
docker run --rm -i \
  -v "$HOME/Documents:/data:ro" \
  -e MD_ALLOWED_PATHS=/data \
  markdownify-mcp

Notes for the Docker MCP catalog (mcp/markdownify):

  • Mount any host directories you want the server to read into the container, then pass the container paths to the tools (e.g. /data/foo.pdf, not /Users/you/Documents/foo.pdf).
  • Set MD_ALLOWED_PATHS to the colon-separated list of mounted directories so the server enforces a read boundary that matches the bind mount.
  • The Docker image installs only the locked pdf profile (uv sync --locked --extra pdf), not the full all profile. Audio transcription and image OCR (audio-to-markdown, image-to-markdown) require the [all] extras and will fail in the slim image. Use the local install (bun install --frozen-lockfile) for the full feature set.

Available Tools

  • 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_ALLOWED_PATHS to restrict every file-input tool to a list of directories, e.g. MD_ALLOWED_PATHS=/data/in:/data/out bun start.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Questions about Markdownify

What is the Markdownify MCP server?

A Model Context Protocol server for converting almost anything to Markdown. Markdownify is maintained by zcaceres on GitHub at zcaceres/markdownify-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Markdownify MCP server?

Markdownify doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (zcaceres/markdownify-mcp). Like most servers, Markdownify ends with a command or URL you paste into your AI app's MCP config.

Does Markdownify need an API key?

The registry lists no required keys for Markdownify. Check the Markdownify README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Markdownify an official MCP server?

No. Markdownify is a community server maintained by zcaceres. Community servers can be excellent; read the code and the open issues before you give Markdownify access to company data.

What license is Markdownify under?

Markdownify is released under the MIT license, according to its GitHub repository. The license covers the code of Markdownify; the service it connects to has its own terms.