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-monodraw

v0.1.0

Published

MCP server for Monodraw - Export ASCII art diagrams, create flowcharts, sequence diagrams, and integrate with Claude AI

Readme

mcp-monodraw

An MCP (Model Context Protocol) server for Monodraw, the powerful ASCII art editor for macOS.

Features

  • Export diagrams - Convert .monopic and .monojson files to plain text or JSON
  • List diagrams - Find all Monodraw files in a directory
  • Open in Monodraw - Launch files directly in the Monodraw app
  • Create ASCII art - Generate boxes, flowcharts, tables, trees, and sequence diagrams
  • Diagram prompts - Pre-built templates for common diagram types

Requirements

  • Node.js 18+
  • macOS
  • Monodraw (Direct version from helftone.com, not App Store)

Note: The Monodraw CLI is only available in the Direct version. The Mac App Store version does not include CLI support due to sandbox restrictions.

Installation

npm install -g mcp-monodraw

Or use directly with npx:

npx mcp-monodraw

Configuration

Claude Code

Add the MCP server to your project or global config:

claude mcp add monodraw -- npx mcp-monodraw

Or manually add to ~/.claude/settings.json:

{
  "mcpServers": {
    "monodraw": {
      "command": "npx",
      "args": ["mcp-monodraw"]
    }
  }
}

Claude Desktop

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

{
  "mcpServers": {
    "monodraw": {
      "command": "npx",
      "args": ["mcp-monodraw"]
    }
  }
}

Tools

export_diagram

Export a Monodraw diagram to plain ASCII text.

filePath: string (required) - Path to the .monopic or .monojson file
unicode: boolean - Use Unicode characters in output (default: false)
trimWhitespace: boolean - Trim trailing whitespace (default: true)

export_diagram_json

Export a diagram with full metadata as structured JSON.

filePath: string (required) - Path to the diagram file

list_diagrams

Find all Monodraw files in a directory.

directory: string - Directory to search (default: ".")
recursive: boolean - Search subdirectories (default: true)

open_in_monodraw

Open a file in the Monodraw application.

filePath: string (required) - Path to the file to open

get_diagram_preview

Get a text preview of a diagram file.

filePath: string (required) - Path to the diagram file
maxLines: number - Maximum lines to return (default: 20)

create_ascii_art

Generate ASCII art programmatically.

type: "box" | "flowchart" | "sequence" | "architecture" | "table" | "tree"
content: string (required) - Content or description
style: "single" | "double" | "rounded" | "heavy" | "ascii" (default: "single")
width: number - Maximum width

Prompts

Pre-built templates for generating diagrams:

  • flowchart - Create flowchart diagrams
  • box-diagram - Create box/container diagrams
  • sequence-diagram - Create sequence diagrams
  • architecture - Create architecture diagrams
  • table - Create ASCII tables
  • tree - Create tree structures

Examples

Export a diagram

Use the export_diagram tool with filePath: "/path/to/diagram.monopic"

Create a flowchart

Use the create_ascii_art tool with:
  type: "flowchart"
  content: "Start, Process Data, Validate, Save, End"
  style: "rounded"

Output:

╭─────────────────╮
│      Start      │
╰─────────────────╯
        │
        v
╭─────────────────╮
│  Process Data   │
╰─────────────────╯
        │
        v
╭─────────────────╮
│    Validate     │
╰─────────────────╯
        │
        v
╭─────────────────╮
│      Save       │
╰─────────────────╯
        │
        v
╭─────────────────╮
│       End       │
╰─────────────────╯

Development

# Install dependencies
yarn install

# Build
yarn build

# Run in development
yarn dev

License

MIT