← MCP servers · vitali87

code-graph-rag

CAUTIONgrade F · trust 44/100

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

aiastclaude codecode analysiscode understandingcodebase searchdeveloper toolsgraph database

Overview

From the repository's own README, as read at the audited commit.

<div align="center">  <picture>    <source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark-any.png">    <source media="(prefers-color-scheme: light)" srcset="assets/logo-light-any.png">    <img src="assets/logo-light-any.png" alt="Code-Graph-RAG Logo" width="480">  </picture>  <p>    <a href="https://trendshift.io/repositories/99619" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/99619" alt="vitali87/code-graph-rag | Trendshift" width="250" height="55"/></a>  </p>  <p>  <a href="https://github.com/vitali87/code-graph-rag/actions/workflows/ci.yml">    <img src="https://img.shields.io/github/actions/workflow/status/vitali87/code-graph-rag/ci.yml?branch=main" alt="CI" />  </a>  <a href="https://codecov.io/gh/vitali87/code-graph-rag">    <img src="https://codecov.io/gh/vitali87/code-graph-rag/graph/badge.svg" alt="Codecov" />  </a>  <a href="https://sonarcloud.io/summary/overall?id=vitali87_code-graph-rag">    <img src="https://sonarcloud.io/api/project_badges/measure?project=vitali87_code-graph-rag&metric=alert_status" alt="Quality Gate Status" />  </a>  <a href="https://code-graph-rag.com">    <img src="https://img.shields.io/badge/Enterprise-Support%20%26%20Services-6366f1" alt="Enterprise Support" />  </a>  <a href="https://pypi.org/project/code-graph-rag/">    <img src="https://img.shields.io/pypi/v/code-graph-rag" alt="PyPI Version" />  </a>  <a href="https://pepy.tech/projects/code-graph-rag">    <img src="https://static.pepy.tech/personalized-badge/code-graph-rag?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads" alt="PyPI Downloads" />  </a>  <a href="https://skillsllm.com/security-check/DHsMGRb1Ysys">    <img src="https://skillsllm.com/security-check/badge.svg?owner=vitali87&repo=code-graph-rag" alt="SkillsLLM Security Check" />  </a>  <a href="https://scorecard.dev/viewer/?uri=github.com/vitali87/code-graph-rag">    <img src="https://api.scorecard.dev/

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add code-graph-rag --env ORCHESTRATOR_API_KEY=${ORCHESTRATOR_API_KEY} --env CYPHER_API_KEY=${CYPHER_API_KEY} -- uvx code-graph-rag==0.0.949 mcp-server

Details

Source
vitali87/code-graph-rag
npm
ts_oracle@0.1.0
PyPI
code-graph-rag
Transports
stdio · streamable-http
Credentials it reads
CYPHER_API_KEYGITHUB_TOKENGOOGLE_API_KEYJWT_SECRET_KEYKEYMY_KEYORCHESTRATOR_API_KEYREAD_KEYSECRETTOKEN
Tools
Registered at runtime; the list could not be read from source.
License
MIT
Stars
5,143 · pushed 0d ago

Trust audit

Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (7 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

MEDIUMInventory / provenance · inv.binary · CWE-1104
fuzz/corpus/fuzz_incremental_update/append_call.bin
append_call.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
fuzz/corpus/fuzz_incremental_update/delete.bin
delete.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
fuzz/corpus/fuzz_incremental_update/delete_recreate.bin
delete_recreate.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
fuzz/corpus/fuzz_incremental_update/empty_file.bin
empty_file.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
fuzz/corpus/fuzz_incremental_update/multi_edit.bin
multi_edit.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
codebase_rag/cli.py:93
vendored = importlib.import_module(cs.TYPER_VENDORED_CLICK_EXCEPTIONS_MODULE)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
codebase_rag/parser_loader.py:59
module = importlib.import_module(module_name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
codebase_rag/parser_loader.py:94
module = importlib.import_module(module_path)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
codebase_rag/parser_loader.py:289
module = importlib.import_module(module_name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
codebase_rag/parsers/py/utils.py:125
module = importlib.import_module(module_path)
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
codebase_rag/capture.py:108
logger.warning(ls.CAPTURE_UNKNOWN_TOKEN.format(token=token))
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
codebase_rag/stack/health.py:55
url = f"http://127.0.0.1:{port}/readyz"
MEDIUMObfuscation / stealth · obf.anti_debug · CWE-506, CWE-94
evals/calls_trace.py:104
sys.settrace(tracer)
MEDIUMObfuscation / stealth · obf.anti_debug · CWE-506, CWE-94
evals/calls_trace.py:108
sys.settrace(previous)
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
fuzz/build_corpus.py:104
"bom": "def f():\n    return 1\n",
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
codebase_rag/tests/test_research_boundary.py:34
SECRET = "-----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAA"
LOWInventory / provenance · inv.hidden_file · CWE-1104
.coderabbit.yaml
.coderabbit.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitmodules
.gitmodules
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.deserialize · CWE-78, CWE-94, CWE-95
codebase_rag/tests/test_ast_grep_analyzer.py:226
"    yaml.load(u); pickle.loads(u)\n"
Why it matters. deserialises untrusted bytes into live objects
Fix. use json or yaml.safe_load
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
codebase_rag/tests/test_ast_grep_analyzer.py:222
"    eval(u); exec(u)\n"
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
codebase_rag/tests/test_ast_grep_analyzer.py:237
"eval(userInput);\n"
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
codebase_rag/tests/test_ast_grep_analyzer.py:355
"    eval($code);\n"
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
codebase_rag/tests/test_ast_grep_analyzer.py:425
"    eval(code)\n"
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
codebase_rag/tests/test_dynamic_trace_tracer.py:198
exec(compile(source, str(path), "exec"), namespace)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table

Gates applied: no_behavioural_pass.

Audited 2026-09-17 · audit v0.4.0 · source sha 876d15073a6f · full audit: observations/trust-audit/mcp-server/vitali87__code-graph-rag.json · Report an issue or request a re-scan

Audit history

DateSourceVerdictGradeScoreChange
2026-09-17876d15073a6fCAUTIONF44first audit

Alternatives

Other servers in the same categories, safer ones first.

Questions

What is the code-graph-rag MCP server?

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

Is code-graph-rag safe to connect to an agent?

With care. The audit graded it F (44/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does code-graph-rag need?

It reads CYPHER_API_KEY, GITHUB_TOKEN, GOOGLE_API_KEY, JWT_SECRET_KEY, KEY, MY_KEY, ORCHESTRATOR_API_KEY, READ_KEY, SECRET and TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does code-graph-rag run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as ts_oracle at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (876d15073a6f), read on 2026-09-17. The repository is watched and re-audited when it changes.

Provenance: OBSERVED · read 2026-09-17 · job trust-audit-2026-09-17