AI 开源雷达

n24q02m/crg

为代码审查构建知识图谱,降低 token 消耗

★ 78 协议: Apache-2.0 最近提交: 0d 传输方式: stdio / sse 仓库地址 ↗

解决什么问题

没有它,跨代码库的语义搜索与调用图解析需要自行处理,代码审查更耗 token。

适用客户端

安装命令

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
pip install n24q02m-crg
docker compose up -d

一键配置

{
  "mcpServers": {
    "crg": {
      "command": "uvx",
      "args": [
        "--python",
        "3.14",
        "n24q02m-crg@latest"
      ],
      "env": {
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}
{
  "mcpServers": {
    "crg": {
      "url": "http://127.0.0.1:8772/mcp",
      "headers": {
        "Authorization": "Bearer <token>"
      }
    }
  }
}
{
  "mcpServers": {
    "crg": {
      "command": "uvx",
      "args": [
        "--python",
        "3.14",
        "n24q02m-crg@latest"
      ],
      "env": {
        "MCP_TRANSPORT": "stdio",
        "EMBEDDING_MODELS": "cohere/embed-v4.0",
        "HULL_EMBED_API_KEY": "sk-or-...",
        "HULL_CHAT_API_KEY": "sk-or-..."
      }
    }
  }
}

要用 VS Code / Codex 格式?去配置互转 →

安全标记

维护状态

最近提交2026-12-06(0d)
Star78
待处理 issue1
协议Apache-2.0
已归档否
数据抓取于2026-12-06

原文摘录

以下为仓库 README 原文,未做改写,用于核对上面的摘要。

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

同类替代