# Collate > A fast, free, open-source native git diff viewer for macOS and Linux, built in Rust on the Rune UI framework, with an MCP server (`collate --mcp`) so coding agents can inspect and navigate the window you are reviewing. Website: https://collate.dishant.site Repository: https://github.com/Dishant1804/Collate Homebrew tap: https://github.com/Dishant1804/homebrew-tap npm package: https://www.npmjs.com/package/collate-app ## Key facts - License: MIT (free and open source) - Platforms: macOS 13 (Ventura) or newer (universal Apple Silicon and Intel, Developer ID signed and notarized); Linux x86_64 and arm64 (glibc 2.35+, X11 or Wayland) - Price: Free - Account or subscription required: None - Telemetry: None (network calls are only for optional GitHub commit author avatars and on-demand tree-sitter syntax grammars, plus explicit git fetch/pull/push and GitHub PR/Issue lookups) - Rendering and architecture: Native Rust UI on Rune (GPU-rendered with Metal on macOS), background watcher thread (`git status` + FSEvents/inotify), linear-space Myers' O(ND) diffing with `rustc-hash` line interning, virtual and memoised diff rows ## Installation - Homebrew (macOS): `brew install --cask dishant1804/tap/collate` - npm installer (macOS and Linux, Node.js 18+): `npx collate-app@latest` - Direct downloads: `Collate--macos-universal.dmg` or `collate--linux-.tar.gz` at https://github.com/Dishant1804/Collate/releases/latest - Agent integration (Claude Code MCP + skill): run `scripts/install-agent.sh` from the repository or configure an MCP client to execute `collate --mcp` ## Measured performance (Apple M5 Pro, medians of 7 runs via scripts/bench-set.py) - Large review (416 files, 95,280 changed lines): 76 ms open, 12 ms refresh, 9.2 ms p99 scroll frame - Linux v6.12 (323 files, 39,407 changed lines): 76 ms open, 35 ms refresh, 10.3 ms p99 scroll frame - Kubernetes v1.31.0 (298 files, 26,926 changed lines): 55 ms open, 29 ms refresh, 9.5 ms p99 scroll frame - Single huge file (400,000-line file edited every 50 lines plus a 400,000-line new file): 122 ms open, 54 ms refresh, 8.4 ms p99 scroll frame - Incremental rediff after editing one file in a 416-file review: ~6 ms (unchanged files served from `DiffCache`) - Memory footprint: 390 changed files fit in 5.5 MB ## Core capabilities - Split (`s`) and unified diff views with word-level change highlights, line wrapping (`w`), whitespace toggle (`W`), and inline line editing - Granular staging and discarding: stage (`a`), unstage (`u`), or discard (`x`) hunks, individual lines, or single word changes (`p`), plus commit (`Cmd+Enter`) and undo last git action (`Cmd+Z`) - Moved-block detection (`m` jumps to the matching source or destination block) - 3-way merge editor for `git mergetool` (`n`/`p` between conflicts, `1`/`2`/`3` for ours/theirs/both) and `git difftool` integration - Inline `git blame` (`b`), regex/case/whole-word search (`Cmd+F`), Git Graph branch history (`--history`), GitHub Pull Requests & Issues (via `gh`), Repository Map sized by lines of code with import edges, worktree switcher, and built-in terminal drawer (`Cmd+J`) - Coding-agent MCP server (`collate --mcp`): tools including `collate_windows`, `collate_launch`, `collate_state`, `collate_commands`, `collate_run`, `collate_show`, `collate_open_file`, `collate_select`, `collate_diff`, `collate_comments`, `collate_comment`, `collate_delete_comment`, `collate_open_commit`, `collate_say`, and `collate_dismiss` ## Pages on collate.dishant.site - [Home](https://collate.dishant.site/): Overview, demo video, benchmarks, features, CLI reference, FAQ, and downloads - [Compare git diff tools](https://collate.dishant.site/compare/): Overview comparing Collate, Kaleidoscope, Sublime Merge, Fork, Delta, and Meld - [Collate vs Kaleidoscope](https://collate.dishant.site/compare/kaleidoscope/): Comparison on macOS/Linux support, pricing, staging, merge editing, and workflows - [Collate vs Sublime Merge](https://collate.dishant.site/compare/sublime-merge/): Comparison between a diff-first reviewer and a full git client - [Collate vs Fork](https://collate.dishant.site/compare/fork/): Comparison between Collate and Fork - [Collate vs Delta](https://collate.dishant.site/compare/delta/): Comparison between a native GPU diff app and a terminal diff pager - [Git difftool and mergetool guide](https://collate.dishant.site/guides/git-difftool-mergetool/): Setting up `git difftool`, `git mergetool`, and the `collate` CLI - [MCP coding agents guide](https://collate.dishant.site/guides/mcp-coding-agents/): Connecting Claude Code and MCP clients to `collate --mcp` - [Engineering blog](https://collate.dishant.site/blog/): Technical writeups on Collate's architecture - [How Collate diffs 400 files in 76 ms](https://collate.dishant.site/blog/how-collate-diffs-400-files-in-76ms/): FSEvents/watcher, Myers' O(ND) diffing, `DiffCache`, and virtual GPU rows - [Giving coding agents eyes in your diff viewer with MCP](https://collate.dishant.site/blog/giving-coding-agents-eyes-in-your-diff-viewer-with-mcp/): Unix domain sockets, `collate --mcp`, context budgets, and human-in-the-loop review