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

@diagrammo/dgmo-mcp

v0.1.3

Published

MCP server for rendering DGMO diagrams — SVG/PNG output, browser preview, HTML reports, and 29 chart types. Works with Claude Desktop, Claude Code, and any MCP client.

Readme

@diagrammo/dgmo-mcp

MCP server for rendering DGMO diagrams. Works with Claude Desktop, Claude Code, and any MCP-compatible AI tool.

Tools

| Tool | Description | |------|-------------| | render_diagram | Render DGMO markup to SVG or PNG | | share_diagram | Generate a shareable diagrammo.app URL | | open_in_app | Open diagram in Diagrammo desktop app (falls back to browser if app not installed) | | list_chart_types | List all 29 supported chart types | | get_language_reference | Get DGMO syntax documentation | | preview_diagram | Render one or more diagrams and open an HTML preview in the browser | | generate_report | Generate a polished HTML report with multiple diagrams, ToC, and optional source |

preview_diagram

Renders one or more DGMO diagrams to SVG and opens a self-contained HTML page in the default browser. The page includes a light/dark theme toggle and responsive SVG layout.

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | diagrams | [{ title?, dgmo }] | (required) | One or more diagrams to preview | | theme | 'light' \| 'dark' | 'light' | Color theme for rendered SVGs | | palette | string | 'nord' | Color palette | | include_source | boolean | false | Show DGMO source in collapsible blocks |

A single diagram renders as a simple preview page. Multiple diagrams produce a report-style layout with a table of contents (when >3 sections). If some diagrams fail to render, successful ones are shown with error placeholders for the failures.

generate_report

Generates a polished multi-section HTML report and optionally opens it in the browser. Includes a title, optional subtitle, auto-generated table of contents, per-section descriptions, and a timestamp footer. Suitable for bundling project analysis into a shareable document.

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | title | string | (required) | Report title | | subtitle | string | — | Optional subtitle | | sections | [{ title, description?, dgmo }] | (required) | Report sections, each with a diagram | | theme | 'light' \| 'dark' | 'light' | Color theme for rendered SVGs | | palette | string | 'nord' | Color palette | | include_source | boolean | false | Show DGMO source in collapsible blocks | | open | boolean | true | Open the report in the browser |

Setup

Claude Code

Add to your project's .claude/settings.local.json:

{
  "mcpServers": {
    "dgmo": {
      "command": "node",
      "args": ["/path/to/dgmo-mcp/dist/index.js"]
    }
  }
}

Or with npx (after publishing):

{
  "mcpServers": {
    "dgmo": {
      "command": "npx",
      "args": ["-y", "@diagrammo/dgmo-mcp"]
    }
  }
}

Claude Desktop

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

{
  "mcpServers": {
    "dgmo": {
      "command": "node",
      "args": ["/path/to/dgmo-mcp/dist/index.js"]
    }
  }
}

Development

pnpm install
pnpm build
pnpm typecheck