Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

n24q02m-crg

Latest version: v3.36.0b2

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: n24q02m
18 Versions
2.0K Downloads

Scan summary

n24q02m-crg was last scanned on 27 Nov 2026 at version 3.36.0b2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 18 versions; the latest 5 were published within 4 days (24–27 Nov 2026).
  • Findings: No rules fired in version 3.36.0b2.
  • Downloads: 1,989 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.36.0b2 LATEST 27 Nov 2026 No rules fired
3.36.0b1 27 Nov 2026 No rules fired
3.35.0 25 Nov 2026 No rules fired
3.35.0b2 24 Nov 2026 Not shown
3.35.0b1 24 Nov 2026 Not shown

No rules fired in 3.36.0b2

Findings

Findings for v3.36.0b2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 3.36.0b2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Better Code Review Graph

Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.

Renamed: repo is crg, PyPI distribution is n24q02m-crg (formerly better-code-review-graph, kept as a legacy command alias) — CLI-first (crg command); MCP server is a secondary surface.

mcp-name: io.github.n24q02m/crg

Mode CI PyPI License: Apache-2.0

Python MCP semantic-release Renovate

Project Tagline Tag
better-semantic-release Drop-in python-semantic-release fork with built-in release-safety guards (orp... Tooling
claude-plugins Claude Code plugin marketplace for the n24q02m MCP servers -- install web sea... Marketplace
crg Knowledge graph for token-efficient code reviews -- semantic search and call-... MCP
email IMAP/SMTP email for AI agents -- read, send, organize folders, and manage att... MCP
fastretrieval Fast multi-model retrieval runtime: ONNX and GGUF embeddings, reranking, and ... Tooling
hull hull is the shared monorepo core for the wet, crg and mnemo self-hosted stack MCP
mnemo Persistent AI memory with hybrid search. Open, free, unlimited. MCP
notion Markdown-first Notion for AI agents -- pages, databases, blocks, and comments... MCP
skret Secrets without the server. CLI
tacet A self-distilling neuro-symbolic cascade that amortises LLM cost across knowl... Tooling
telegram Telegram for AI agents -- messages, chats, media, and contacts across both bo... MCP
tools-docs Docs portal for the n24q02m open-source tool stack (skret, MCP plugins, hull,... Tooling
wet Open-source MCP server for AI agents: web search, content extraction, and lib... MCP
workspace Google Workspace MCP server (Docs/Drive/Calendar/Gmail/Sheets/Slides/Tasks/Ch... MCP

An MCP server that parses your codebase with Tree-sitter, builds a structural graph of functions/classes/imports, and gives Claude (or any MCP client) precise context so it reads only what matters instead of the whole tree. Semantic search runs through the local ONNX model registry from fastretrieval by default (zero config, no API key), with an optional cloud embedding chain. Fork of code-review-graph with fixed multi-word search, qualified call resolution, dual-mode embeddings, output pagination, and production CI/CD.

v2.0 migration (BREAKING)

v2.0 adds temporal columns (valid_from_sha / valid_to_sha on every node + edge) and an opt-in security scanner. The schema migration is auto-applied on first GraphStore open, and a backup of the pre-2.0 DB is saved to <graph_db>.pre-2.0.bak so you can roll back. See BREAKING_CHANGES.md for the full schema-change list, behavior changes, environment requirements, and the downgrade procedure (CRG_DOWNGRADE_TO_1_X=1 uv run crg).

Table of contents

  • v2.0 migration (BREAKING)
  • Install
  • Usage
  • Smithery
  • Configuration
  • Tools
  • CLI
  • Features
  • Comparison
  • Security
  • Build from source
  • Trust model
  • Migration & changelog
  • Documentation
  • License

Install

For OMP and other local coding harnesses, the primary surface is the package CLI plus the bundled skills/ workflows. The skills invoke the CLI directly and do not require an MCP server mapping.

# Run without a persistent install (short `crg` script; the PyPI distribution is
# n24q02m-crg, so `uvx` needs the explicit --from form for the `crg` name)
uvx --python 3.14 --from n24q02m-crg crg graph build --full-rebuild \
  --repo-root /path/to/repo
uvx --python 3.14 --from n24q02m-crg crg graph stats \
  --repo-root /path/to/repo

# Or install the console scripts (`crg`, `n24q02m-crg` and the legacy
# `better-code-review-graph`)
pip install n24q02m-crg
crg query search --search-query "authentication" \
  --repo-root /path/to/repo

The optional Semgrep engine for deeper security scans uses the semgrep CLI on PATH. Semgrep is not a crg dependency (its releases pin dependencies that conflict with crg's), so install it in its own environment:

uv tool install semgrep

MCP stdio remains a secondary protocol adapter for clients that require it:

{
  "mcpServers": {
    "crg": {
      "command": "uvx",
      "args": ["--python", "3.14", "n24q02m-crg@latest"],
      "env": { "MCP_TRANSPORT": "stdio" }
    }
  }
}

Install matrix (stdio unless noted; the CLI-first usage above stays the primary surface):

Client Install
Claude Code (plugin) /plugin marketplace add n24q02m/claude-plugins then /plugin install crg@n24q02m-plugins
Claude Code (stdio) claude mcp add crg -- uvx --python 3.14 n24q02m-crg@latest
Codex register stdio command uvx --python 3.14 n24q02m-crg@latest under mcp_servers in ~/.codex/config.toml
Gemini CLI add the mcpServers JSON above to ~/.gemini/settings.json
Cursor / Windsurf add the mcpServers JSON above via the client's MCP settings (mcp.json)
Any client (HTTP self-host) point the client at https://<your-host>/mcp (MCP_TRANSPORT=http) -- self-host only, no hosted endpoint

Install with an AI agent -- paste this to your AI coding agent:

Install MCP server crg following the steps at https://raw.githubusercontent.com/n24q02m/claude-plugins/main/plugins/crg/setup-with-agent.md

Full CLI usage is in CLI. Optional per-client MCP setup is at docs.n24q02m.com/plugins/servers/crg/setup/.

Usage

Two ways to run the server, plus the surfaces to consume it.

Dev: uv, no auth (loopback only)
# instance config lives at $CRG_CONFIG_DIR or ~/.crg (same schema as hull's
# config.toml); a default no-auth template is fine for local dev
uv run n24q02m-crg server start
# -> http://127.0.0.1:8000/mcp  (no-auth is refused on any off-loopback bind)
Always-on: docker (token auth)
cp docker-config/config.example.toml docker-config/config.toml
# mint a token + hash (hull CLI ships with crg's dependency tree):
#   TOKEN=$(python -c "import secrets; print(secrets.token_urlsafe(32))")
#   printf '%s' "$TOKEN" | hull token hash   # paste output into token_hash in config.toml
docker compose up -d

The compose file builds the Dockerfile's http target (image crg:http), publishes the container on host loopback only (127.0.0.1:${CRG_PORT:-8772}:8080), and mounts ./docker-config/config.toml read-only at the container's config dir (CRG_CONFIG_DIR=/data/config); graph state persists in the crg-data named volume. All state stays on your machine.

Consuming: CLI or MCP

CLI (local graphs, no server needed):

crg graph build --full-rebuild --repo-root /path/to/repo
crg query search --search-query "authentication" --repo-root /path/to/repo

MCP over HTTP (remote/always-on): point any MCP client at http://127.0.0.1:8772/mcp with Authorization: Bearer <token>:

{
  "mcpServers": {
    "crg": {
      "url": "http://127.0.0.1:8772/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}
Per-task model configuration

Each task (embed / rerank / chat / jev_score) resolves its own OpenAI-spec provider cell from [models.<task>] in the instance config: an independent base_url + api_key + model. Cloud or local is purely a config choice — point base_url at OpenRouter, a vendor, or your own local gateway (e.g. http://host.docker.internal:11434/v1). API keys are host-only material: keep them in config.toml (gitignored under docker-config/) or supply via HULL_<TASK>_API_KEY env; they are never end-user supplied.

Keys live in hull's provider credential pool (~/.hull/hull.db, sealed by hull's crypto), so a provider can hold several keys and named accounts. Every provider call rotates: 401/403 disables the key, 429 cools it down for the provider's Retry-After, 5xx retries once, and a pool that is fully disabled or cooling raises a redacted error carrying the remaining cooldown. An existing single key keeps working unchanged — it is migrated into the pool on first use, and the env var / config.toml value is never modified. Two optional keys per cell select the pool:

[models.chat]
provider = "openrouter"        # optional: pool identity (default: derived from base_url)
account  = "openrouter:work"   # optional: named account (default: the provider's default pool)

Additional keys and accounts are added through hull_core.credentials (CredentialStore.add_credential, CredentialStore.accounts().add), and config(action="setup_status") reports which tasks are configured without ever printing a key.

Local-first boundary

CRG is local-first for coding workflows:

  • CLI and bundled Skills are the primary surfaces for graph build/query, impact analysis, review context, security scans, and repository onboarding.
  • MCP stdio is the secondary protocol adapter over the same local domain services; it does not maintain a separate graph implementation.
  • Graph state stays in <repo>/.crg/graph.db unless an explicit multi-user/self-host configuration selects another data directory.
  • PyPI, CI, security scanning, GitHub releases, and eligible stable MCP Registry publication remain active. Historical public OCI tags are retained, but new public Docker Hub/GHCR images are no longer published.
  • CRG has no hosted Cloudflare runtime in the target topology.

Smithery

The repo ships a smithery.yaml so the server can be built and run through Smithery. It deploys over stdio and needs no startup configuration -- the config schema is empty. Optional cloud embedding/summary keys stay host-owned: they come from the [models.*] cells of the instance config or HULL_<TASK>_API_KEY env (see Configuration below). The launch command is the same uvx invocation as a local install:

startCommand:
  type: stdio
  commandFunction: |-
    (config) => ({ command: 'uvx', args: ['--python', '3.14', 'n24q02m-crg@latest'] })

Configuration

Everything works out of the box with zero configuration -- semantic search uses the local ONNX registry from fastretrieval (Qwen3-Embedding-0.6B is the current built-in reference entry, ~570 MB downloaded on first graph embed). This reference entry is not a Qwen-only boundary: any built-in registry ID or valid non-Qwen artifact manifest follows the same resolver. All environment variables below are optional and only needed for cloud embeddings, LLM summaries, or an explicit BYO local artifact.

Model selection

Embeddings select the first provider/model entry in EMBEDDING_MODELS; later entries are retained as configuration but are not runtime fallbacks. The summary model comes from the model field of the [models.chat] cell (an unconfigured cell disables summaries). Transport always comes from the per-task [models.<task>] cell (OpenRouter pre-wired default) — model-name prefixes only select wire details, never keys.

Variable Purpose Empty (default)
EMBEDDING_MODELS Cloud embedding selection; the first entry is active Local fastretrieval registry
[models.chat] cell model Completion model selection for graph(action="summarize") Summaries disabled

Cohere embed-v4.0 and Voyage voyage-4-lite request and store 1024 dimensions; other backends retain 768-dimensional storage. CRG never slices, pads, or silently accepts a different provider width. The embedding row's model and byte width must match before reuse. Run graph(action="embed") after changing models or upgrading an old 768-wide Cohere index. Searches reject incompatible widths before a provider call; graph nodes are retained and re-embedding replaces only stale vectors.

Provider API keys

The key lives in the per-task cell's api_key (host-only; see the table below). Keys alone never select models: an empty embedding chain stays local, and an empty summary chain stays disabled. A configured cloud error does not fall back to local or another provider. Summarizers require a chat-completion model.

Every credential is served from hull's provider key pool (see Per-task model configuration): one pool per provider, rotated per call, with named accounts selectable per cell.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases n24q02m-crg

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229