Markdownify MCP Server - UTF-8 Enhanced

Markdownify MCP Server - UTF-8 Enhanced

markdownify-mcp-utf8•byjdjr2024

An enhanced fork of the Markdownify MCP project that converts files and web content to Markdown with improved UTF-8 encoding and multilingual support.

License: MIT License•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Converts a range of file types including PDFs, images, audio, Word, Excel and PowerPoint documents to Markdown.
  • •Handles web content such as YouTube transcripts, search results and general web pages.
  • •Adds full UTF-8 support across all operations, including proper handling of Chinese, Japanese, Korean and other non-ASCII characters and Windows encoding fixes.
  • •Adds batch processing of multiple files and improved metadata extraction from various file formats.

BEST FOR

  • •Converting documents and web pages into Markdown for use by MCP-enabled desktop applications.
  • •Working with multilingual content containing Chinese, Japanese, Korean or other non-ASCII characters.
  • •Processing many files or URLs in batch.

ABOUT MARKDOWNIFY-MCP-UTF8

Markdownify MCP Server - UTF-8 Enhanced is cataloged as an MCP server attributed to jdjr2024. An enhanced fork of the Markdownify MCP project that converts files and web content to Markdown with improved UTF-8 encoding and multilingual support. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Markdownify MCP Server - UTF-8 Enhanced are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What makes this version different from the original Markdownify MCP project?

It adds comprehensive UTF-8 support, optimized multilingual handling, fixes Windows encoding issues and improves error handling.

Which file formats can be converted to Markdown?

PDF, images, audio, DOCX, XLSX, PPTX, YouTube transcripts, search results, web pages and existing Markdown files.

Upstream README

View this exact version on GitHub

README.md · f7445b2ab767 · Fetched 2026-11-13 10:04:51 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Markdownify MCP Server - UTF-8 Enhanced

This is an enhanced version of the original Markdownify MCP project, with improved UTF-8 encoding support and optimized handling of multilingual content.

中文文档

Enhancements

  • Added comprehensive UTF-8 encoding support
  • Optimized handling of multilingual content
  • Fixed encoding issues on Windows systems
  • Improved error handling mechanisms

Key Differences from Original Project

  1. Enhanced Encoding Support:

    • Full UTF-8 support across all operations
    • Proper handling of Chinese, Japanese, Korean and other non-ASCII characters
    • Fixed Windows-specific encoding issues (cmd.exe and PowerShell compatibility)
  2. Improved Error Handling:

    • Detailed error messages in both English and Chinese
    • Better exception handling for network issues
    • Graceful fallback mechanisms for conversion failures
  3. Extended Functionality:

    • Added support for batch processing multiple files
    • Enhanced YouTube video transcript handling
    • Improved metadata extraction from various file formats
    • Better preservation of document formatting
  4. Performance Optimizations:

    • Optimized memory usage for large file conversions
    • Faster processing of multilingual content
    • Reduced dependency conflicts
  5. Better Development Experience:

    • Comprehensive debugging options
    • Detailed logging system
    • Environment-specific configuration support
    • Clear documentation in both English and Chinese

Features

Supports converting various file types to Markdown:

  • PDF files
  • Images (with metadata)
  • Audio (with transcription)
  • Word documents (DOCX)
  • Excel spreadsheets (XLSX)
  • PowerPoint presentations (PPTX)
  • Web content:
    • YouTube video transcripts
    • Search results
    • General web pages
  • Existing Markdown files

Quick Start

  1. Clone this repository:

    git clone https://github.com/JDJR2024/markdownify-mcp-utf8.git
    cd markdownify-mcp-utf8
    
  2. Install dependencies:

    pnpm install
    

    Note: This will also install uv and related Python dependencies.

  3. Build the project:

    pnpm run build
    
  4. Start the server:

    pnpm start
    

Requirements

  • Node.js 16.0 or higher
  • Python 3.8 or higher
  • pnpm package manager
  • Git

Detailed Installation Guide

1. Environment Setup

  1. Install Node.js:

  2. Install pnpm:

    npm install -g pnpm
    pnpm --version
    
  3. Install Python:

    • Download from Python official website
    • Ensure Python is added to PATH during installation
    • Verify installation: python --version
  4. (Windows Only) Configure UTF-8 Support:

    # Set system-wide UTF-8
    setx PYTHONIOENCODING UTF-8
    # Set current session UTF-8
    set PYTHONIOENCODING=UTF-8
    # Enable UTF-8 in command prompt
    chcp 65001
    

2. Project Setup

  1. Clone the repository:

    git clone https://github.com/JDJR2024/markdownify-mcp-utf8.git
    cd markdownify-mcp-utf8
    
  2. Create and activate Python virtual environment:

    # Windows
    python -m venv .venv
    .venv\Scripts\activate
    
    # Linux/macOS
    python3 -m venv .venv
    source .venv/bin/activate
    
  3. Install project dependencies:

    # Install Node.js dependencies
    pnpm install
    
    # Install Python dependencies (will be handled by setup.sh)
    ./setup.sh
    
  4. Build the project:

    pnpm run build
    

3. Verification

  1. Start the server:

    pnpm start
    
  2. Test the installation:

    # Convert a web page
    python convert_utf8.py "https://example.com"
    
    # Convert a local file
    python convert_utf8.py "path/to/your/file.docx"
    

Usage Guide

Basic Usage

  1. Converting Web Pages:

    python convert_utf8.py "https://example.com"
    

    The converted markdown will be saved as converted_result.md

  2. Converting Local Files:

    # Convert DOCX
    python convert_utf8.py "document.docx"
    
    # Convert PDF
    python convert_utf8.py "document.pdf"
    
    # Convert PowerPoint
    python convert_utf8.py "presentation.pptx"
    
    # Convert Excel
    python convert_utf8.py "spreadsheet.xlsx"
    
  3. Converting YouTube Videos:

    python convert_utf8.py "https://www.youtube.com/watch?v=VIDEO_ID"
    

Advanced Usage

  1. Environment Variables:

    # Set custom UV path
    export UV_PATH="/custom/path/to/uv"
    
    # Set custom output directory
    export MARKDOWN_OUTPUT_DIR="/custom/output/path"
    
  2. Batch Processing: Create a batch file (e.g., convert_batch.txt) with URLs or file paths:

    https://example1.com
    https://example2.com
    file1.docx
    file2.pdf
    

    Then run:

    while read -r line; do python convert_utf8.py "$line"; done < convert_batch.txt
    

Troubleshooting

  1. Common Issues:

    • If you see encoding errors, ensure UTF-8 is properly set
    • For permission issues on Windows, run as Administrator
    • For Python path issues, ensure virtual environment is activated
  2. Debugging:

    # Enable debug output
    export DEBUG=true
    python convert_utf8.py "your_file.docx"
    

Usage

Command Line

Convert web page to Markdown:

python convert_utf8.py "https://example.com"

Convert local file:

python convert_utf8.py "path/to/your/file.docx"

Desktop App Integration

To integrate this server with a desktop app, add the following to your app's server configuration:

{
  "mcpServers": {
    "markdownify": {
      "command": "node",
      "args": [
        "{ABSOLUTE_PATH}/dist/index.js"
      ],
      "env": {
        "UV_PATH": "/path/to/uv"
      }
    }
  }
}

Troubleshooting

  1. Encoding Issues

    • If you encounter character encoding issues, ensure the PYTHONIOENCODING environment variable is set to utf-8
    • Windows users may need to run chcp 65001 to enable UTF-8 support
  2. Permission Issues

    • Ensure you have sufficient file read/write permissions
    • On Windows, you may need to run as administrator

Acknowledgments

This project is based on the original work by Zach Caceres. Thanks to the original author for their outstanding contribution.

License

This project continues to be licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Before submitting a Pull Request, please:

  1. Ensure your code follows the project's coding standards
  2. Add necessary tests and documentation
  3. Update relevant sections in the README

Contact

For issues or suggestions:

  1. Submit an Issue: https://github.com/JDJR2024/markdownify-mcp-utf8/issues
  2. Create a Pull Request: https://github.com/JDJR2024/markdownify-mcp-utf8/pulls
  3. Email: jdidndosmmxmx@gmail.com

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Markdownify MCP Server - UTF-8 Enhanced from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/markdownify-mcp-utf8)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation