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

@superdoc-dev/mcp

v0.17.0

Published

MCP server for SuperDoc. Lets AI agents open, read, edit, and save `.docx` files through the [Model Context Protocol](https://modelcontextprotocol.io).

Readme

@superdoc-dev/mcp

MCP server for SuperDoc. Lets AI agents open, read, edit, and save .docx files through the Model Context Protocol.

Works with Claude Code, Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.

Quick start

npx @superdoc-dev/mcp

The server runs locally over stdio as a subprocess. You don't run it directly; your MCP client spawns it.

Setup

Claude Code

claude mcp add superdoc -- npx @superdoc-dev/mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "superdoc": {
      "command": "npx",
      "args": ["@superdoc-dev/mcp"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "superdoc": {
      "command": "npx",
      "args": ["@superdoc-dev/mcp"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "superdoc": {
      "command": "npx",
      "args": ["@superdoc-dev/mcp"]
    }
  }
}

Tools

The MCP server exposes 12 tools total:

  • 3 lifecycle tools: superdoc_open, superdoc_save, superdoc_close
  • 9 grouped intent tools generated from the SDK catalog

All tools except superdoc_open take a session_id from superdoc_open.

Lifecycle

| Tool | Description | | --- | --- | | superdoc_open | Open a .docx file and get a session_id | | superdoc_save | Save the document to disk (original path or custom out path) | | superdoc_close | Close the session and release memory |

Intent tools

| Tool | Actions | Description | | --- | --- | --- | | superdoc_get_content | text, markdown, html, info | Read document content in different formats | | superdoc_search | match | Find text or nodes and return handles or addresses for later edits | | superdoc_edit | insert, replace, delete, undo, redo | Perform text edits and history actions | | superdoc_format | inline, set_style, set_alignment, set_indentation, set_spacing | Apply inline or paragraph formatting | | superdoc_create | paragraph, heading | Create structural block elements | | superdoc_list | insert, create, detach, indent, outdent, set_level, set_type | Create and manipulate lists | | superdoc_comment | create, update, delete, get, list | Manage comment threads | | superdoc_track_changes | list, decide | Review and resolve tracked changes | | superdoc_mutations | preview, apply | Execute multi-step atomic edits as a batch |

Workflow

Every interaction follows the same pattern:

open → read/search → edit → save → close
  1. superdoc_open loads a document and returns a session_id
  2. superdoc_get_content reads the current document and superdoc_search finds stable handles or addresses
  3. Intent tools use session_id plus action to modify content
  4. superdoc_save writes changes to disk
  5. superdoc_close releases the session

Tracked changes

Actions that support tracked edits use the underlying Document API's changeMode: "tracked" option. Review or resolve tracked edits with superdoc_track_changes.

Development

# Run locally
bun run src/index.ts

# Run tests
bun test

# Test with MCP Inspector
npx @modelcontextprotocol/inspector -- bun run src/index.ts

License

See the SuperDoc license.