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

graphviz-mcp

v0.0.2

Published

MCP App for generating graph and diagram visuals powered by Graphviz

Readme

Graphviz MCP App

Turn descriptions into real diagrams, right inside your AI chat.

Graphviz MCP App is a small add-on for Claude Desktop, Claude Code, VS Code Copilot, and other AI clients that support Model Context Protocol (MCP). Once it's installed, you can ask your AI to draw things — architecture diagrams, flowcharts, dependency graphs, decision trees, family trees, you name it — and an actual rendered diagram comes back in the conversation, powered by Graphviz.

In apps that support MCP Apps, diagrams show up as an interactive viewer right in the chat: you can pan, zoom, switch the layout algorithm to see the graph a different way, and copy the underlying source.

What you can ask for

Anything you can describe as boxes and connections. A few examples:

Draw an architecture diagram of a Next.js app talking to a Postgres database through an API. Use a left-to-right layout.

Render this graph: digraph { A -> B; B -> C; A -> C }

Make a decision tree to help me pick between TypeScript and JavaScript for a new project.

Visualize the import dependencies between these files I'm about to paste.

Setup

Claude Desktop (macOS)

  1. Open this file in your editor — create it if it doesn't exist:

    ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Paste this in (or merge it with what's already there):

    {
      "mcpServers": {
        "graphviz": {
          "command": "npx",
          "args": ["-y", "graphviz-mcp"]
        }
      }
    }
  3. Quit Claude Desktop completely (Cmd+Q) and reopen it. You should see new graphviz tools available — start a new chat and try one of the example prompts above.

No separate Graphviz install is required. The package ships with everything it needs to render SVG diagrams.

Claude Desktop (Windows)

Same as macOS, but the config file lives at:

%APPDATA%\Claude\claude_desktop_config.json

Claude Code

From your terminal:

claude mcp add graphviz npx -- -y graphviz-mcp

Other MCP clients

Any client that supports stdio MCP servers will work. Point its config at npx -y graphviz-mcp (or install with npm install -g graphviz-mcp and point at graphviz-mcp).

PNG output (optional)

Out of the box, graphviz-mcp returns diagrams as SVG, which is crisp, scalable, and ideal for viewing in chat or embedding in docs.

If you want PNG output (a regular raster image — handy for pasting into Slack, slide decks, or anywhere SVG isn't supported), install Graphviz on your system:

  • macOS: brew install graphviz
  • Linux (Debian / Ubuntu): sudo apt install graphviz
  • Windows: download the installer from graphviz.org/download

graphviz-mcp will detect it automatically the next time it starts up. No config change needed.