# io.github.rog0x/git (npm · @rog0x/mcp-git-tools)

Git log, diff, blame, branch stats for AI agents

- Trust score: 65/100 (medium)
- Change this week: +19
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@rog0x/mcp-git-tools`: 65/100 (this document), [markdown](https://verifymcp.io/servers/rog0x-git/rog0x-mcp-git-tools.md), [page](https://verifymcp.io/servers/rog0x-git/rog0x-mcp-git-tools)

## Channel facts

- Registry: `npm`
- Package: `@rog0x/mcp-git-tools`
- Version: `1.0.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 135 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 598 tokens (~119/item across 5 items; 5 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add rog0x-git -- npx -y @rog0x/mcp-git-tools
```

### Codex

```bash
codex mcp add rog0x-git -- npx -y @rog0x/mcp-git-tools
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "rog0x-git": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@rog0x/mcp-git-tools"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add rog0x-git --command npx --arg -y --arg @rog0x/mcp-git-tools
```

### Hermes

```yaml
mcp_servers:
  rog0x-git:
    command: "npx"
    args: ["-y", "@rog0x/mcp-git-tools"]
```

### Other

```json
{
  "mcpServers": {
    "rog0x-git": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-git-tools"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 65, +45)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-02 (score 20, −1)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified

### 2026-08-01 (score 21, +16)

- [functional improvement] Tool coverage: unverified → 100

### 2026-07-31 (score 5, −1)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 6, −40)

- [security regression] Malware scan: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (5)

### `git_log` (~141 tokens)

Get commit history from a local Git repository. Returns last N commits with hash, author, date, and message. Supports filtering by author, date range, and file path.

Input parameters:

- `author` (string): Filter commits by author name or email (substring match).
- `count` (number): Number of recent commits to return. Defaults to 20.
- `path` (string): Filter commits that touched this file or directory path.
- `repoPath` (string, required): Absolute path to the local Git repository.
- `since` (string): Show commits after this date (ISO 8601 or natural language).
- `until` (string): Show commits before this date.

### `git_diff` (~128 tokens)

Show diff between two commits, branches, or tags in a local Git repository. Returns a summary of files changed, insertions, deletions, and the full or filtered diff output.

Input parameters:

- `from` (string): Start ref (commit hash, branch, tag). Defaults to HEAD~1.
- `path` (string): Limit diff to a specific file or directory.
- `repoPath` (string, required): Absolute path to the local Git repository.
- `summaryOnly` (boolean): If true, return only stat summary without full diff.
- `to` (string): End ref. Defaults to HEAD.

### `git_blame` (~114 tokens)

Show who last modified each line of a file in a local Git repository, with commit hash, author, date, and line content.

Input parameters:

- `endLine` (number): End line number (1-based, inclusive).
- `filePath` (string, required): Path to the file (relative to repo root).
- `ref` (string): Commit ref to blame at (defaults to HEAD).
- `repoPath` (string, required): Absolute path to the local Git repository.
- `startLine` (number): Start line number (1-based).

### `git_stats` (~97 tokens)

Get comprehensive statistics for a local Git repository: total commits, contributors, first/last commit dates, commits per author, commits per month, and most frequently changed files.

Input parameters:

- `repoPath` (string, required): Absolute path to the local Git repository.
- `topAuthors` (number): Number of top authors to include. Defaults to 10.
- `topFiles` (number): Number of most-changed files to include. Defaults to 10.

### `git_branch` (~118 tokens)

List branches in a local Git repository with last commit info, ahead/behind counts relative to a base branch, and merged/unmerged status.

Input parameters:

- `baseBranch` (string): Base branch to compare against. Defaults to 'main' or 'master'.
- `includeRemote` (boolean): Include remote-tracking branches.
- `mergedOnly` (boolean): Show only branches merged into base branch.
- `repoPath` (string, required): Absolute path to the local Git repository.
- `unmergedOnly` (boolean): Show only branches NOT merged into base branch.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/rog0x-git/rog0x-mcp-git-tools#diagnostics

## Score history

- 2026-08-03: 65
- 2026-08-02: 20
- 2026-08-01: 21
- 2026-07-31: 5
- 2026-07-30: 6
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@rog0x/mcp-git-tools
- Socket report: https://socket.dev/npm/package/@rog0x/mcp-git-tools
- Repository: https://github.com/rog0x/mcp-git-tools
- Changelog RSS feed: https://verifymcp.io/servers/rog0x-git/rog0x-mcp-git-tools/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/rog0x-git/rog0x-mcp-git-tools/changelog.json
- HTML version of this page: https://verifymcp.io/servers/rog0x-git/rog0x-mcp-git-tools
