MCPVault

search

MCP tool from Better Code Review Graph by n24q02m

Search code entities by name/keyword or semantic similarity.

How to use it

search is exposed by the Better Code Review Graph MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Better Code Review Graph

$uvx better-code-review-graph # run without installing
FULL BETTER CODE REVIEW GRAPH LISTING

Other tools in Better Code Review Graph (24)

build

Full or incremental graph build. Set fullrebuild=true to re-parse all files; pass roots to federate extra repo directories into one graph.

cache_clear

Remove all computed embeddings.

diff

Nodes added/removed/modified between two commit SHAs (fromsha, tosha).

embed

Compute vector embeddings for semantic search. Dual-mode: local ONNX or cloud chain.

export

Export the graph as graphml / json-ld / dot / cypher. Inline or to outputpath.

impact

Blast radius of changed files. Auto-detects from git diff. Paginated with maxresults.

large_functions

Find functions/classes exceeding a line-count threshold.

query

Predefined patterns: callersof, calleesof, importsof, importersof, childrenof, testsfor, inheritorsof, filesummary.

renamed_in_diff

Symbols whose callsite line shifted versus a base ref.

report

Re-emit cached findings as JSON (format='json') or SARIF v2.1.0 (format='sarif').

rule_list

List available rules for an engine.

scan

Run a security scan (engine='heuristic' default = 5 regex rules, or 'semgrep'). Findings persist on nodes.securitytags.

set

Update a runtime setting (key=loglevel).

setup_complete

Re-resolve credentials from environment variables.

setup_reset

Clear credentials and reset state.

setup_skip

Set local mode (skip relay permanently, use ONNX only).

setup_start

Start relay setup to configure API keys via browser (HTTP mode).

setup_status

Show current credential state, providers configured, and setup URL.

spot_check

Random callsite snippets from the last callersof/calleesof/inheritorsof/importersof result.

stats

Graph size, languages, node/edge breakdown, embedding count.

status

Server info: version, graph path, node/edge counts, embedding backend, embeddings count.

summarize

LLM-generated one-paragraph docstrings for Function nodes (via the SUMMARYMODELS chain; no-op when no provider key is set). Cost-capped via maxnodes.

suppress

Suppress a finding by ruleid (or remove=true to un-suppress).

update

Alias for build with fullrebuild=false (incremental).