crg
v3.36.0Token-efficient code review knowledge graph: semantic search and call-graph resolution.
Values you need
| Variable | What it is | |
|---|---|---|
EMBEDDING_MODELS | optional | Embedding models in selection order; the current runtime uses the first provider/model entry; empty = local ONNX |
LOCAL_EMBEDDING_MODEL | optional | Built-in fastretrieval model ID or local directory with fastretrieval-manifest.json |
LOCAL_RERANK_MODEL | optional | Fastretrieval TextCrossEncoder model ID; empty = reranking disabled |
LOCAL_EMBEDDING_DIM | optional | Required positive output dimension for an external local embedding ID without a manifest |
LOCAL_EMBEDDING_MODEL_FILE | optional | ONNX file path inside a manifest-backed local embedding directory |
LOCAL_EMBEDDING_POOLING | optional | Explicit pooling for an external local embedding ID without a manifest |
LOCAL_EMBEDDING_NORMALIZE | optional | Explicit L2 normalization for an external local embedding ID without a manifest |
HULL_EMBED_API_KEY | optional secret | API key for the [models.embed] cell transport (OpenRouter pre-wired default); host-injected, overrides the cell api_key |
HULL_CHAT_API_KEY | optional secret | API key for the [models.chat] cell transport (OpenRouter pre-wired default); host-injected, enables LLM summaries when the cell model is set |
EMBEDDING_BACKEND | optional | DEPRECATED and ignored: setting it only logs a warning; the backend follows EMBEDDING_MODELS and DISABLE_LOCAL_EMBED. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add crg -- uvx --from n24q02m-crg==3.36.0 better-code-review-graphAdd to
claude_desktop_config.json{
"mcpServers": {
"crg": {
"args": [
"--from",
"n24q02m-crg==3.36.0",
"better-code-review-graph"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"crg": {
"args": [
"--from",
"n24q02m-crg==3.36.0",
"better-code-review-graph"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"crg": {
"args": [
"--from",
"n24q02m-crg==3.36.0",
"better-code-review-graph"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.crg]
command = "uvx"
args = ["--from", "n24q02m-crg==3.36.0", "better-code-review-graph"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: graph, query, review, config, help, security.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json