原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Word to Markdown

作者:benbalter版本 0.9.0i★ 272i在你的电脑上运行
注册名称io.github.benbalter/word-to-markdown

安装方法

What it does

Convert Word (.docx) documents to Markdown via CLI, Node.js, or browser

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "word-to-markdown": {
          "command": "npx",
          "args": [
            "-y",
            "word-to-markdown",
            "mcp"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 Word to Markdown 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Word to Markdown,或回答中出现 Word to Markdown 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Word to Markdown

Word to Markdown 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Word to Markdown 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次)

B · 文档、表格与办公 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user word-to-markdown -- npx -y word-to-markdown mcp
  4. 在 Claude Code 中输入 /mcp

    应能看到 Word to Markdown 在列表中并显示已连接

  5. 试一试

    用 Word to Markdown 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Word to Markdown,或回答中出现 Word to Markdown 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Word to Markdown 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Word to Markdown,或回答中出现 Word to Markdown 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 Word to Markdown 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Word to Markdown,或回答中出现 Word to Markdown 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Word to Markdown 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user word-to-markdown -- npx -y word-to-markdown mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "word-to-markdown": {
      "command": "npx",
      "args": [
        "-y",
        "word-to-markdown",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "word-to-markdown": {
      "command": "npx",
      "args": [
        "-y",
        "word-to-markdown",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "word-to-markdown": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "word-to-markdown",
        "mcp"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
266/周
许可证i
Apache-2.0
连接方式
在你的电脑上运行
最新版本i
0.9.0
发布到注册中心i
2026年10月26日
代码最后更新i
2026年11月13日
作者
benbalter
软件包
npm: word-to-markdown
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 benbalter 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于前天

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3929 个服务器的 99%
  • 发布到注册中心的时间比此分类中其他 3929 个服务器的 61% 更新
  • 基础检查结果等于或优于此分类中其他 3929 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Word to Markdown 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于前天,最新版本(0.9.0)于20天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Puter MCP, XcodeBuildMCP, XcodeBuildMCP

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

作者:HeyPuter广泛使用★ 4.4万5个月前更新

在云端运行✓ 服务方 · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:getsentry广泛使用↓ 13万/周 共用包的下载量★ 65734个月前更新

在你的电脑上运行✓ 服务方 · xcodebuildmcp.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

作者:cameroncooke广泛使用↓ 13万/周 共用包的下载量★ 657314个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Word to Markdown (DOCX → Markdown converter)

Convert Word documents to beautiful Markdown. Via command line, as a Node library, or in your browser. An even better version of the original word-to-markdown.

Try it in your browser at word2md.com, or use it from the command line — no clone required:

npx word-to-markdown input.docx > output.md

What it converts

  • Paragraphs and line breaks
  • Headings
  • Bold, italic, and strikethrough
  • Superscript and subscript — preserved as inline / tags
  • Bullet lists, and numbered lists (kept as 1./2./3. by default)
  • Nested lists
  • Tables
  • Links
  • Footnotes and endnotes — converted to GFM/Pandoc [^1] footnotes
  • Images — embedded inline as base64 data URIs, or extracted to files
  • Equations — converted to LaTeX: inline $…$, or a $$ block for an equation on its own line
Notes and limitations
  • Numbered lists are kept as 1./2./3. ordered lists, numbered as Word numbers them, so a list interrupted by a paragraph, table, or another list continues where it left off. Pass { numberedLists: 'bullets' } (library) or --bullet-lists (CLI) to convert them to bullet lists instead (matching the original word-to-markdown). Outline numbering that repeats the parent's number, like contracts' 1. → 1.1, 1.2, is written out as text (## 1. Scope, 1.1 Purpose), since Markdown lists can't show it.
  • Images are inlined as base64 data URIs by default. To extract them to files with relative links instead, use { images: 'extract' } (library — the bytes come back on ConvertResult.images) or --image-dir (CLI). Drop them entirely with { images: 'strip' } / --strip-images. On the web, documents with images offer a Download .zip (Markdown + an images/ folder). For full control, pass a custom Mammoth image handler via options.mammoth.
  • Underline is dropped by default (Mammoth's default, since underlines are easily confused with links). Pass { underline: 'preserve' } (library) or --underline (CLI) to keep it as an inline tag.
  • Curly quotes (“ ” ‘ ’) are kept when the text is mostly Chinese, where they are the Chinese quotation marks, and converted to ASCII everywhere else. Word writes the same code points for English curly quotes, so a quote can't be classified on its own. Pass { quotes: 'ascii' } (library) or --quotes ascii (CLI) to always convert, or 'preserve' / --quotes preserve to always keep them.
  • Footnotes and endnotes become standard GFM/Pandoc footnotes — a [^1] reference in the body and a [^1]: … definition at the end — which render on GitHub and in the web preview. Pass { footnotes: 'preserve' } (library) or --preserve-footnotes (CLI) to instead keep Mammoth's raw links and numbered note list (useful for CommonMark targets that lack footnote support). Notes whose bodies span multiple paragraphs are converted with indented continuation paragraphs.
  • Text boxes are converted as paragraphs after the containing paragraph. A text box saved without Word's VML fallback (as some other tools write them) is dropped, and convertWithWarnings warns.
  • Comments are dropped during the .docx → HTML step, and convertWithWarnings warns with how many had text. To keep them, map them in a Mammoth style map, e.g. { mammoth: { styleMap: ['comment-reference => sup'] } }.
  • Headers and footers are dropped. convertWithWarnings warns when one has text beyond a page number.
  • Equations (Office Math) become LaTeX: inline $…$, or a $$…$$ block when the equation is on its own line, which GitHub and most Markdown math renderers (KaTeX, MathJax) display. Fractions, scripts, roots, sums and integrals, brackets, functions and limits, accents, and matrices are converted. Pass { equations: 'strip' } (library) or --strip-equations (CLI) to drop them instead, with a convertWithWarnings warning.
  • Heading levels come from Word's paragraph styles, not from font size.

How is this different from the original?

_TL;DR: This project is a complete rewrite, using modern tools and libraries, and is much faster and more reliable. The output should be the same or better. Feedback welcome!_

A note on privacy

Word to Markdown is designed with privacy as a core principle. The application operates entirely client-side:

  • Complete client-side processing: When using the web interface, all document conversion happens locally in your browser using JavaScript. Your documents never leave your computer.
  • No server uploads: When using the web interface, files are processed entirely on your device. No document content is ever transmitted to any server.
  • No personal data collection: The application does not collect, store, or transmit any personal information or document contents.
  • Privacy-first analytics: The hosted version at word2md.com uses only privacy-centric Cloudflare Analytics for anonymous usage statistics. No Google Analytics or user tracking.
  • Self-hosting option: For maximum privacy, you can run the application locally or self-host it without any analytics whatsoever.

Whether you use the command line tool, run it locally in your browser, or use the hosted version, your documents and privacy are protected.

Command line

Run it directly with npx (downloads and runs the latest published version):

npx word-to-markdown path/to/your/file.docx > output.md

Or install it globally to get the w2m command:

npm install -g word-to-markdown

w2m path/to/your/file.docx > output.md

The converted Markdown is written to stdout and any document warnings (encryption, sensitivity labels, and the like) to stderr, so a redirect captures only the Markdown. The command exits with status 1 and a friendly message if the file is missing, unreadable, or not a valid .docx. Only .docx is supported — re-save older .doc files as .docx first.

To read the document from stdin, pass - as the file, or leave it out and pipe the file in:

cat report.docx | w2m > report.md

curl -sL https://example.com/report.docx | w2m - -o report.md

Options:

  • -o, --output — write the Markdown to instead of stdout (warnings still go to stderr). -o - means stdout.
  • --bullet-lists — convert numbered lists to bullets instead of keeping 1./2./3..
  • --underline — preserve underlined text as inline tags (dropped by default).
  • --strip-images — remove images instead of embedding them as base64 data URIs.
  • --image-dir — extract images to and link them relatively, instead of embedding base64. Links resolve relative to where you save the Markdown, e.g. w2m --image-dir images report.docx > report.md, or with -o, w2m -o out/report.md --image-dir images report.docx (images land in out/images/).
  • --preserve-footnotes — keep Word footnotes as raw links and a numbered note list instead of GFM [^1] footnotes.
  • --strip-equations — drop Word equations instead of converting them to LaTeX.
  • --quotes — how to treat curly quotes: auto (default) keeps them in mostly-Chinese text, ascii converts them everywhere, preserve keeps them everywhere.
  • -q, --quiet — print nothing to stderr except errors: no warnings and no "Wrote …" notes.
  • --strict — exit with status 2 if the document has warnings, so a script can tell "converted, but check it" (2) from "failed" (1). The Markdown is still written. Combine with --quiet to rely on the exit status alone.
  • --verbose — On failure, also print the underlying error and stack trace.
  • -V, --version — print the version.

MCP server

w2m mcp runs a local Model Context Protocol server on stdio, so AI agents can convert .docx files on your machine. Like the website, it never uploads anything: the agent passes a file path, and the server reads and converts the file locally.

In Claude Desktop, it's one click: download word-to-markdown.mcpb and double-click it. Claude Desktop installs it as an extension. You don't need Node or a terminal, since Claude Desktop includes Node.

Add it to Claude Code:

claude mcp add word-to-markdown -- npx -y word-to-markdown mcp

Or to any MCP client that takes a JSON config:

{

"mcpServers": { "word-to-markdown": { "command": "npx", "args": ["-y", "word-to-markdown", "mcp"] } } }

It has one tool, convert_docx_to_markdown:

  • path (required): the .docx to convert. Prefer an absolute path; relative paths resolve against the server's working directory.
  • output_path: write the Markdown to this .md (or .markdown) file instead of returning it, which is handy for long documents. The tool won't write through a symlink.
  • image_dir: extract images into this folder and link them. It must be a relative folder inside output_path's folder (or the .docx's). By default images are dropped, because base64 images would flood the agent's context.
  • overwrite: replace output_path or image files that already exist. Off by default, so the tool refuses rather than clobbering a file. That matters when an agent is acting on instructions it read in a document.
  • bullet_lists, preserve_footnotes: same as the CLI flags.

It returns the Markdown and any document warnings, also as structured content.

In the browser, word2md.com registers the same conversion as WebMCP tools (convert_docx_to_markdown, taking the file as base64, and get_converted_markdown) for agents in browsers that support it. They run in the tab, just like dropping a file.

Use as a library

Published to npm as word-to-markdown. It ships as an ES module with TypeScript declarations and requires Node 22.13 or later.

npm install word-to-markdown
import convert, { convertWithWarnings } from 'word-to-markdown';

// Just the Markdown: const markdown = await convert('path/to/your/file.docx');

// Markdown plus any document warnings (e.g. encryption, sensitivity labels): const { markdown, warnings } = await convertWithWarnings( 'path/to/your/file.docx', );

Both functions accept either a file-path string (Node) or an ArrayBuffer (Node or the browser):

const { markdown } = await convertWithWarnings(arrayBuffer);
API
  • `convert(input, options?): Promise ` — resolves to the Markdown.
  • `convertWithWarnings(input, options?): Promise<{ markdown: string; warnings: string[]; warningDetails: WarningDetail[]; images? }>` — also returns human-readable warnings for encrypted, protected, or sensitivity-labeled documents and for dropped content, and (in extract mode) the extracted images. warningDetails has one { kind, message, detail? } entry per warning, where kind is encrypted, `sensi

只显示了开头部分;其余内容请在仓库中阅读