Scan your whole stack
From OX Research Newsroom
Are you using n24q02m-crg?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.36.0b2
n24q02m-crg was last scanned on 27 Nov 2026 at version 3.36.0b2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
Knowledge graph for token-efficient code reviews -- semantic search and call-graph resolution across your codebase.
Renamed: repo is
crg, PyPI distribution isn24q02m-crg(formerlybetter-code-review-graph, kept as a legacy command alias) — CLI-first (crgcommand); MCP server is a secondary surface.
mcp-name: io.github.n24q02m/crg
| 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 |
| 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 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).
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
crgfollowing 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/.
Two ways to run the server, plus the surfaces to consume it.
# 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)
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.
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>" }
}
}
}
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.
CRG is local-first for coding workflows:
<repo>/.crg/graph.db unless an explicit
multi-user/self-host configuration selects another data directory.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'] })
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.
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.
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.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.