Skip to content
MCP server

GitWarren

Local code review of an agent's uncommitted worktree, with a 17-tool MCP server

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
macOS, Windows, Linux
Runs
Locally
Version
1.0.1
Listing updated
2 days ago

About GitWarren

GitWarren is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Most review tools wait for a pull request; GitWarren reads the worktree directly, folding staged, unstaged and untracked files into one diff so you can comment on an agent's output before it becomes a commit. It finds the worktree where a branch is checked out, wherever it sits on disk.

Reviews live in a single SQLite file on your machine, with no account and no telemetry; the README says the desktop app's only outbound request is the update check. It runs as an Electron app on macOS, Windows and Linux, or as a command (npx gitwarren serve) that serves the same interface to a browser. A screenless machine such as a VPS or WSL distro can be reviewed from elsewhere over SSH, wsl.exe or a tailnet.

The MCP server over stdio gives agents the same seventeen tools the app uses: open a review, read the discussion, reply in a thread, comment on a line and resolve one. Diffs can be split or unified with changed words marked, Markdown can be read rendered with edits shown like tracked changes, and a progress strip tracks which files you have read.

Install

Run in a terminal

claude mcp add gitwarren -- npx -y gitwarren

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gitwarren": {
      "command": "npx",
      "args": [
        "-y",
        "gitwarren"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gitwarren": {
      "command": "npx",
      "args": [
        "-y",
        "gitwarren"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "gitwarren": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gitwarren"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gitwarren": {
      "command": "npx",
      "args": [
        "-y",
        "gitwarren"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gitwarren": {
      "command": "npx",
      "args": [
        "-y",
        "gitwarren"
      ]
    }
  }
}

Configuration

  • GITWARREN_DATA_DIRWhere the review database lives. Leave unset for the platform's application-data directory, which the app and the command line also use.

What it does

Pre-commit review
Reads staged, unstaged and untracked changes straight from the worktree.
Prose-aware diffs
Rendered Markdown with tracked-change style edits and word-level marks.
Review progress strip
One slot per file, with reviewed and changed-since-read states.
Agent participation
Agents reply in threads, comment on lines and resolve discussions over MCP.
Remote machines
Review other machines over SSH, WSL or a tailnet from one home screen.
Local only
Reviews are stored in a local SQLite file with no account.

Good for

  • Read an agent's diff before committing it
  • Ask a coding agent to answer a question left on a line
  • Review work happening on a VPS from your laptop
  • Check a long spec or plan the agent wrote as rendered Markdown
  • Browse a repository's uncommitted files

Pricing

Open source

Free; no account

Prices change. Check gitwarren.com before you buy.

GitWarren FAQ

Does it need an account?

No. The README says there is no account and no telemetry.

Where are reviews stored?

In one SQLite file in your application-data directory, or GITWARREN_DATA_DIR if set.

How many MCP tools are there?

Seventeen, the same ones the app uses.

Can it run without Electron?

Yes, npx gitwarren serve serves the interface to a browser; it needs Node 22.14 or newer.

Is GitWarren free?

Yes. GitWarren is open source, so you can use and self-host it for free.

How do I add GitWarren to Claude Code?

Run this command in your terminal: claude mcp add gitwarren -- npx -y gitwarren

What are the best alternatives to GitWarren?

The closest alternatives to GitWarren are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to GitWarren

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools