Skip to main content
Glama

Markdownify MCP Server

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 mcp logo

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

Related MCP server: MCP URL Fetcher

Getting Started

  1. Clone this repository

  2. Install dependencies:

    pnpm install

Note: this will also install uv and related Python depdencies.

  1. Build the project:

    pnpm run build
  2. Start the server:

    pnpm start

Development

  • Use pnpm 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

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"
      ],
      "env": {
        // By default, the server will use the default install location of `uv`
        "UV_PATH": "/path/to/uv"
      }
    }
  }
}

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_SHARE_DIR env var to restrict the directory from which files can be retrieved, e.g. MD_SHARE_DIR=[SOME_PATH] pnpm run 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.

Available Tools

13 tools
audio-to-markdownA

Convert an audio file to markdown, including transcription if possible. Use 'url' for online audio files, or 'filepath' only if the file exists on the server. For local files, upload them first via /upload endpoint.

Inputs: filepath, url.

bing-search-to-markdownC

Convert a Bing search results page to markdown

Inputs: url (required).

docx-to-markdownA

Convert a DOCX file to markdown. Use 'url' for online DOCX files, or 'filepath' only if the file exists on the server. For local files, upload them first via /upload endpoint.

Inputs: filepath, url.

fetchB

Fetch a specific Markdownify connector document by id. Use ids returned by the search tool.

Inputs: id (required).

get-markdown-fileA

Get a markdown file by absolute file path (file must exist on the server filesystem)

Inputs: filepath (required).

image-to-markdownA

Convert an image to markdown, including metadata and description. Use 'url' for online image files, or 'filepath' only if the file exists on the server. For local files, upload them first via /upload endpoint.

Inputs: filepath, url.

pdf-to-markdownA

Convert a PDF file to markdown. Use 'url' for online PDF files, or 'filepath' only if the file exists on the server. For local files, upload them first via /upload endpoint.

Inputs: filepath, url.

pptx-to-markdownA

Convert a PPTX file to markdown. Use 'url' for online PPTX files, or 'filepath' only if the file exists on the server. For local files, upload them first via /upload endpoint.

Inputs: filepath, url.

upload-file-for-conversionA

IMPORTANT: Use this tool when you need to convert a local file that doesn't exist on the server. This tool provides specific upload instructions and explains how to handle local files with remote servers.

Inputs: tool_type (required), local_file_path, reason.

webpage-to-markdownC

Convert a webpage to markdown

Inputs: url (required).

xlsx-to-markdownA

Convert an XLSX file to markdown. Use 'url' for online XLSX files, or 'filepath' only if the file exists on the server. For local files, upload them first via /upload endpoint.

Inputs: filepath, url.

youtube-to-markdownC

Convert a YouTube video to markdown, including transcript if available

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools have clear distinct purposes focused on converting specific file types or sources to markdown, with minimal overlap. However, 'fetch' and 'get-markdown-file' could potentially cause confusion as both retrieve markdown content, though 'fetch' targets connector documents by ID while 'get-markdown-file' uses file paths.

    Naming Consistency4/5

    The naming follows a consistent pattern where most tools use a clear 'source-to-markdown' format (e.g., 'pdf-to-markdown', 'webpage-to-markdown'), which is highly readable and predictable. Minor deviations include 'fetch' and 'search' which don't follow this pattern, and 'upload-file-for-conversion' uses underscores instead of hyphens, slightly breaking consistency.

    Tool Count5/5

    With 13 tools, the count is well-scoped for a server focused on markdown conversion from various sources. Each tool serves a distinct conversion purpose (e.g., audio, DOCX, PDF, YouTube), and the inclusion of utility tools like 'upload-file-for-conversion' and 'search' supports the core functionality without bloat.

    Completeness4/5

    The tool set provides comprehensive coverage for converting common file types and online sources to markdown, including audio, documents, images, PDFs, webpages, and videos. Minor gaps exist, such as no tools for editing or processing markdown files after conversion, but the core conversion workflows are well-covered with support for local and remote files.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
      5
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that converts various file formats (PDF, PowerPoint, Word, Excel, Images, etc.) to Markdown to make them accessible to LLMs.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      A Model Context Protocol server that converts over 29 file formats, including PDFs, Office documents, and audio, into structured Markdown using Microsoft's MarkItDown library. It enables AI assistants to process diverse document types through single file conversion and batch directory processing.
      3
      121 PyPI
      48
      MIT