npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

docxmcp

v1.0.0

Published

A Model Context Protocol (MCP) server for processing .docx files into markdown with image extraction

Readme

DocxMCP

A Model Context Protocol (MCP) server that processes .docx files and converts them to markdown format with image extraction.

Quick Start

Run the server without installation using npx:

npx -y docxmcp@latest

Features

  • Converts .docx documents to clean markdown format
  • Extracts embedded images as base64-encoded data
  • Provides a simple MCP tool interface for document processing
  • Zero configuration required

Usage

Starting the Server

# Run with default settings (stdio)
npx -y docxmcp@latest

# Run with debug logging
npx -y docxmcp@latest --log-level debug

# Run on a specific port (for testing)
npx -y docxmcp@latest --port 3000

# Show help
npx -y docxmcp@latest --help

Available Options

  • --port <port> - Port to listen on (default: stdio)
  • --log-level <level> - Log level: debug, info, warn, error (default: info)
  • --help, -h - Show help message
  • --version, -v - Show version

MCP Tool Interface

The server exposes a single MCP tool:

process_docx

Processes a .docx file and returns its contents as markdown with extracted images.

Input:

{
  "filePath": "/path/to/document.docx"
}

Output:

{
  "content": [
    {
      "type": "text",
      "text": "# Document Title\n\nDocument content in markdown format..."
    },
    {
      "type": "image",
      "data": "base64-encoded-image-data",
      "mimeType": "image/png"
    }
  ]
}

Integration with MCP Clients

Claude Desktop

Add to your Claude configuration file:

{
  "mcpServers": {
    "docxmcp": {
      "command": "npx",
      "args": ["-y", "docxmcp@latest"]
    }
  }
}

Goose

Configure in your Goose settings:

mcp_servers:
  - name: docxmcp
    command: npx
    args: ["-y", "docxmcp@latest"]

Quick Validation Example

To test that the server is working correctly:

  1. Start the server:

    npx -y docxmcp@latest --log-level debug
  2. In another terminal, send a test request to process a .docx file

  3. You should see markdown output with any extracted images

Troubleshooting

Common Issues

  1. "File must be a .docx document" error

    • Ensure the file path ends with .docx
    • The server only processes Word documents in .docx format
  2. "File does not exist or is not accessible" error

    • Verify the file path is correct and absolute
    • Check file permissions
  3. No output or server not responding

    • Ensure you're using stdio mode (default) when integrating with MCP clients
    • Check the log level for more detailed debugging information

Requirements

  • Node.js >= 16.0.0
  • Works on macOS, Linux, and Windows

License

ISC

Repository

https://github.com/alephnull1678/DocxMCP