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

docannote-mcp

v1.0.1

Published

MCP server for DocAnnote — connect Claude to your HTML annotation workspace

Readme

docannote-mcp

MCP server for DocAnnote — lets Claude read, edit, and annotate HTML documents stored in your DocAnnote workspace.

What is DocAnnote?

DocAnnote is a local-first HTML annotation platform. You import HTML files, pin comment threads at specific positions, and then Claude (via this MCP server) reads those comments, edits the HTML to address them, and marks threads as resolved — all in real time.

Quick setup (Claude Code CLI)

Run this once in your terminal:

claude mcp add docannote -e DOCANNOTE_URL=https://docannote-production.up.railway.app -- npx -y docannote-mcp

That's it. No cloning, no path configuration, no JSON editing.

Claude Desktop setup

Add this to ~/Library/Application Support/Claude/claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "docannote": {
      "command": "npx",
      "args": ["-y", "docannote-mcp"],
      "env": {
        "DOCANNOTE_URL": "https://docannote-production.up.railway.app"
      }
    }
  }
}

Self-hosted backend

If you're running DocAnnote locally, replace the DOCANNOTE_URL value with your local address:

claude mcp add docannote -e DOCANNOTE_URL=http://localhost:3001 -- npx -y docannote-mcp

Available tools

| Tool | Description | |------|-------------| | get_full_context | Start here. Returns HTML + all open comment threads + version history in one call. | | list_documents | List all documents with IDs, names, open comment counts, and version counts. | | get_document | Get current HTML content and metadata for a document. | | get_comments | Get comment threads for a document, optionally filtered by status (open, resolved, all). | | update_document | Save new HTML content. Auto-creates a version snapshot and notifies connected browsers live. | | resolve_comment | Mark a comment thread as resolved after addressing it. | | add_comment | Pin a new comment at a position (x/y as % of preview area). | | create_document | Import a new HTML document into DocAnnote. | | get_version_history | Get full version history for a document, newest first. | | restore_version | Restore an older version as the new HEAD (non-destructive). |

Typical workflow

  1. Open docannote.vercel.app and import an HTML file
  2. Switch to Comment mode, click or select text to add comment threads
  3. Tell Claude: "Look at doc <id> in DocAnnote and apply all the open comments."
  4. Claude calls get_full_context → edits the HTML → calls update_document → calls resolve_comment for each thread addressed
  5. Your browser updates live via WebSocket

Environment variables

| Variable | Default | Description | |----------|---------|-------------| | DOCANNOTE_URL | http://localhost:3000 | URL of the DocAnnote backend |

Requirements

  • Node.js 18+
  • A running DocAnnote backend (hosted at docannote-production.up.railway.app or self-hosted)