SkillAgentSearch skills...

md-viewer

Minimalist editorial Markdown studio & reader with native Mermaid diagrams, KaTeX math formulas, password-protected sharing, and Model Context Protocol (MCP) support.

Install / Use

claude mcp add ekacahya21 -- npx -y github:ekacahya21/md-viewer

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

78/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of md-viewer

md-viewer scores 78/100 on our quality scale, 1052nd of 1,181 Content & Media skills we index.

Its MCP Server is 4.8 KB long, well organised into 27 sections with 9 code examples: a solid amount of guidance for an agent.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 8 days ago, so md-viewer is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

md-viewer compared with similar skills

All 4 of these similar skills score higher than md-viewer; compare them before choosing.

SkillScoreStarsUpdatedFormat
md-viewer (this skill)by ekacahya217838d agoMCP Server
Agent-Reachby Panniantong100100.1ktodayCLAUDE.md
headroomby headroomlabs-ai10076.5ktodayCLAUDE.md
CowAgentby zhayujie10047.5ktodayCLAUDE.md
Scraplingby D4Vinci10088.8k1d agoMCP Server

Frequently asked questions

How do I install md-viewer?
Run claude mcp add ekacahya21 -- npx -y github:ekacahya21/md-viewer. The install tabs above show the steps for each supported agent.
Which AI agents does md-viewer work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is md-viewer safe to use?
It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is md-viewer still maintained?
The repository was last updated 8 days ago, so md-viewer is actively maintained.

MD Viewer

A minimalist Markdown editor and reader with native math, Mermaid diagrams, and instant zero-account link sharing.

Live Demo License: MIT Node.js 22+ React 19 TypeScript M8ven Score

MD Viewer


Features

  • Reader & Split Views: Seamlessly switch between reading mode, distraction-free editing, and synchronized split view.
  • Math & Diagrams: Native rendering for KaTeX LaTeX formulas ($...$ and $$...$$) and Mermaid diagrams (flowcharts, sequence, state, ER, class, Gantt).
  • Zero-Account Sharing: Generate a short link (/s/:id) with an optional QR code in one click. No registration required.
  • Re-publish Shared Docs: Authors receive an edit token saved locally in the browser/CLI, allowing you to update a shared document without changing its URL.
  • Multi-Format Export: Export clean print-formatted PDFs, standalone offline HTML files, or raw Markdown.
  • Themes: Paper (light), Charcoal (dark), and Sepia.
  • Command Palette: Press Cmd+K / Ctrl+K for fast navigation, theme switching, and actions.
  • Terminal CLI (mdv): Publish and update documents directly from your terminal or shell pipelines.
  • Model Context Protocol (MCP): Built-in stdio MCP server for Claude Desktop, Cursor, and other AI coding assistants.

Quickstart

Prerequisites

  • Node.js 22.5+ (uses native node:sqlite)
  • npm or pnpm

Development

git clone https://github.com/ekacahya21/md-viewer.git
cd md-viewer
npm install
npm run dev

Open http://localhost:5173 in your browser.

Production Build

npm run build
node server.mjs

Docker & Self-Hosting

A production-ready multi-stage Dockerfile is included:

# Build Docker image
docker build -t md-viewer .

# Run with persistent SQLite data directory
docker run -d \
  --name md-viewer \
  -p 3015:80 \
  -v $(pwd)/data:/data \
  --restart unless-stopped \
  md-viewer

Command Line Tool (mdv)

mdv lets you publish markdown files or piped output directly from your terminal.

Installation

curl -fsSL https://md-viewer.e21.dev/install.sh | bash

Usage

# Publish a local file (title auto-detected from first heading)
mdv README.md

# Publish with custom title and expiration
mdv notes.md -t "Project Roadmap" -e 7d

# Pipe from standard input
cat draft.md | mdv
git diff | mdv -t "Current Diff"

# Update an existing document using your saved edit token
mdv -u abc1234 updated.md

# List your recent uploads
mdv --list

Model Context Protocol (MCP)

mdv includes a built-in MCP server that allows AI assistants to publish, read, and update shared Markdown documents.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "md-viewer": {
      "command": "mdv",
      "args": ["--mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your workspace:

{
  "mcpServers": {
    "md-viewer": {
      "command": "mdv",
      "args": ["--mcp"]
    }
  }
}

Run mdv mcp config in your terminal for system-specific path suggestions.


Configuration

Copy .env.example to .env to customize settings:

cp .env.example .env

| Variable | Default | Description | | :--- | :--- | :--- | | PORT | 80 | Port for the Node.js production server | | DB_PATH | /data/shared_docs.db | Path to the SQLite database file | | VIEW_SALT | md-viewer-view-salt-2026 | Salt used to hash visitor IP for view deduplication | | GOOGLE_SITE_VERIFICATION | "" | Optional Google Search Console verification meta tag | | LOCAL_LLM_HOST | http://127.0.0.1:20128/v1 | Optional OpenAI-compatible endpoint for AI summary | | LOCAL_LLM_KEY | "" | Optional API key for LLM endpoint | | LOCAL_LLM_MODEL | ag/gemini-3.7-flash-low | LLM model name for document summarization |


Testing

# Run unit and integration tests (Node 22 test runner)
npm test

# Run linter
npm run lint

# Run type check
npx tsc --noEmit

Contributing

Contributions are welcome. Please see CONTRIBUTING.md for details on development workflow and coding standards.


License

This project is open source and available under the MIT License.

Related Skills

View on GitHub
GitHub Stars3
CategoryContent
Updated8d ago
Forks0

Languages

TypeScript

Trust signals

92/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low