# io.github.n24q02m/crg (pypi · better-code-review-graph)

Token-efficient code review knowledge graph: semantic search and call-graph resolution.

- Trust score: 70/100 (medium)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- pypi · `better-code-review-graph`: 70/100 (this document), [markdown](https://verifymcp.io/servers/n24q02m-crg/better-code-review-graph.md), [page](https://verifymcp.io/servers/n24q02m-crg/better-code-review-graph)

## Channel facts

- Registry: `pypi`
- Package: `better-code-review-graph`
- Version: `3.31.0`
- 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-11-05.

- **Supply Chain Security**: 99/100
  - No malware found by supply-chain analysis.
  - Known CVEs were checked across the 77 of 78 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - Runs hatchling.build at install time, a recognised build step with no custom scripting around it.
  - Dependency health was assessed across the 77 of 78 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 23/100
  - Repository check failed: the declared repository URL redirects; it must resolve directly.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 8 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 53/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 1238 tokens (~206/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 70/100
  - Stability observed for 21 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 78/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 22% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the io.github.n24q02m/crg MCP server?

io.github.n24q02m/crg runs locally as a PyPI package, launched with uvx better-code-review-graph. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add n24q02m-crg -- uvx better-code-review-graph
```

### Cursor

```json
{
  "mcpServers": {
    "n24q02m-crg": {
      "command": "uvx",
      "args": [
        "better-code-review-graph"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "n24q02m-crg": {
      "command": "uvx",
      "args": [
        "better-code-review-graph"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add n24q02m-crg -- uvx better-code-review-graph
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "n24q02m-crg": {
      "type": "local",
      "command": [
        "uvx",
        "better-code-review-graph"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add n24q02m-crg --command uvx --arg better-code-review-graph
```

### Hermes

```yaml
mcp_servers:
  n24q02m-crg:
    command: "uvx"
    args: ["better-code-review-graph"]
```

### Netclaw

```json
{
  "McpServers": {
    "n24q02m-crg": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "better-code-review-graph"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add n24q02m-crg -t stdio -c uvx -a better-code-review-graph
```

### Other

```json
{
  "mcpServers": {
    "n24q02m-crg": {
      "command": "uvx",
      "args": [
        "better-code-review-graph"
      ]
    }
  }
}
```

## 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-11-05 (score 70, +1)

No change was recorded against any check on this day. Stability & Change Management went from 67 to 70. That category is still filling its 30-day observation window: 20 days of observed history at the previous scan, 21 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-04 (score 69, 0)

- [functional] Package version: 3.30.0 → 3.31.0

### 2026-11-03 (score 69, +1)

No change was recorded against any check on this day. Stability & Change Management went from 60 to 63. That category is still filling its 30-day observation window: 18 days of observed history at the previous scan, 19 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-31 (score 68, +1)

No change was recorded against any check on this day. Stability & Change Management went from 50 to 53. That category is still filling its 30-day observation window: 15 days of observed history at the previous scan, 16 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-29 (score 67, +1)

No change was recorded against any check on this day. Stability & Change Management went from 43 to 47. That category is still filling its 30-day observation window: 13 days of observed history at the previous scan, 14 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-28 (score 66, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-10-27 (score 51, −14)

- [security regression] Malware scan: pass → unverified
- [functional] MCP protocol: Implements a current MCP spec version (2026-07-28).
- [functional] Package version: 3.30.0 → 3.31.0

### 2026-10-25 (score 65, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

## MCP tools (6)

### `graph` (~141 tokens)

Graph

Build and manage the code knowledge graph. Actions: build (full_rebuild, base, repo_root), update (base, repo_root), stats (repo_root), embed (repo_root), export (format, output_path, repo_root), import (import_path, repo_root), summarize (max_nodes, repo_root). Use `help` tool for full docs.

Input parameters:

- `action` (string, required)
- `base` (string)
- `format` (string)
- `full_rebuild` (boolean)
- `import_path`
- `max_nodes` (integer)
- `output_path`
- `repo_root`
- `roots`

### `query` (~263 tokens)

Query

Query the code knowledge graph for relationships, search, and impact analysis. Actions: query (pattern, target), search (search_query), impact (changed_files|base), large_functions (min_lines), spot_check (n -- random callsite snippets from last callers_of/callees_of/inheritors_of/importers_of result), renamed_in_diff (base -- symbols whose callsite line shifted vs base ref), diff (from_sha, to_sha -- nodes added/removed/modified between two commit SHAs). Use `help` tool for full docs.

Input parameters:

- `action` (string, required)
- `as_of` (string)
- `base` (string)
- `changed_files`
- `context_lines` (integer)
- `file_path_pattern`
- `from_sha` (string)
- `kind`
- `languages`
- `limit` (integer)
- `max_depth` (integer)
- `max_payload_bytes` (integer)
- `max_results` (integer)
- `min_lines` (integer)
- `n` (integer)
- `pattern`
- `repo` (string)
- `repo_root`
- `search_query`
- `target`
- `to_sha` (string)

### `review` (~492 tokens)

Review

Generate token-efficient review context for code changes. Actions: context (default — auto-detects changed files from git diff, returns structural summary, impacted nodes, source snippets, and review guidance), delta (from_sha, to_sha — wraps the `query.diff` buckets and, when show_line_shifts=true, surfaces qualified_names whose line_start moved between the two commits for refactor auditing). Context params: changed_files (auto), max_depth=2, include_source=true, max_lines_per_file=200, base='HEAD~1', repo_root (auto). Delta params: from_sha, to_sha, show_line_shifts=false, repo, repo_root. Use `help` tool for full docs.

Input parameters:

- `action` (string): ``context`` (default) or ``delta``.
- `base` (string): ``context`` action — git ref for change detection (default: ``HEAD~1``).
- `changed_files`: ``context`` action — files to review (auto-detected from git if omitted).
- `from_sha` (string): ``delta`` action — earlier commit SHA. Required.
- `include_source` (boolean): ``context`` action — include source code snippets (default: true).
- `languages`: ``context`` action — optional list of language names (e.g. ``["python"]``) to scope the ``untested_functions`` list. Excludes functions whose language doesn't match. Fixes false positives on cross-la…
- `max_depth` (integer): ``context`` action — impact radius depth (default: 2).
- `max_lines_per_file` (integer): ``context`` action — max source lines per file (default: 200).
- `repo` (string): Phase 2 Task 10 — when non-empty, scope to nodes whose ``repo_id`` matches (e.g. ``repo='repo_a-aaaaaaaa'``). Default ``""`` includes every federated repo. Both actions.
- `repo_root`: Repository root path (auto-detected). Both actions.
- `show_line_shifts` (boolean): ``delta`` action — when True, include nodes whose ``line_start`` moved between ``from_sha`` and ``to_sha`` in the response (default False).
- `to_sha` (string): ``delta`` action — later commit SHA. Required.

### `config` (~122 tokens)

Config

Server configuration, status, and model-cell setup. Actions: status (show state), set (key, value -- keys: log_level), cache_clear (wipe embeddings), setup_status (state + configured model cells), setup_start (where the host configures keys), setup_skip (local mode), setup_reset (reset to local), setup_complete (re-resolve from host config). Use `help` tool for full docs.

Input parameters:

- `action` (string, required)
- `force` (boolean)
- `key`
- `repo_root`
- `value`

### `help` (~42 tokens)

Help

Get full documentation for any tool. Topics: graph | query | review | config | security | recipes. Use when compressed descriptions are insufficient.

Input parameters:

- `topic` (string)

Output parameters:

- `result` (string)

### `security` (~116 tokens)

Security

Security scanning over the code knowledge graph. Actions: scan (engine='heuristic'|'semgrep', repo_root), report (format='json'|'sarif', repo_root), suppress (rule_id, remove=false, repo_root), rule_list (engine='heuristic'|'semgrep'). Use `help` tool for full docs.

Input parameters:

- `action` (string)
- `engine` (string)
- `format` (string)
- `remove` (boolean)
- `repo_root`
- `rule_id`

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/n24q02m-crg/better-code-review-graph#diagnostics

## Score history

- 2026-11-05: 70
- 2026-11-04: 69
- 2026-11-03: 69
- 2026-11-02: 68
- 2026-11-01: 68
- 2026-10-31: 68
- 2026-10-30: 67
- 2026-10-29: 67
- 2026-10-28: 66
- 2026-10-27: 51
- 2026-10-26: 65
- 2026-10-25: 65
- 2026-10-24: 64
- 2026-10-23: 64
- 2026-10-22: 60
- 2026-10-21: 60
- 2026-10-20: 60
- 2026-10-19: 60
- 2026-10-18: 60
- 2026-10-17: 60
- 2026-10-16: 60
- 2026-10-15: 60
- 2026-10-14: 34
- 2026-10-13: 34
- 2026-10-12: 34

## Common questions

### What is the io.github.n24q02m/crg MCP server?

io.github.n24q02m/crg is an MCP server listed in the public MCP registry as io.github.n24q02m/crg. Token-efficient code review knowledge graph: semantic search and call-graph resolution. This page covers its PyPI package (better-code-review-graph).

### Is the io.github.n24q02m/crg MCP server safe to use?

io.github.n24q02m/crg scores 70 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the io.github.n24q02m/crg MCP server expose?

io.github.n24q02m/crg exposes 6 tools: graph, query, review, config, help, security. Their descriptions and schemas cost roughly 1,176 tokens of context every time the server is loaded.

### Is the io.github.n24q02m/crg MCP server still maintained?

io.github.n24q02m/crg is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the io.github.n24q02m/crg MCP server under?

io.github.n24q02m/crg declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- PyPI project: https://pypi.org/project/better-code-review-graph/
- Socket report: https://socket.dev/pypi/package/better-code-review-graph
- Changelog RSS feed: https://verifymcp.io/servers/n24q02m-crg/better-code-review-graph.xml
- Changelog JSON feed: https://verifymcp.io/servers/n24q02m-crg/better-code-review-graph.json
- HTML version of this page: https://verifymcp.io/servers/n24q02m-crg/better-code-review-graph
