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
git clone https://github.com/JonnoC/CodeRAGTools (38)
add_edgeAdd a relationship edge between two nodesadd_fileParse a single source file and add its entities to the graphadd_nodeAdd a new code node (class, interface, method, etc.) to the graphanalyze_testing_annotationsAnalyze testing patterns and coverage based on test annotations/decoratorscalculate_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 IDdelete_nodeDelete a code node by IDfind_architectural_issuesFind architectural issues (circular dependencies, god classes, high coupling)find_classes_calling_methodFind all classes that call a specific methodfind_classes_implementing_interfaceFind all classes that implement a specific interfacefind_deprecated_codeFind all code elements marked as deprecated and optionally their dependenciesfind_edges_by_sourceFind all edges originating from a source nodefind_implementationsfind_inheritance_hierarchyfind_method_callersfind_nodes_by_annotationFind code nodes (classes, methods, etc.) that have specific annotations/decoratorsfind_nodes_by_typeFind nodes by their typefind_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 impactget_annotation_usageGet comprehensive statistics on annotation/decorator usage patterns across the codebaseget_edgeGet an edge by IDget_framework_usageGet statistics on framework usage based on annotations/decorators across the codebaseget_inheritance_hierarchyGet the inheritance hierarchy for a classget_nodeGet a code node by IDget_project_summaryGet overall project metrics summary and quality assessmentget_similar_codeFind code entities that are semantically similar to a specific nodegit_cache_statsGet statistics about the Git repository cache, including number of cached repositories and total size.initialize_semantic_searchInitialize semantic search infrastructure including vector indexeslist_projectsList all projects in the CodeRAG graph database with optional statisticsscan_dirScan a directory for source files and populate the graphscan_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 descriptionsemantic_searchSearch for code using natural language queries to find functionality by meaning rather than syntaxupdate_embeddingsGenerate or update semantic embeddings for code entities to enable semantic searchupdate_nodeUpdate an existing code nodevalidate_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