Skip to main content
Glama
Simple Document Processing MCP Server

Simple Document Processing MCP Server

by cablate

Simple Document Processing MCP Server

A powerful Model Context Protocol (MCP) server providing comprehensive document processing capabilities.

Features

Document Reader

  • Read DOCX, PDF, TXT, HTML, CSV

Document Conversion

  • DOCX to HTML/PDF conversion

  • HTML to TXT/Markdown conversion

  • PDF manipulation (merge, split)

Text Processing

  • Multi-encoding transfer support (UTF-8, Big5, GBK)

  • Text formatting and cleaning

  • Text comparison and diff generation

  • Text splitting by lines or delimiter

HTML Processing

  • HTML cleaning and formatting

  • Resource extraction (images, links, videos)

  • Structure-preserving conversion

Related MCP server: docx-mcp

Installation

Installing via Smithery

To install Document Processing Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @cablate/mcp-doc-forge --client claude

Manual Installation

npm install -g @cablate/mcp-doc-forge

Usage

Cli

mcp-doc-forge

With Dive Desktop

  1. Click "+ Add MCP Server" in Dive Desktop

  2. Copy and paste this configuration:

{
  "mcpServers": {
    "searxng": {
      "command": "npx",
      "args": [
        "-y",
        "@cablate/mcp-doc-forge"
      ],
      "enabled": true
    }
  }
}
  1. Click "Save" to install the MCP server

License

MIT

Contributing

Welcome community participation and contributions! Here are ways to contribute:

  • ⭐️ Star the project if you find it helpful

  • 🐛 Submit Issues: Report problems or provide suggestions

  • 🔧 Create Pull Requests: Submit code improvements

Contact

If you have any questions or suggestions, feel free to reach out:

  • 📧 Email: reahtuoo310109@gmail.com

  • 📧 GitHub: CabLate

  • 🤝 Collaboration: Welcome to discuss project cooperation

  • 📚 Technical Guidance: Sincere welcome for suggestions and guidance

Available Tools

16 tools
document_readerA

Read content from non-image document-files at specified paths, supporting various file formats: .pdf, .docx, .txt, .html, .csv

Inputs: filePath (required).

docx_to_htmlA

Convert DOCX to HTML while preserving formatting

Inputs: inputPath (required), outputDir (required).

docx_to_pdfB

Convert DOCX files to PDF format

Inputs: inputPath (required), outputPath (required).

excel_readB

Read Excel file and convert to JSON format while preserving structure

Inputs: inputPath (required), includeHeaders.

format_convertC

Convert between different document formats (Markdown, HTML, XML, JSON)

Inputs: input (required), fromFormat (required), toFormat (required).

html_cleanerC

Clean HTML by removing unnecessary tags and attributes

Inputs: inputPath (required), outputDir (required).

html_extract_resourcesC

Extract all resources (images, videos, links) from HTML

Inputs: inputPath (required), outputDir (required).

html_formatterC

Format and beautify HTML code

Inputs: inputPath (required), outputDir (required).

html_to_markdownC

Convert HTML to Markdown format

Inputs: inputPath (required), outputDir (required).

html_to_textC

Convert HTML to plain text while preserving structure

Inputs: inputPath (required), outputDir (required).

pdf_mergerC

Merge multiple PDF files into one

Inputs: inputPaths (required), outputDir (required).

pdf_splitterB

Split a PDF file into multiple files

Inputs: inputPath (required), outputDir (required), pageRanges (required).

text_diffB

Compare two text files and show differences

Inputs: file1Path (required), file2Path (required), outputDir (required).

text_encoding_converterC

Convert text between different encodings

Inputs: inputPath (required), outputDir (required), fromEncoding (required), toEncoding (required).

text_formatterC

Format text with proper indentation and line spacing

Inputs: inputPath (required), outputDir (required).

text_splitterB

Split text file by specified delimiter or line count

Inputs: inputPath (required), outputDir (required), splitBy (required), value (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 16 tools

    Disambiguation5/5

    Each tool targets a distinct operation: reading various formats, specific conversions (docx, html, pdf, text), and manipulations. There is no overlap in purpose; even similar conversions like html_to_markdown and html_to_text are clearly differentiated.

    Naming Consistency5/5

    All tool names follow the verb_noun pattern (e.g., document_reader, docx_to_html, text_splitter) using consistent snake_case. The naming is predictable and easy to understand.

    Tool Count4/5

    With 16 tools, the count is slightly above the typical range of 3-15, but it is justified by the breadth of document formats and operations covered, making it reasonable for the server's purpose.

    Completeness4/5

    The tool set covers reading, converting, and manipulating common document formats (PDF, DOCX, HTML, text, Excel). Minor gaps exist, such as missing direct docx-to-text conversion (though document_reader can read docx), but the overall surface is comprehensive for most document processing needs.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers