query_graph
Execute Cypher-like graph queries (read-only).
How to use it
Project documentation lists query_graph for the Codebase Memory MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
FULL CODEBASE MEMORY MCP LISTINGOther tools in Codebase Memory MCP (13)
Remove a project and all its graph data.
Map git diff to affected symbols + blast radius with risk classification.
Codebase overview: languages, packages, routes, hotspots, clusters, ADR.
Read source code for a function by qualified name.
Node/edge counts, relationship patterns, property definitions per label. Run this first.
Index a repository into the graph. Auto-sync keeps it fresh after that.
Check indexing status of a project.
Ingest runtime traces to validate HTTPCALLS edges.
List all indexed projects with node/edge counts.
CRUD for Architecture Decision Records. Query modes do not wait behind a same-project reindex; writes remain serialized.
Grep-like text search within indexed project files.
Structured search by label, name pattern, file pattern, degree filters. Pagination via limit/offset.
BFS traversal — who calls a function and what it calls (alias: tracecallpath). Depth 1-5.