Why
Claude writes its plans, reports and notes as markdown files and gives you the path. Reading one used to mean leaving
the session for an editor or a browser, and editing it meant describing a spot in a file you could not see.
mdview is a Claude Code mod that closes that loop. Paths
become links. A click opens the file in a pane beside the conversation, drawn by Claude Code's own markdown renderer, so
a plan reads like the reply it came from. When something needs to change, you point at the block and say so. Claude
makes the edit, and the pane redraws as it lands.
Highlights
| |
|---|
| One click to read | A .md path that names a real file gets a ↗, whether it is in backticks, bare, a markdown link or run into Chinese text. Links appear in replies, under Read / Write / Edit rows and under your own prompts. path:42 and path#heading land on the spot |
| A reader, not a dump | Sections with a Contents list (t), Find (f), long files in parts (p n), links between files followed in place, and Back (b) |
| Pictures in the terminal | The terminal's own sharp picture in Ghostty, kitty and iTerm2 3.5+, and colored half blocks anywhere else. PNG, JPEG, GIF and HEIC all work |
| Point, then edit | Hover a block and it lights up with a ✎. Say what to change and press Enter: it lands in your prompt, naming the file, the lines and how they begin, and the block shows how the edit is going. ⧉ beside it copies the block |
| Live | A file Claude writes redraws at once; one changed elsewhere within 1.5 s |
| Your viewer, per terminal | A click opens mdview's pane, Warp's own Markdown viewer split beside the session, or the app macOS opens .md with. /md mode switches |
| More than markdown | Any text file opens as highlighted code with line numbers. Common HTML and too-wide tables are turned into something a terminal can show |
| Claude can show you | Ask to see a file and Claude opens it with mcp__mdview__show: in the pane, or in Warp's viewer in Warp |
See it work
|
Point at a block, say the change
|
Hover a paragraph, list, table, code block or picture. It lights up, and ⧉ ✎ show at its right end: ⧉ copies the block as the file has it.
Click ✎ and type the change, such as make it a checklist. Enter puts it in your prompt box, naming the
file, the lines and how they begin; read it, change it if you like, and send it. With editSends: send, Enter sends it
at once.
Claude edits. A line under the block follows the edit, as Claude Code hangs a result under its row:
✶ Waiting for Claude… while another turn runs, ✶ Claude is editing… once its own starts, then Updated when Claude
wrote the file, or No changes made. The pane redraws in place, and the line goes a few seconds later. Send several and
each keeps its own line; a prompt that cannot be sent says why.
If the file shifts under an open bar, the bar follows its block; if the block is gone, the bar closes.
|
Install
Needs Claude Code 2.1.287 or later (the release that brought mods; tested on 2.1.300), in the fullscreen layout
(/tui fullscreen), the only layout where a click reaches a mod. Mods are early access, and their API may change
between releases.
/plugin marketplace add xuanji86/claude-mdview
/plugin install mdview@claude-mdview
From a clone instead
git clone https://github.com/xuanji86/claude-mdview ~/Desktop/claude-mdview
Then add it to ~/.claude/settings.json (several folders separate with :):
{ "env": { "CLAUDE_CODE_PLUGIN_DIRS": "~/Desktop/claude-mdview" } }
Or load it for one session only: claude --plugin-dir ~/Desktop/claude-mdview.
Use