MCP Document Converter

by demo112

282 downloads Not rated yet MIT
GitHub

About

πŸ“„ MCP Server for Document Conversion β€” PDF, DOCX, HTML, EPUB to Markdown | 6 Tools, Docker-ready

Details

License
MIT

Explore

- πŸ“„ Multi-format support: PDF, DOCX, HTML, EPUB, CSV, JSON, images (via OCR), and plain text
- πŸ”§ 6 MCP tools: convert_file, convert_url, list_supported_formats, batch_convert, extract_metadata, convert_directory
- 🐍 Zero external dependencies for core: Uses Python standard library + markdownify for HTML
- ⚑ Fast: In-memory processing, no temp files
- 🐳 Docker-ready: Single Dockerfile, one command deploy

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Document Converter
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository


pip install -r requirements.txt

Add to your MCP settings (~/.claude/settings.json):

json
{
"mcpServers": {
"convert": {
"command": "python",
"args": ["-m", "mcp_server_convert"],
"cwd": "/path/to/mcp-server-convert"
}
}
}

json
{
"mcpServers": {
"convert": {
"command": "docker",
"args": ["run", "-i", "--rm", "-v", "/path/to/files:/data", "mcp-server-convert"]
}
}
}
```

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp document converter": {
            "mcp-server-convert": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "-v",
                    "/path/to/files:/data",
                    "mcp-server-convert"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-convert": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "-v",
            "/path/to/files:/data",
            "mcp-server-convert"
        ]
    }
}

mcp-server-convert

A lightweight Model Context Protocol (MCP) server that converts documents to Markdown. Supports PDF, DOCX, HTML, EPUB, CSV, JSON, and plain text files.

Perfect for AI agents that need to ingest and understand document content.

Features

- πŸ“„ Multi-format support: PDF, DOCX, HTML, EPUB, CSV, JSON, images (via OCR), and plain text
- πŸ”§ 6 MCP tools: convert_file, convert_url, list_supported_formats, batch_convert, extract_metadata, convert_directory
- 🐍 Zero external dependencies for core: Uses Python standard library + markdownify for HTML
- ⚑ Fast: In-memory processing, no temp files
- 🐳 Docker-ready: Single Dockerfile, one command deploy

Quick Start

Install & Run

```bash

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.