Purpose: MarkView is a native macOS Markdown preview tool that also provides an MCP server, allowing Claude Code to render Markdown in real time to a real native window while writing it.
Main capabilities: Based on Swift/SwiftUI, does not use Electron; supports GitHub Flavored Markdown via swift-cmark (tables, strikethrough, autolinks, task lists, footnotes); supports Mermaid flowcharts, sequence diagrams, Gantt charts, ER diagrams, and pie charts; provides syntax highlighting for 18 languages via Prism.js; supports Quick Look spacebar preview, Markdown linting with 9 built-in rules and status bar diagnostics, a live split-pane editor with WKWebView rendering and bidirectional scroll synchronization, DispatchSource file watching, inline rendering of local images, export to HTML and PDF, an HTML sanitizer, drag-and-drop opening, find and replace, format on save, autosave, word count, line numbers, scroll position preservation, dark mode, and 18 configurable settings.
Usage: Claude Code can be connected with a single command, after which Claude can call preview_markdown to render a Markdown string, or call open_file to open a .md file. Claude Desktop must be configured in ~/Library/Application Support/Claude/claude_desktop_config.json; the MCP server should be placed in ~/.claude.json (Claude Code) or claude_desktop_config.json (Claude Desktop), not ~/.claude/settings.json. Installing via Homebrew is recommended, and it can also be built from source, requiring macOS 14+ and Swift 6.0+ (Xcode Command Line Tools). After installation as an app, it creates MarkView.app in /Applications and registers it with Launch Services, supporting Finder's right-click "Open With"; it also creates in ~/.local/bin/ mdpreview and md symlinks.
Use cases: Suitable for writing, previewing, and linting Markdown documents on macOS, especially for workflows that involve real-time rendering with Claude Code.
Limitations: Only supports macOS 14+; the app and the npm MCP wrapper are versioned independently; the installation script will refuse to run when it detects a Dock tile pinned to a temporary MarkView.app path in build/ or the repository root, unless --force is passed. Other details are not provided for now.