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

simplemd-mcp

v0.2.1

Published

MCP server that connects AI coding tools to the SimpleMD browser extension — push markdown, Mermaid diagrams, and formatted content directly to your browser.

Readme


What is this?

simplemd-mcp is an MCP (Model Context Protocol) server that connects AI coding tools like Claude Code to the SimpleMD Chrome extension.

Generate a Mermaid diagram, a markdown report, or formatted notes in your terminal — and see them rendered in your browser instantly.

You: "Create a system architecture diagram for this project"

Claude: generates mermaid diagram → calls simplemd_push
        → diagram appears rendered in SimpleMD side panel

How it works

Claude Code          MCP Server         Native Host        SimpleMD Extension
    │                    │                   │                      │
    │── tool call ──────>│                   │                      │
    │  (stdio JSON-RPC)  │── request ───────>│                      │
    │                    │  (Unix socket)    │── native message ───>│
    │                    │                   │  (Chrome protocol)   │── save file
    │                    │                   │                      │── refresh UI
    │                    │                   │<── response ─────────│
    │                    │<── response ──────│                      │
    │<── result ─────────│                   │                      │

The bridge consists of two processes connected by a Unix domain socket:

  • MCP Server — launched by Claude Code, speaks JSON-RPC over stdio
  • Native Messaging Host — launched by Chrome, relays messages between the socket and the extension

Quick start

Prerequisites

1. Install

npm install -g simplemd-mcp

2. Register the native messaging host

simplemd-mcp-install

This registers the bridge with Chrome so the extension can communicate with it. It will print the MCP configuration to add to your project.

3. Configure your MCP client

Add to your project's .mcp.json:

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

Or for Claude Code's global config (~/.claude/claude_code_config.json):

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

4. Use it

Open SimpleMD in Chrome (side panel or full window), then in Claude Code:

"Push a hello world markdown file to SimpleMD"

"Create a mermaid flowchart of the auth flow and preview it in SimpleMD"

"List my files in SimpleMD"

MCP Tools

simplemd_push

Create a new markdown file in the extension.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | content | string | yes | Markdown content | | name | string | no | File name (defaults to timestamp) | | folder | string | no | Folder name (created if it doesn't exist) | | profile | string | no | Target Chrome profile email (required with multiple profiles + PRO) |

simplemd_preview

Create a file and immediately open it in preview mode — ideal for diagrams and formatted content.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | content | string | yes | Markdown content | | name | string | no | File name (defaults to timestamp) | | profile | string | no | Target Chrome profile email |

simplemd_list_files

List all files stored in the extension with their IDs, names, folders, and dates.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | profile | string | no | Target Chrome profile email |

simplemd_update_file

Update the content of an existing file by its ID.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | id | string | yes | File ID (use simplemd_list_files to find it) | | content | string | yes | New markdown content | | profile | string | no | Target Chrome profile email |

simplemd_list_profiles

List all connected Chrome profiles. Shows email, name, PRO status, and connection time. Use this to discover available profiles before targeting a specific one.

No parameters.

simplemd_status

Check the connection status and diagnose issues. Pings each connected profile and reports PRO/multi-profile status.

No parameters.

Multi-profile support

SimpleMD MCP supports multiple Chrome profiles simultaneously. Each profile registers with the MCP server when Chrome starts, identified by the user's email address.

How it works:

  • Each Chrome profile runs its own instance of the SimpleMD extension
  • The native messaging host registers each profile with the MCP server
  • Use simplemd_list_profiles to see which profiles are connected
  • Use the profile parameter (email) to target a specific profile

Free vs PRO:

| Scenario | Free | PRO | |----------|------|-----| | Single profile | Works normally | Works normally | | Multiple profiles, no profile param | Auto-routes to first connected | Requires profile param | | Multiple profiles, with profile param | Upgrade required | Routes to specified profile |

Multi-profile targeting is unlocked when any connected profile has a SimpleMD PRO license. Upgrade to PRO to unlock full multi-profile routing.

Example workflows

Visualize a codebase architecture:

You: "Analyze the project structure and create a mermaid diagram showing
      the module dependencies, then preview it in SimpleMD"

Generate meeting notes:

You: "Summarize the changes in the last 5 commits as formatted markdown
      and push it to SimpleMD as 'Sprint Review Notes'"

Iterative diagram editing:

You: "List my SimpleMD files"
You: "Update the architecture diagram with the new auth module"

Organize by project:

You: "Push this API documentation to SimpleMD in the 'backend-docs' folder"

Update

To update to the latest version:

npm update -g simplemd-mcp && simplemd-mcp-install

Restart Claude Code after updating to pick up the new MCP server.

Uninstall

Remove the native messaging host registration:

simplemd-mcp-install uninstall

Remove the package:

npm uninstall -g simplemd-mcp

Platform support

| Platform | Status | |----------|--------| | macOS | Supported | | Linux | Supported | | Windows | Not yet supported |

Troubleshooting

"SimpleMD extension is not connected"

  • Make sure the SimpleMD extension is open in Chrome (side panel or full window tab)
  • Check the extension's service worker console (chrome://extensions → SimpleMD → "Service Worker") for connection errors

"Specified native messaging host not found" in extension console

  • Run simplemd-mcp-install again to re-register the native host
  • Make sure Node.js is in your PATH
  • Restart Chrome after installing

Tools not appearing in Claude Code

  • Verify .mcp.json is in your project root or config is in ~/.claude/claude_code_config.json
  • Restart Claude Code after adding the MCP config

Development

git clone https://github.com/cafali-com/simplemd-mcp.git
cd simplemd-mcp
npm install
npm run build

Run in watch mode:

npm run dev

License

MIT - Cafali Inc