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

mcp-document-suite

v1.0.3

Published

统一的文档处理MCP服务器 - 整合文档专家、Word转Markdown、Markdown转Word功能

Readme

统一文档处理MCP服务器 (mcp-document-suite)

整合文档专家、Word转Markdown、Markdown转Word功能的统一MCP服务器。

功能特性

1. Word转Markdown (word_to_markdown)

  • 将Word文档(.docx)转换为Markdown格式
  • 支持Mermaid图表自动转为图片
  • 支持表格转换

2. Markdown转Word (markdown_to_word)

  • 将Markdown文档转换为Word文档(.docx)
  • 支持Mermaid图表渲染
  • 支持标题、列表、表格等格式

3. 文档专家 (document_expert_*)

根据30项标准文档清单生成各类项目交付文档:

  • 第一阶段: 可行性研究报告、招标文件、投标文件、中标通知书、承建合同、开工申请
  • 第二阶段: 实施方案、项目经理授权函、系统部署调试记录、需求规格说明书、概要设计说明书、详细设计说明书、数据库设计说明书
  • 第三阶段: 内部测试报告、项目周报、测试方案、测试记录、工作报告、技术报告
  • 第四阶段: 培训记录、试运行报告、第三方系统测试报告、第三方安全测评报告、使用及维护手册、运行保障措施
  • 第五阶段: 用户使用情况报告、效益分析报告、经费使用情况报告

安装

cd mcp-document-suite
npm install
npm run build

使用

启动服务器

# Windows
start.bat

# 或手动
npm start

可用工具

1. word_to_markdown

{
  "name": "word_to_markdown",
  "arguments": {
    "docx_path": "path/to/document.docx",
    "output_path": "path/to/output.md",
    "output_dir": "path/to/images"
  }
}

2. markdown_to_word

{
  "name": "markdown_to_word",
  "arguments": {
    "md_path": "path/to/document.md",
    "docx_path": "path/to/output.docx"
  }
}

3. document_expert_generate

{
  "name": "document_expert_generate",
  "arguments": {
    "document_type": "11_需求规格说明书",
    "project_name": "XX系统项目",
    "template_mode": "default",
    "reference_materials": ["path/to/可研方案.md"],
    "output_path": "path/to/output.md"
  }
}

4. document_expert_list

{
  "name": "document_expert_list",
  "arguments": {}
}

5. document_expert_check

{
  "name": "document_expert_check",
  "arguments": {
    "document_type": "11_需求规格说明书",
    "materials": ["path/to/可研方案.md", "path/to/需求分析.md"]
  }
}

项目结构

mcp-document-suite/
├── src/
│   ├── index.ts              # 主入口
│   └── tools/
│       ├── wordToMarkdown.ts    # Word转Markdown
│       ├── markdownToWord.ts    # Markdown转Word
│       └── documentExpert.ts    # 文档专家
├── package.json
├── tsconfig.json
└── start.bat

依赖

  • @modelcontextprotocol/sdk: MCP协议实现
  • mammoth: Word文档解析
  • docx: Word文档生成
  • markdown-it: Markdown解析

注意事项

  1. Mermaid图表转换需要网络访问 mermaid.ink API
  2. 文档专家需要提供足够的参考材料才能生成完整文档
  3. 生成的Word文档使用宋体字体