1. Conduid
  2. RAG
  3. CodeRAG
MCP server · RAG

CodeRAG

Advanced graph-based code analysis for AI-assisted software development

Unclaimed MIT last commit a year ago code-analysismcp-serverneo4jrag
53Fair

Scored 8 hours ago · breakdown

About CodeRAG

CodeRAG is an MCP server published by JonnoC in the RAG category: advanced graph-based code analysis for AI-assisted software development. Conduid read 38 tools from its source: add_edge, add_file, add_node, analyze_testing_annotations, calculate_ck_metrics, calculate_package_metrics and 32 more. No package is published for it, so it installs from a source checkout.

The repository has 28 stars and 14 forks, is licensed MIT, and its last commit was on 16 Jun 2025. Conduid has no tagged release on record for it. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include code-analysis, neo4j and rag.

Install

From source
git clone https://github.com/JonnoC/CodeRAG

Tools (38)

add_edgeAdd a relationship edge between two nodes
add_fileParse a single source file and add its entities to the graph
add_nodeAdd a new code node (class, interface, method, etc.) to the graph
analyze_testing_annotationsAnalyze testing patterns and coverage based on test annotations/decorators
calculate_ck_metricsCalculate Chidamber & Kemerer metrics for a class (WMC, DIT, NOC, CBO, RFC, LCOM)
calculate_package_metricsCalculate package metrics (Afferent/Efferent Coupling, Instability, Abstractness, Distance)
clear_git_cacheClear all cached Git repositories to free up disk space.
delete_edgeDelete an edge by ID
delete_nodeDelete a code node by ID
find_architectural_issuesFind architectural issues (circular dependencies, god classes, high coupling)
find_classes_calling_methodFind all classes that call a specific method
find_classes_implementing_interfaceFind all classes that implement a specific interface
find_deprecated_codeFind all code elements marked as deprecated and optionally their dependencies
find_edges_by_sourceFind all edges originating from a source node
find_implementations
find_inheritance_hierarchy
find_method_callers
find_nodes_by_annotationFind code nodes (classes, methods, etc.) that have specific annotations/decorators
find_nodes_by_typeFind nodes by their type
find_untestable_codeFind code patterns that may be difficult to test (private methods, static methods, etc.)
find_usage_of_deprecated_codeFind code that uses deprecated elements and assess migration impact
get_annotation_usageGet comprehensive statistics on annotation/decorator usage patterns across the codebase
get_edgeGet an edge by ID
get_framework_usageGet statistics on framework usage based on annotations/decorators across the codebase
get_inheritance_hierarchyGet the inheritance hierarchy for a class
get_nodeGet a code node by ID
get_project_summaryGet overall project metrics summary and quality assessment
get_similar_codeFind code entities that are semantically similar to a specific node
git_cache_statsGet statistics about the Git repository cache, including number of cached repositories and total size.
initialize_semantic_searchInitialize semantic search infrastructure including vector indexes
list_projectsList all projects in the CodeRAG graph database with optional statistics
scan_dirScan a directory for source files and populate the graph
scan_remote_repoScan a remote Git repository and populate the graph database. Supports GitHub, GitLab, Bitbucket, and custom Git servers.
search_nodesSearch nodes by name, qualified name, or description
semantic_searchSearch for code using natural language queries to find functionality by meaning rather than syntax
update_embeddingsGenerate or update semantic embeddings for code entities to enable semantic search
update_nodeUpdate an existing code node
validate_remote_repoValidate that a remote Git repository is accessible and can be scanned.

Security checks

  • ✓README presentThe repository's README runs to about 840 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 103 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

README

The repository's README runs to about 840 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About CodeRAG

How do I install CodeRAG?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is CodeRAG safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. It has no ConduID identity yet, so agent calls to it are not receipted.

Is CodeRAG still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does CodeRAG provide?

Conduid read 38 tools from the source: add_edge, add_file, add_node, analyze_testing_annotations, calculate_ck_metrics, calculate_package_metrics, clear_git_cache, delete_edge and 30 more.

What license is CodeRAG released under?

The repository declares the MIT license.