Skip to main content
Glama

Doc Review

Comment on documents like in Google Docs, then let AI handle your comments. Works with .md, .txt, .tex. Free, open source, runs on your computer.

Comments: one resolved by the AI, one waiting to be sent

Changes tab: the AI's edits before and after, with Accept and Revert

Install

Desktop app (anyone): download from Releases (.dmg Mac, .exe Windows), open it, pick a folder. The app is unsigned: on Mac right-click it → Open; on Windows click More info → Run anyway.

Then click AI not set up (top right) and paste an API key from OpenAI, Anthropic or OpenRouter. Free alternative: Ollama. A ChatGPT/Claude chat subscription is not an API key.

Claude Code / MCP (needs Node 18+ and git):

git clone https://github.com/MichaelEight/doc-review.git ~/doc-review
claude mcp add --scope user doc-review -- node ~/doc-review/bin/doc-review.js --mcp

Other MCP clients: command node, args ["/full/path/doc-review/bin/doc-review.js", "--mcp"]. Then ask: "open this folder in doc-review".

Related MCP server: overleaf-mcp

Use

  1. Select text, click Comment (or click a spot, then +).

  2. Press Send to AI (⌘⇧↵).

  3. Review the edits in the Changes tab: Accept or Revert.

Do

How

Find a file or phrase

⌘K

Mention a file or tag

@file, #tag in a comment

Quick commands

Start a comment with /fix, /simplify, /shorten, /translate <language>, /explain

Same request on every comment

Instruction button next to Send

LaTeX preview

PDF tab (needs pdflatex installed)

Shortcuts

Action

Mac

Windows

Send to AI

⌘ ⇧ ↵

Ctrl Shift Enter

Add comment on selection

⌘ ⌥ M

Ctrl Alt M

Post reply

⌘ ↵

Ctrl Enter

Search files and text

⌘ K

Ctrl K

Jump to heading

⌘ ⇧ O

Ctrl Shift O

Previous / next comment

⌥ , and ⌥ .

Alt , and Alt .

Switch tab 1–9 / close tab

⌥ 1–9 / ⌥ W

Alt 1–9 / Alt W

Bold / italic / underline

⌘ B / I / U

Ctrl B / I / U

Undo

⌘ Z

Ctrl Z

Limits

  • Not signed yet. No .docx yet.

  • API key is saved in plain text in ~/.config/doc-review/ai.json (only you can read it).

  • Tested on macOS only.

MIT licence.

Available Tools

9 tools
review_commentB

Start a new comment thread yourself, anchored on an exact quote from a file (or at the start of the file if quote is empty). Use it to point the user at something: a doubt, a fact to check, a suggestion.

Inputs: file (required), text (required), kind, root, +2 more.

review_define_tagB

Define or update a #tag for this workspace (a concept, topic or convention, e.g. #image-gs = "Gaussian splatting figures, see figures/gs/"). Tags autocomplete in the UI and their definitions are sent along whenever a comment uses them.

Inputs: name (required), description (required), root, files.

review_finishA

End the current round: the UI unlocks editing and shows your summary and the diff of your changes for the user to accept or revert.

Inputs: root, summary.

review_openA

Open a folder (or the folder of a file) in the doc-review web UI and return its URL. The user reads, edits and comments on .md/.txt/.tex files there, then presses "Send to AI". Put the returned url in a chat message before you call review_wait, which blocks for minutes and keeps anything said after it from reaching the user in time.

Inputs: path (required), open_browser.

review_replyA

Post a message in a comment thread, shown in the margin next to the text. kind=question when you need the user's answer before you can act (the answer arrives in a later review_wait); kind=note to explain or agree (e.g. "Yeah, that's right") without resolving.

Inputs: text (required), comment_id (required), kind.

review_resolveB

Mark a comment as handled, with a short note shown to the user (e.g. "Corrected", "Rewrote the intro as asked").

Inputs: comment_id (required), note.

review_styleA

Set, list or clear display rules: colouring and notes that change how files are SHOWN in the UI and never touch what they contain. A rule matches a literal or a regular expression in the files its scope globs select, then paints it (colour, background, bold, italic, underline, strike, dim), attaches a note to it (on hover or inline), or both. Use it when the user asks for something like "colour this nick blue", "give the text in <> a grey background", "dim the timestamps" or "on hover show how long since the previous line". Rules are per workspace and persist.

Inputs: op, ids, file, root, +2 more.

review_threadsB

List comment threads (all, or one file / status) with their current anchor position and messages.

Inputs: file, root, status.

review_waitA

Block until the user presses "Send to AI", then return every new comment with its file, line, quoted text, context and thread history, plus referenced @files and #tags, and the user's standing instruction for the round if they set one (it overrides the default of editing the files; follow it). Ends the previous round. Returns {status:"timeout"} after timeout_seconds; then call it again to keep listening. This blocks for minutes, so make sure the UI url is already in a chat message before you call it.

Inputs: root, timeout_seconds.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 9 tools

    Disambiguation4/5

    The tools mostly target clearly distinct actions: opening the UI, waiting, replying in an existing thread, resolving, creating a new anchored comment, finishing, listing threads, styling display, and defining tags. The only subtle overlap is between review_wait ending a previous round and review_finish ending the current round, but the descriptions help clarify the lifecycle.

    Naming Consistency5/5

    All nine tools use the same review_ prefix with lowercase snake_case suffixes, and the suffixes consistently describe the action or resource. There is no mixing of camelCase, PascalCase, or inconsistent verb styles.

    Tool Count5/5

    Nine tools is well-scoped for a collaborative document-review workflow with UI interaction, threaded comments, round management, and style/tag configuration. Each tool appears to earn its place without obvious redundancy.

    Completeness4/5

    The surface covers the core review lifecycle: open, wait, comment, reply, resolve, list threads, finish, plus styling and tag definitions. Minor gaps such as editing/deleting existing comments or explicitly reopening resolved threads are not exposed, but agents can likely work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      A desktop launcher and local MCP workspace server that enables ChatGPT and other MCP clients to securely read, edit, search, run commands, and show changes in selected local project folders.
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables collaborative LaTeX editing on Overleaf with tracked changes, review comments, compilation, file management, and downloads via a single MCP connection.
      26
      1
      AGPL 3.0
    • F
      license
      A
      quality
      B
      maintenance
      Enables MCP agents to inspect and precisely edit a paired browser editor project through local stdio, with batch commands, previews, exports, validation, and guarded undo/redo while keeping changes hand-editable.
      11
      -