CodeGraphContext MCP
CodeGraphContext / Shashank Shekhar Singh (community-maintained)
CodeGraphContext / Shashank Shekhar Singh (community-maintained)
A community-maintained local MCP server that indexes source repositories into a graph so an assistant can query symbols, calls, dependencies, complexity, and other code relationships.
The repository MCP_TOOLS.md enumerates 25 tools for version 0.4.16; the current README identifies version 0.5.1 and another getting-started page reports 21 tools. The 25 names below are a documented inventory, not an observed tools/list result; see source_conflicts.
discover_codegraph_contextsFind indexed CodeGraphContext databases below a directory.
Parameters: path, max_depthswitch_contextSelect a CodeGraphContext database for the session.
Parameters: context_path, saveadd_code_to_graphIndex a local directory into the graph.
Parameters: path, is_dependencyadd_package_to_graphIndex an installed dependency package.
Parameters: package_name, language, is_dependencylist_indexed_repositoriesList repositories currently indexed in the graph.
delete_repositoryRemove an indexed repository from the graph.
Parameters: repo_pathget_repository_statsGet file, function, class, and module counts.
Parameters: repo_pathfind_codeSearch indexed symbols and content.
Parameters: query, fuzzy_search, edit_distance, repo_pathanalyze_code_relationshipsQuery callers, callees, imports, hierarchy, and related code.
Parameters: query_type, target, context, repo_pathfind_dead_codeFind candidate unused functions.
Parameters: exclude_decorated_with, repo_pathcalculate_cyclomatic_complexityCalculate complexity for a function.
Parameters: function_name, path, repo_pathfind_most_complex_functionsRank functions by cyclomatic complexity.
Parameters: limit, repo_pathload_bundleLoad a CodeGraphContext bundle.
Parameters: bundle_name, clear_existingsearch_registry_bundlesSearch the public bundle registry.
Parameters: query, unique_onlywatch_directoryIndex and monitor a directory for changes.
Parameters: pathlist_watched_pathsList active directory watch roots.
unwatch_directoryStop monitoring a directory.
Parameters: pathlist_jobsList background indexing and scan jobs.
check_job_statusCheck the status of an indexing job.
Parameters: job_idexecute_cypher_queryRun read-only Cypher against the active graph backend.
Parameters: cypher_queryvisualize_graph_queryBuild a graph-browser URL for a query.
Parameters: cypher_querygenerate_reportGenerate a Markdown code graph audit report.
Parameters: output_path, include_javafind_java_spring_endpointsList indexed Spring HTTP endpoints.
Parameters: repo_pathfind_java_spring_beansList indexed Spring bean stereotypes.
Parameters: stereotype, repo_pathfind_datasource_nodesQuery indexed datasource architecture nodes.
Parameters: kind, name, include_columnsThis server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.
Project source documents graph indexing, code search, analysis, and repository management tools.
Documentation checked 2026-10-28T00:00:00Z. Connection has not been runtime tested.
CodeGraphContext / Shashank Shekhar Singh (community-maintained)
A community-maintained local MCP server that indexes source repositories into a graph so an assistant can query symbols, calls, dependencies, complexity, and other code relationships.
The repository MCP_TOOLS.md enumerates 25 tools for version 0.4.16; the current README identifies version 0.5.1 and another getting-started page reports 21 tools. The 25 names below are a documented inventory, not an observed tools/list result; see source_conflicts.
discover_codegraph_contextsFind indexed CodeGraphContext databases below a directory.
Parameters: path, max_depthswitch_contextSelect a CodeGraphContext database for the session.
Parameters: context_path, saveadd_code_to_graphIndex a local directory into the graph.
Parameters: path, is_dependencyadd_package_to_graphIndex an installed dependency package.
Parameters: package_name, language, is_dependencylist_indexed_repositoriesList repositories currently indexed in the graph.
delete_repositoryRemove an indexed repository from the graph.
Parameters: repo_pathget_repository_statsGet file, function, class, and module counts.
Parameters: repo_pathfind_codeSearch indexed symbols and content.
Parameters: query, fuzzy_search, edit_distance, repo_pathanalyze_code_relationshipsQuery callers, callees, imports, hierarchy, and related code.
Parameters: query_type, target, context, repo_pathfind_dead_codeFind candidate unused functions.
Parameters: exclude_decorated_with, repo_pathcalculate_cyclomatic_complexityCalculate complexity for a function.
Parameters: function_name, path, repo_pathfind_most_complex_functionsRank functions by cyclomatic complexity.
Parameters: limit, repo_pathload_bundleLoad a CodeGraphContext bundle.
Parameters: bundle_name, clear_existingsearch_registry_bundlesSearch the public bundle registry.
Parameters: query, unique_onlywatch_directoryIndex and monitor a directory for changes.
Parameters: pathlist_watched_pathsList active directory watch roots.
unwatch_directoryStop monitoring a directory.
Parameters: pathlist_jobsList background indexing and scan jobs.
check_job_statusCheck the status of an indexing job.
Parameters: job_idexecute_cypher_queryRun read-only Cypher against the active graph backend.
Parameters: cypher_queryvisualize_graph_queryBuild a graph-browser URL for a query.
Parameters: cypher_querygenerate_reportGenerate a Markdown code graph audit report.
Parameters: output_path, include_javafind_java_spring_endpointsList indexed Spring HTTP endpoints.
Parameters: repo_pathfind_java_spring_beansList indexed Spring bean stereotypes.
Parameters: stereotype, repo_pathfind_datasource_nodesQuery indexed datasource architecture nodes.
Parameters: kind, name, include_columnsThis server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.
Project source documents graph indexing, code search, analysis, and repository management tools.
Documentation checked 2026-10-28T00:00:00Z. Connection has not been runtime tested.