MCP ScannerCustom audit
All servers

kuberstar/qartez-mcp

Semantic code intelligence MCP server for Claude Code - project maps, symbol search, impact analysis, and more

Packageqartez-mcp
Version0.13.0 in Cargo.toml
Publisherkuberstar community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 73Forks 6Last push 2026-11-09
Rust 94.0%TypeScript 6.0%by source files the scanner reads
Code safetypartly tracedExposure6.1Prompts10.0Supply chain6.0Secrets10.0Transparency10.0
Analysis confidence79%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure6.1/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain6.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 5 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • MEDIUM5 production dependencies have known vulnerabilities (worst: medium).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use cookie 0.18.3 or later, libz-sys 1.1.33 or later, url 2.5.9 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 43 tools, 6 prompts. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Start other programs on the machinecan run commands or launch programs
qartez_project
1 of 49
Read or write filesopen, create, change or delete files
qartez_add_root, qartez_boundaries, qartez_calls, qartez_clones, qartez_context, qartez_diff_impact and 22 more
28 of 49
Connect to the internet or other hostssend requests or open connections
qartez_clones, qartez_health, qartez_insert_after_symbol, qartez_insert_before_symbol, qartez_move, qartez_rename_file and 4 more
10 of 49
Read environment variablesoften where API keys are kept
qartez_add_root, qartez_boundaries, qartez_calls, qartez_grep, qartez_insert_after_symbol, qartez_insert_before_symbol and 16 more
22 of 49

No tool was seen to: read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files27 tools · qartez_add_root, qartez_boundaries, qartez_calls +24

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (49: 43 tools, 6 prompts)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

qartez_arch_reviewprompt Architecture risk audit: orchestrates Qartez tools to surface structural risks (fragile hubs, tangled boundaries, security surface, complexity debt). Optional a
Architecture risk audit: orchestrates Qartez tools to surface structural risks (fragile hubs, tangled boundaries, security surface, complexity debt). Optional argument: `focus`.
qartez_architectureprompt Produce a one-minute codebase architecture overview grounded in PageRank, language stats, and detected toolchain. Optional argument: `top_n`.
Produce a one-minute codebase architecture overview grounded in PageRank, language stats, and detected toolchain. Optional argument: `top_n`.
qartez_debugprompt Debugging workflow for a suspect symbol or file: definition, body, call hierarchy, and all references. Argument: `target` (symbol name or file path), optional `
Debugging workflow for a suspect symbol or file: definition, body, call hierarchy, and all references. Argument: `target` (symbol name or file path), optional `file_path`.
qartez_onboardprompt New-developer onboarding for a subsystem. Returns the five files to read first with motivation for each. Optional argument: `area`.
New-developer onboarding for a subsystem. Returns the five files to read first with motivation for each. Optional argument: `area`.
qartez_pre_mergeprompt Pre-merge safety check across the changed files: blast radius, untouched co-change partners, and newly unused exports. Argument: `files` (comma-separated list).
Pre-merge safety check across the changed files: blast radius, untouched co-change partners, and newly unused exports. Argument: `files` (comma-separated list).
qartez_reviewprompt Review a changed file using Qartez: blast radius, symbol outline, dangling references, and co-change partners. Argument: `target` (file path).
Review a changed file using Qartez: blast radius, symbol outline, dangling references, and co-change partners. Argument: `target` (file path).
qartez_add_roottool Register an additional project root at runtime. Indexes the directory, updates pagerank/co-change, and (by default) hot-attaches a file watcher so subsequent edFilesEnv varsoutside text
Register an additional project root at runtime. Indexes the directory, updates pagerank/co-change, and (by default) hot-attaches a file watcher so subsequent edits reindex live. Distinct from `qartez_workspace add` in that the alias is optional (derived from the path basename) and persistence to `.qartez/workspace.toml` can be toggled off for ephemeral roots.
qartez_blametool Git blame scoped to a single symbol: resolves a function/type/method name to its file and line range, then shows who last touched those lines. mode='hunk' (defa
Git blame scoped to a single symbol: resolves a function/type/method name to its file and line range, then shows who last touched those lines. mode='hunk' (default) lists per-hunk commits and authors; mode='aggregate' rolls up by author with each author's latest commit. Pass file_path to disambiguate a name defined in several files. Requires git history (index with --git-depth > 0).
qartez_boundariestool Check architecture boundary rules defined in `.qartez/boundaries.toml` against the import graph. Each rule says files matching `from` must not import files matcFilesEnv varsoutside text
Check architecture boundary rules defined in `.qartez/boundaries.toml` against the import graph. Each rule says files matching `from` must not import files matching any `deny` pattern (with optional `allow` overrides). Returns the list of violating edges. Pass `suggest=true` to emit a starter config derived from the current Leiden clustering instead of running the checker. When `suggest=true` and the clustering table is empty, `auto_cluster=true` (default) runs the clustering on demand; set `auto_cluster=false` to fail loudly instead. `write_to` is only honored with `suggest=true`.
qartez_callstool Show call hierarchy for a function: who calls it (callers) and what it calls (callees). Uses tree-sitter AST analysis. Distinguishes actual calls from type annoFilesEnv varsoutside text
Show call hierarchy for a function: who calls it (callers) and what it calls (callees). Uses tree-sitter AST analysis. Distinguishes actual calls from type annotations, unlike qartez_refs.
qartez_clonestool Detect duplicate code: groups of symbols with identical structural shape (same AST skeleton after normalizing identifiers, literals, and comments). Each group iFilesNetworkoutside text
Detect duplicate code: groups of symbols with identical structural shape (same AST skeleton after normalizing identifiers, literals, and comments). Each group is a refactoring opportunity — extract the common logic into a shared function. Use min_lines to filter out trivial matches. Test files and inline `#[cfg(test)]` modules are excluded by default (parallel parser-fixture tests share AST shapes on purpose); set `include_tests=true` to scan them too.
qartez_cochangetool Find files that historically change together (from git history). High co-change count means files are logically coupled - modifying one likely requires modifyin
Find files that historically change together (from git history). High co-change count means files are logically coupled - modifying one likely requires modifying the other. Pass `limit=0` to remove the row cap; the default is 10. Note: `max_commit_size` filters the live git walk, not the index-time cache. When git is unavailable or the working tree has diverged, the tool falls back to a pre-computed table whose pairs were captured under the index-time `--commit-size-cap` setting; in that fallback path `max_commit_size` is ignored.
qartez_contexttool Smart context builder: given files you plan to modify, returns the optimal set of related files to read first. Combines dependency graph, co-change history, andFilesoutside text
Smart context builder: given files you plan to modify, returns the optimal set of related files to read first. Combines dependency graph, co-change history, and PageRank to prioritize what matters. Pass `include_impact=true` to append a one-line blast-radius summary per input file (direct importers, transitive count, cochange partner count) and `include_test_gaps=true` to append a one-line test-coverage status per input file - so a single call covers the prepare-change checklist without a follow-up qartez_impact / qartez_test_gaps round-trip.
qartez_depstool Show a file's dependency graph: what it imports (outgoing) and what imports it (incoming). Reveals coupling and helps plan safe changes.
Show a file's dependency graph: what it imports (outgoing) and what imports it (incoming). Reveals coupling and helps plan safe changes.
qartez_diff_impacttool Batch impact analysis for a git diff range. Pass a revspec like 'main..HEAD' to get a unified report: changed files with PageRank, union blast radius, convergenFilesoutside text
Batch impact analysis for a git diff range. Pass a revspec like 'main..HEAD' to get a unified report: changed files with PageRank, union blast radius, convergence points (files affected by 2+ changes), and co-change omissions (historically coupled files missing from the diff). Pass risk=true to add per-file risk scoring (health, boundary violations, test coverage). Single call replaces N calls to qartez_impact + qartez_cochange.
qartez_findtool Locate a symbol definition by exact name. Returns file path, line range, signature, and visibility for every match. Use kind filter to disambiguate (e.g., kind=
Locate a symbol definition by exact name. Returns file path, line range, signature, and visibility for every match. Use kind filter to disambiguate (e.g., kind='struct').
qartez_greptool Search indexed symbols by name, kind, or file path using FTS5. Prefix matching is anchored to the symbol name column (e.g. 'Config*' matches symbols whose name FilesEnv varsoutside text
Search indexed symbols by name, kind, or file path using FTS5. Prefix matching is anchored to the symbol name column (e.g. 'Config*' matches symbols whose name starts with 'Config', not file paths that happen to contain it). Use the `kind` param to filter results by symbol kind (function / struct / method / etc.). Returns symbol locations with export status. Faster than Grep because it searches the pre-built index, not disk.
qartez_healthtool Prioritized, actionable health report that cross-references qartez_hotspots (complexity x coupling x churn) with qartez_smells (god functions, long parameter liNetwork
Prioritized, actionable health report that cross-references qartez_hotspots (complexity x coupling x churn) with qartez_smells (god functions, long parameter lists, feature envy). Files that score badly in both signals are surfaced first as 'critical' with a concrete suggested refactor technique. Use `qartez_refactor_plan file_path=<X>` to expand a recommendation into a step-by-step plan. Filter semantics: `max_health` is the upper bound on the 0-10 health scale (default 5.0); only files with score <= max_health that ALSO match a hotspot OR smell heuristic are listed. `max_health=10` therefore means "include every file with at least one of max_cc > 0 or a named smell", not "every indexed file". Pass `limit=0` to remove the row cap; the default is 15.
qartez_hierarchytool Query the type hierarchy: find all types that implement a trait/interface, or all traits/interfaces a type implements. Works across Rust (impl Trait for Type),
Query the type hierarchy: find all types that implement a trait/interface, or all traits/interfaces a type implements. Works across Rust (impl Trait for Type), TypeScript/Java (extends/implements), Python (base classes), and Go (interface embedding). `max_depth=0` returns only the seed symbol with no children or parents.
qartez_hotspotstool Find hotspot files or functions with a normalized 0-10 health score. Combines complexity, coupling (PageRank), and churn (git change frequency) into both a raw
Find hotspot files or functions with a normalized 0-10 health score. Combines complexity, coupling (PageRank), and churn (git change frequency) into both a raw hotspot score and a health rating (10 = healthiest, 0 = worst). Use sort_by to rank by any individual factor; use threshold to filter unhealthy code (e.g. threshold=4 shows only files scoring 4 or below). Requires a prior index with git depth > 0. For level=symbol the churn factor is the file's change_count - tooling cannot attribute git churn to individual symbols, so high-churn files inflate every symbol's hotspot score even when the symbol itself was never edited. Pass `limit=0` to remove the row cap; the default is 20.
qartez_impacttool MUST call before modifying any file with exports. Shows direct importers, transitive dependents, and co-change partners — the full set of files that could breakFilesoutside text
MUST call before modifying any file with exports. Shows direct importers, transitive dependents, and co-change partners — the full set of files that could break.
qartez_insert_after_symboltool Insert `new_code` on the line immediately after the anchor symbol's last line. Use to add helpers, tests, or new items next to related code without needing the FilesNetworkEnv varsoutside text
Insert `new_code` on the line immediately after the anchor symbol's last line. Use to add helpers, tests, or new items next to related code without needing the exact surrounding context. Preview by default; set apply=true to execute. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_insert_before_symboltool Insert `new_code` on the line immediately before the anchor symbol's first line. Use to add helpers, tests, or new items next to related code without needing thFilesNetworkEnv varsoutside text
Insert `new_code` on the line immediately before the anchor symbol's first line. Use to add helpers, tests, or new items next to related code without needing the exact surrounding context. Preview by default; set apply=true to execute. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_knowledgetool Git-blame-based authorship analysis: find single-author files, knowledge silos, and bus factor per module. Bus factor = minimum authors who own >50% of lines. U
Git-blame-based authorship analysis: find single-author files, knowledge silos, and bus factor per module. Bus factor = minimum authors who own >50% of lines. Use level='file' for per-file breakdown or level='module' for per-directory summary. Useful before modifying code with concentrated ownership.
qartez_list_rootstool List every project root currently tracked by the server. Each entry shows the canonical path, alias, source (cli / config / runtime), whether a file watcher is
List every project root currently tracked by the server. Each entry shows the canonical path, alias, source (cli / config / runtime), whether a file watcher is attached, the file count under that root, and the last index timestamp when available.
qartez_maintenancetool Inspect and compact the `.qartez/index.db` file. Default action 'stats' is read-only and reports DB / WAL sizes, top tables by row count, current workspace fing
Inspect and compact the `.qartez/index.db` file. Default action 'stats' is read-only and reports DB / WAL sizes, top tables by row count, current workspace fingerprint, last full-reindex timestamp, and any derived-table coverage gaps that point to a stale pagerank or body-FTS state. Other actions: 'checkpoint' (truncate WAL), 'optimize_fts' (merge FTS5 segments), 'vacuum_incremental' (free pages back to OS), 'vacuum' (full rewrite, slow on multi-GiB DBs), 'convert_incremental' (one-shot conversion to auto_vacuum=INCREMENTAL; idempotent), 'purge_stale' (drop file rows for roots no longer in the workspace), 'purge_orphaned' (drop file rows whose on-disk path no longer exists).
qartez_maptool Start here. Returns the codebase skeleton: files ranked by importance (PageRank), their exports, and blast radii. Use boost_files/boost_terms to focus on areas Filesoutside text
Start here. Returns the codebase skeleton: files ranked by importance (PageRank), their exports, and blast radii. Use boost_files/boost_terms to focus on areas relevant to your current task.
qartez_movetool Move a symbol to another file and update all import paths automatically. Handles extraction, insertion, and importer rewrites in one step. Importer count is souFilesNetworkEnv varsoutside text
Move a symbol to another file and update all import paths automatically. Handles extraction, insertion, and importer rewrites in one step. Importer count is sourced from the full symbol reference graph (same data as `qartez_refs`), not just the file-level `use` edges. Use `kind` / `file_path` to disambiguate when the name is shared. Preview by default; set apply=true to execute.
qartez_outlinetool List every symbol in a file grouped by kind (functions, classes, structs, etc.) with line numbers and signatures. Like a table of contents for the file.Filesoutside text
List every symbol in a file grouped by kind (functions, classes, structs, etc.) with line numbers and signatures. Like a table of contents for the file.
qartez_pathtool Find the shortest call/reference path between two symbols. Runs a forward BFS over the persisted symbol-reference graph from `from` to `to`, returning the order
Find the shortest call/reference path between two symbols. Runs a forward BFS over the persisted symbol-reference graph from `from` to `to`, returning the ordered symbol/file chain plus a count of alternative shortest paths. Filter edges by `kind` ('call' or 'type'); both are traversed by default.
qartez_projecttool Run project commands (test, build, lint, typecheck) with auto-detected toolchain (Cargo, npm/bun/yarn/pnpm, Go, Python, Dart/Flutter, Maven, Gradle, sbt, Ruby, ProcessesFilesEnv varsoutside text
Run project commands (test, build, lint, typecheck) with auto-detected toolchain (Cargo, npm/bun/yarn/pnpm, Go, Python, Dart/Flutter, Maven, Gradle, sbt, Ruby, Make). Use action='info' to see detected commands. Use filter for targeted runs (e.g., test name).
qartez_readtool Read one or more symbols' source code from disk with line numbers. Faster than Read — jumps directly to the symbol without scanning. Pass `symbol_name` for a siFilesEnv varsoutside text
Read one or more symbols' source code from disk with line numbers. Faster than Read — jumps directly to the symbol without scanning. Pass `symbol_name` for a single symbol, or `symbols=[...]` to batch-fetch multiple in one call. Use file_path to disambiguate. Passing just `file_path` (no symbol) reads the whole file or a slice via start_line/end_line/limit — replaces the built-in Read for module headers, imports, and small files.
qartez_refactor_plantool Ordered, safety-annotated refactor plan for a single file. Pulls the file's code smells (god functions, long param lists) and orders them by estimated cyclomatiFilesEnv varsoutside text
Ordered, safety-annotated refactor plan for a single file. Pulls the file's code smells (god functions, long param lists) and orders them by estimated cyclomatic-complexity reduction and safety (does the file have tests? is the symbol exported? how many callers?). Each step names a concrete refactor technique (Extract Method, Introduce Parameter Object, Replace Conditional) and categorizes the expected CC impact (High/Medium/Low). The tool is intentionally conservative about exact CC prediction: it emits ranges, not single numbers.
qartez_refstool Trace all usages of a symbol: which files import it, and (with transitive=true) the full dependency chain. Essential before renaming, moving, or deleting a symbFilesEnv varsoutside text
Trace all usages of a symbol: which files import it, and (with transitive=true) the full dependency chain. Essential before renaming, moving, or deleting a symbol.
qartez_renametool Rename a symbol across the entire codebase: definition, imports, and all usages. Uses tree-sitter AST matching when available, falls back to word-boundary matchFilesEnv varsoutside text
Rename a symbol across the entire codebase: definition, imports, and all usages. Uses tree-sitter AST matching when available, falls back to word-boundary matching. When the name is shared by multiple kinds or defined in multiple files, pass `kind` and/or `file_path` to disambiguate - the tool refuses to run otherwise. Set `allow_collision=true` to proceed when `new_name` already exists as a defined symbol in a touched file. Preview by default; set apply=true to execute.
qartez_rename_filetool Rename/move a file and rewrite all import paths pointing to it in one atomic operation. Also rewrites the `mod <stem>;` declaration in the parent module file soFilesNetworkEnv varsoutside text
Rename/move a file and rewrite all import paths pointing to it in one atomic operation. Also rewrites the `mod <stem>;` declaration in the parent module file so renaming a .rs file keeps the crate compiling. Refuses to rename `mod.rs` (module root) or to create a `mod.rs` over an existing one. Preview by default; set apply=true to execute.
qartez_replace_symboltool Replace a symbol's whole source range (lines L[line_start..line_end]) with `new_code`. Caller supplies the new definition including its signature - this is a prFilesNetworkEnv varsoutside text
Replace a symbol's whole source range (lines L[line_start..line_end]) with `new_code`. Caller supplies the new definition including its signature - this is a precise line-range rewrite, not a body-only splice. The tool refuses to run when `new_code` does not start with a recognised definition introducer (`fn`, `pub fn`, `struct`, `class`, `def`, etc.). Preview by default; set apply=true to execute. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_safe_deletetool Delete a symbol after reporting every file that still references it. Preview by default, always listing importers that would break. Apply refuses to run when imFilesNetworkEnv varsoutside text
Delete a symbol after reporting every file that still references it. Preview by default, always listing importers that would break. Apply refuses to run when importers exist unless `force=true`; the caller is then responsible for fixing the dangling uses. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_securitytool Scan indexed code for security vulnerability patterns (OWASP top-10, hardcoded secrets, injection, unsafe code). Findings are scored by severity x PageRank so vFilesEnv varsoutside text
Scan indexed code for security vulnerability patterns (OWASP top-10, hardcoded secrets, injection, unsafe code). Findings are scored by severity x PageRank so vulnerabilities in high-impact files surface first. Supports custom rules via `.qartez/security.toml`.
qartez_semantictool Natural language code search. Finds symbols by meaning rather than exact keywords (e.g. 'authentication handler', 'database retry logic'). Combines vector simil
Natural language code search. Finds symbols by meaning rather than exact keywords (e.g. 'authentication handler', 'database retry logic'). Combines vector similarity with keyword search via hybrid ranking. Two prerequisites: (1) the qartez binary must be built with `--features semantic` (clone https://github.com/kuberstar/qartez-mcp and run `cargo install --path . --features semantic`); a binary without that feature returns the rebuild command as an error. (2) Once built, run `qartez-setup` once to download the embedding model; a missing model errors with the run command.
qartez_smellstool Detect code smells: god functions (high complexity + long body), long parameter lists (too many args), and feature envy (methods that call another type more thaFilesNetworkEnv varsoutside text
Detect code smells: god functions (high complexity + long body), long parameter lists (too many args), and feature envy (methods that call another type more than their own). Thresholds are configurable. Feature envy detection relies on owner_type, which is only well-populated for Rust and Java.
qartez_statstool Codebase metrics at a glance: files, symbols, edges by language, most connected files, and index coverage percentage.
Codebase metrics at a glance: files, symbols, edges by language, most connected files, and index coverage percentage.
qartez_test_gapstool Test-to-code mapping, coverage gap detection, and test suggestion for changes. Three modes: 'map' shows which test files cover which source files via import edgFilesEnv varsoutside text
Test-to-code mapping, coverage gap detection, and test suggestion for changes. Three modes: 'map' shows which test files cover which source files via import edges. 'gaps' (default) finds untested source files ranked by risk score (health * blast radius). 'suggest' takes a git diff range and returns which existing tests to run plus which changed files lack test coverage.
qartez_toolstool Discover and enable additional Qartez tools. Call with no arguments to see all available tiers and tools. Use enable/disable to dynamically add or remove tool tEnv vars
Discover and enable additional Qartez tools. Call with no arguments to see all available tiers and tools. Use enable/disable to dynamically add or remove tool tiers or individual tools. Tier names: 'core' (always on), 'analysis', 'refactor', 'meta'. Pass 'all' to enable everything.
qartez_trendtool Show how a symbol's cyclomatic complexity changed over recent commits. Unlike qartez_hotspots (point-in-time), this reveals whether code is actively getting morFiles
Show how a symbol's cyclomatic complexity changed over recent commits. Unlike qartez_hotspots (point-in-time), this reveals whether code is actively getting more complex (e.g. 'function grew from CC 8 to CC 39 over 5 commits'). Pass a file_path and optionally a symbol_name to focus on one function.
qartez_understandtool Compound investigation of one symbol: resolves the definition (with kind/file_path disambiguation), then bundles signature + body + direct callers/callees + topFilesEnv varsoutside text
Compound investigation of one symbol: resolves the definition (with kind/file_path disambiguation), then bundles signature + body + direct callers/callees + top references + co-change partners of the defining file in a single response. Replaces the qartez_find -> qartez_read -> qartez_calls -> qartez_refs -> qartez_cochange round-trip chain when you just want to know what a symbol is and who touches it. Pass `sections=['definition','calls']` to skip expensive sections; the per-section token budget is split equally across whatever sections remain.
qartez_unusedtool Find dead code: exported symbols with zero importers in the codebase. Safe candidates for removal or inlining. Pre-materialized at index time, so the whole-repoNetwork
Find dead code: exported symbols with zero importers in the codebase. Safe candidates for removal or inlining. Pre-materialized at index time, so the whole-repo scan is a single indexed SELECT. Pass `limit` / `offset` to page through large result sets. `limit=0` removes the row cap (project-wide convention); omit `limit` to accept the 50-row default. Pass `reachable=true` for a deeper whole-program reachability scan: it seeds roots from `main`, exported public API, framework entry-points, and tests, then forward-walks the reference graph, so a function reachable only from other dead code is also reported (the default one-hop scan reports it as live because it still has a direct importer).
qartez_wikitool Generate a markdown architecture wiki from Leiden-style community detection on the import graph. Partitions files into clusters, names each by the shared path pFilesEnv varsoutside text
Generate a markdown architecture wiki from Leiden-style community detection on the import graph. Partitions files into clusters, names each by the shared path prefix or top-PageRank file, and emits ARCHITECTURE.md with per-cluster file lists, top exported symbols, and inter-cluster edges. Use write_to=null to return the markdown as a string (capped by `token_budget`, default 8000), or write_to=<path> to save the full wiki to disk. `write_to` accepts a project-relative or absolute path whose parent exists. `resolution` controls cluster granularity (default 1.0; higher = more clusters). Passing an explicit `resolution` or `min_cluster_size` forces a cluster recompute so the new value takes effect.
qartez_workspacetool Manage project domains (workspaces) dynamically. Add or remove external directories with custom aliases.FilesEnv varsoutside text
Manage project domains (workspaces) dynamically. Add or remove external directories with custom aliases.

Text the model reads (49)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

qartez_blame tool
Git blame scoped to a single symbol: resolves a function/type/method name to its file and line range, then shows who last touched those lines. mode='hunk' (default) lists per-hunk commits and authors; mode='aggregate' rolls up by author with each author's latest commit. Pass file_path to disambiguate a name defined in several files. Requires git history (index with --git-depth > 0).
qartez_boundaries tool
Check architecture boundary rules defined in `.qartez/boundaries.toml` against the import graph. Each rule says files matching `from` must not import files matching any `deny` pattern (with optional `allow` overrides). Returns the list of violating edges. Pass `suggest=true` to emit a starter config derived from the current Leiden clustering instead of running the checker. When `suggest=true` and the clustering table is empty, `auto_cluster=true` (default) runs the clustering on demand; set `auto_cluster=false` to fail loudly instead. `write_to` is only honored with `suggest=true`.
qartez_calls tool
Show call hierarchy for a function: who calls it (callers) and what it calls (callees). Uses tree-sitter AST analysis. Distinguishes actual calls from type annotations, unlike qartez_refs.
qartez_clones tool
Detect duplicate code: groups of symbols with identical structural shape (same AST skeleton after normalizing identifiers, literals, and comments). Each group is a refactoring opportunity — extract the common logic into a shared function. Use min_lines to filter out trivial matches. Test files and inline `#[cfg(test)]` modules are excluded by default (parallel parser-fixture tests share AST shapes on purpose); set `include_tests=true` to scan them too.
qartez_cochange tool
Find files that historically change together (from git history). High co-change count means files are logically coupled - modifying one likely requires modifying the other. Pass `limit=0` to remove the row cap; the default is 10. Note: `max_commit_size` filters the live git walk, not the index-time cache. When git is unavailable or the working tree has diverged, the tool falls back to a pre-computed table whose pairs were captured under the index-time `--commit-size-cap` setting; in that fallback path `max_commit_size` is ignored.
qartez_context tool
Smart context builder: given files you plan to modify, returns the optimal set of related files to read first. Combines dependency graph, co-change history, and PageRank to prioritize what matters. Pass `include_impact=true` to append a one-line blast-radius summary per input file (direct importers, transitive count, cochange partner count) and `include_test_gaps=true` to append a one-line test-coverage status per input file - so a single call covers the prepare-change checklist without a follow-up qartez_impact / qartez_test_gaps round-trip.
qartez_deps tool
Show a file's dependency graph: what it imports (outgoing) and what imports it (incoming). Reveals coupling and helps plan safe changes.
qartez_diff_impact tool
Batch impact analysis for a git diff range. Pass a revspec like 'main..HEAD' to get a unified report: changed files with PageRank, union blast radius, convergence points (files affected by 2+ changes), and co-change omissions (historically coupled files missing from the diff). Pass risk=true to add per-file risk scoring (health, boundary violations, test coverage). Single call replaces N calls to qartez_impact + qartez_cochange.
qartez_find tool
Locate a symbol definition by exact name. Returns file path, line range, signature, and visibility for every match. Use kind filter to disambiguate (e.g., kind='struct').
qartez_grep tool
Search indexed symbols by name, kind, or file path using FTS5. Prefix matching is anchored to the symbol name column (e.g. 'Config*' matches symbols whose name starts with 'Config', not file paths that happen to contain it). Use the `kind` param to filter results by symbol kind (function / struct / method / etc.). Returns symbol locations with export status. Faster than Grep because it searches the pre-built index, not disk.
qartez_health tool
Prioritized, actionable health report that cross-references qartez_hotspots (complexity x coupling x churn) with qartez_smells (god functions, long parameter lists, feature envy). Files that score badly in both signals are surfaced first as 'critical' with a concrete suggested refactor technique. Use `qartez_refactor_plan file_path=<X>` to expand a recommendation into a step-by-step plan. Filter semantics: `max_health` is the upper bound on the 0-10 health scale (default 5.0); only files with score <= max_health that ALSO match a hotspot OR smell heuristic are listed. `max_health=10` therefore means "include every file with at least one of max_cc > 0 or a named smell", not "every indexed file". Pass `limit=0` to remove the row cap; the default is 15.
qartez_hierarchy tool
Query the type hierarchy: find all types that implement a trait/interface, or all traits/interfaces a type implements. Works across Rust (impl Trait for Type), TypeScript/Java (extends/implements), Python (base classes), and Go (interface embedding). `max_depth=0` returns only the seed symbol with no children or parents.
qartez_hotspots tool
Find hotspot files or functions with a normalized 0-10 health score. Combines complexity, coupling (PageRank), and churn (git change frequency) into both a raw hotspot score and a health rating (10 = healthiest, 0 = worst). Use sort_by to rank by any individual factor; use threshold to filter unhealthy code (e.g. threshold=4 shows only files scoring 4 or below). Requires a prior index with git depth > 0. For level=symbol the churn factor is the file's change_count - tooling cannot attribute git churn to individual symbols, so high-churn files inflate every symbol's hotspot score even when the symbol itself was never edited. Pass `limit=0` to remove the row cap; the default is 20.
qartez_impact tool
MUST call before modifying any file with exports. Shows direct importers, transitive dependents, and co-change partners — the full set of files that could break.
qartez_insert_before_symbol tool
Insert `new_code` on the line immediately before the anchor symbol's first line. Use to add helpers, tests, or new items next to related code without needing the exact surrounding context. Preview by default; set apply=true to execute. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_insert_after_symbol tool
Insert `new_code` on the line immediately after the anchor symbol's last line. Use to add helpers, tests, or new items next to related code without needing the exact surrounding context. Preview by default; set apply=true to execute. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_knowledge tool
Git-blame-based authorship analysis: find single-author files, knowledge silos, and bus factor per module. Bus factor = minimum authors who own >50% of lines. Use level='file' for per-file breakdown or level='module' for per-directory summary. Useful before modifying code with concentrated ownership.
qartez_maintenance tool
Inspect and compact the `.qartez/index.db` file. Default action 'stats' is read-only and reports DB / WAL sizes, top tables by row count, current workspace fingerprint, last full-reindex timestamp, and any derived-table coverage gaps that point to a stale pagerank or body-FTS state. Other actions: 'checkpoint' (truncate WAL), 'optimize_fts' (merge FTS5 segments), 'vacuum_incremental' (free pages back to OS), 'vacuum' (full rewrite, slow on multi-GiB DBs), 'convert_incremental' (one-shot conversion to auto_vacuum=INCREMENTAL; idempotent), 'purge_stale' (drop file rows for roots no longer in the workspace), 'purge_orphaned' (drop file rows whose on-disk path no longer exists).
qartez_map tool
Start here. Returns the codebase skeleton: files ranked by importance (PageRank), their exports, and blast radii. Use boost_files/boost_terms to focus on areas relevant to your current task.
qartez_move tool
Move a symbol to another file and update all import paths automatically. Handles extraction, insertion, and importer rewrites in one step. Importer count is sourced from the full symbol reference graph (same data as `qartez_refs`), not just the file-level `use` edges. Use `kind` / `file_path` to disambiguate when the name is shared. Preview by default; set apply=true to execute.
qartez_outline tool
List every symbol in a file grouped by kind (functions, classes, structs, etc.) with line numbers and signatures. Like a table of contents for the file.
qartez_path tool
Find the shortest call/reference path between two symbols. Runs a forward BFS over the persisted symbol-reference graph from `from` to `to`, returning the ordered symbol/file chain plus a count of alternative shortest paths. Filter edges by `kind` ('call' or 'type'); both are traversed by default.
qartez_project tool
Run project commands (test, build, lint, typecheck) with auto-detected toolchain (Cargo, npm/bun/yarn/pnpm, Go, Python, Dart/Flutter, Maven, Gradle, sbt, Ruby, Make). Use action='info' to see detected commands. Use filter for targeted runs (e.g., test name).
qartez_read tool
Read one or more symbols' source code from disk with line numbers. Faster than Read — jumps directly to the symbol without scanning. Pass `symbol_name` for a single symbol, or `symbols=[...]` to batch-fetch multiple in one call. Use file_path to disambiguate. Passing just `file_path` (no symbol) reads the whole file or a slice via start_line/end_line/limit — replaces the built-in Read for module headers, imports, and small files.
qartez_refactor_plan tool
Ordered, safety-annotated refactor plan for a single file. Pulls the file's code smells (god functions, long param lists) and orders them by estimated cyclomatic-complexity reduction and safety (does the file have tests? is the symbol exported? how many callers?). Each step names a concrete refactor technique (Extract Method, Introduce Parameter Object, Replace Conditional) and categorizes the expected CC impact (High/Medium/Low). The tool is intentionally conservative about exact CC prediction: it emits ranges, not single numbers.
qartez_refs tool
Trace all usages of a symbol: which files import it, and (with transitive=true) the full dependency chain. Essential before renaming, moving, or deleting a symbol.
qartez_rename tool
Rename a symbol across the entire codebase: definition, imports, and all usages. Uses tree-sitter AST matching when available, falls back to word-boundary matching. When the name is shared by multiple kinds or defined in multiple files, pass `kind` and/or `file_path` to disambiguate - the tool refuses to run otherwise. Set `allow_collision=true` to proceed when `new_name` already exists as a defined symbol in a touched file. Preview by default; set apply=true to execute.
qartez_rename_file tool
Rename/move a file and rewrite all import paths pointing to it in one atomic operation. Also rewrites the `mod <stem>;` declaration in the parent module file so renaming a .rs file keeps the crate compiling. Refuses to rename `mod.rs` (module root) or to create a `mod.rs` over an existing one. Preview by default; set apply=true to execute.
qartez_replace_symbol tool
Replace a symbol's whole source range (lines L[line_start..line_end]) with `new_code`. Caller supplies the new definition including its signature - this is a precise line-range rewrite, not a body-only splice. The tool refuses to run when `new_code` does not start with a recognised definition introducer (`fn`, `pub fn`, `struct`, `class`, `def`, etc.). Preview by default; set apply=true to execute. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_safe_delete tool
Delete a symbol after reporting every file that still references it. Preview by default, always listing importers that would break. Apply refuses to run when importers exist unless `force=true`; the caller is then responsible for fixing the dangling uses. Use `kind` / `file_path` to disambiguate when the name is shared.
qartez_security tool
Scan indexed code for security vulnerability patterns (OWASP top-10, hardcoded secrets, injection, unsafe code). Findings are scored by severity x PageRank so vulnerabilities in high-impact files surface first. Supports custom rules via `.qartez/security.toml`.
qartez_semantic tool
Natural language code search. Finds symbols by meaning rather than exact keywords (e.g. 'authentication handler', 'database retry logic'). Combines vector similarity with keyword search via hybrid ranking. Two prerequisites: (1) the qartez binary must be built with `--features semantic` (clone https://github.com/kuberstar/qartez-mcp and run `cargo install --path . --features semantic`); a binary without that feature returns the rebuild command as an error. (2) Once built, run `qartez-setup` once to download the embedding model; a missing model errors with the run command.
qartez_smells tool
Detect code smells: god functions (high complexity + long body), long parameter lists (too many args), and feature envy (methods that call another type more than their own). Thresholds are configurable. Feature envy detection relies on owner_type, which is only well-populated for Rust and Java.
qartez_stats tool
Codebase metrics at a glance: files, symbols, edges by language, most connected files, and index coverage percentage.
qartez_test_gaps tool
Test-to-code mapping, coverage gap detection, and test suggestion for changes. Three modes: 'map' shows which test files cover which source files via import edges. 'gaps' (default) finds untested source files ranked by risk score (health * blast radius). 'suggest' takes a git diff range and returns which existing tests to run plus which changed files lack test coverage.
qartez_tools tool
Discover and enable additional Qartez tools. Call with no arguments to see all available tiers and tools. Use enable/disable to dynamically add or remove tool tiers or individual tools. Tier names: 'core' (always on), 'analysis', 'refactor', 'meta'. Pass 'all' to enable everything.
qartez_trend tool
Show how a symbol's cyclomatic complexity changed over recent commits. Unlike qartez_hotspots (point-in-time), this reveals whether code is actively getting more complex (e.g. 'function grew from CC 8 to CC 39 over 5 commits'). Pass a file_path and optionally a symbol_name to focus on one function.
qartez_understand tool
Compound investigation of one symbol: resolves the definition (with kind/file_path disambiguation), then bundles signature + body + direct callers/callees + top references + co-change partners of the defining file in a single response. Replaces the qartez_find -> qartez_read -> qartez_calls -> qartez_refs -> qartez_cochange round-trip chain when you just want to know what a symbol is and who touches it. Pass `sections=['definition','calls']` to skip expensive sections; the per-section token budget is split equally across whatever sections remain.
qartez_unused tool
Find dead code: exported symbols with zero importers in the codebase. Safe candidates for removal or inlining. Pre-materialized at index time, so the whole-repo scan is a single indexed SELECT. Pass `limit` / `offset` to page through large result sets. `limit=0` removes the row cap (project-wide convention); omit `limit` to accept the 50-row default. Pass `reachable=true` for a deeper whole-program reachability scan: it seeds roots from `main`, exported public API, framework entry-points, and tests, then forward-walks the reference graph, so a function reachable only from other dead code is also reported (the default one-hop scan reports it as live because it still has a direct importer).
qartez_wiki tool
Generate a markdown architecture wiki from Leiden-style community detection on the import graph. Partitions files into clusters, names each by the shared path prefix or top-PageRank file, and emits ARCHITECTURE.md with per-cluster file lists, top exported symbols, and inter-cluster edges. Use write_to=null to return the markdown as a string (capped by `token_budget`, default 8000), or write_to=<path> to save the full wiki to disk. `write_to` accepts a project-relative or absolute path whose parent exists. `resolution` controls cluster granularity (default 1.0; higher = more clusters). Passing an explicit `resolution` or `min_cluster_size` forces a cluster recompute so the new value takes effect.
qartez_workspace tool
Manage project domains (workspaces) dynamically. Add or remove external directories with custom aliases.
qartez_add_root tool
Register an additional project root at runtime. Indexes the directory, updates pagerank/co-change, and (by default) hot-attaches a file watcher so subsequent edits reindex live. Distinct from `qartez_workspace add` in that the alias is optional (derived from the path basename) and persistence to `.qartez/workspace.toml` can be toggled off for ephemeral roots.
qartez_list_roots tool
List every project root currently tracked by the server. Each entry shows the canonical path, alias, source (cli / config / runtime), whether a file watcher is attached, the file count under that root, and the last index timestamp when available.
qartez_review prompt
Review a changed file using Qartez: blast radius, symbol outline, dangling references, and co-change partners. Argument: `target` (file path).
qartez_architecture prompt
Produce a one-minute codebase architecture overview grounded in PageRank, language stats, and detected toolchain. Optional argument: `top_n`.
qartez_debug prompt
Debugging workflow for a suspect symbol or file: definition, body, call hierarchy, and all references. Argument: `target` (symbol name or file path), optional `file_path`.
qartez_onboard prompt
New-developer onboarding for a subsystem. Returns the five files to read first with motivation for each. Optional argument: `area`.
qartez_pre_merge prompt
Pre-merge safety check across the changed files: blast radius, untouched co-change partners, and newly unused exports. Argument: `files` (comma-separated list).
qartez_arch_review prompt
Architecture risk audit: orchestrates Qartez tools to surface structural risks (fragile hubs, tangled boundaries, security surface, complexity debt). Optional argument: `focus`.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure6.1
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 49 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 49 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 49 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 49 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 49 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    1 of 49 capabilities start processes; 48 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    28 of 49 capabilities touch files; 21 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    10 of 49 capabilities call the network; 39 more call code the scanner could not follow, where it may happen
Where the code is: 49 handlers in 41 files at commit 19377e735aad
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain6.0
  • Dependency manifests
    4 manifests: Cargo.toml, fuzz/Cargo.toml, qartez-dashboard/Cargo.toml, qartez-dashboard/web/package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 4 not resolved: fuzz/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; qartez-dashboard/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies MEDIUM
    5 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    rmcp 3.9.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 49 capabilities; 49 more call code the scanner could not follow, where it may happen
  • Environment variables
    22 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (5 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
chronocrates.io 0.4.45 MEDIUM 1 advisory no fix yet
cookiecrates.io 0.18.2 MEDIUM 1 advisory 0.12.00.18.3
  • MEDIUMRUSTSEC-2026-0594 GHSA-8wcq-xq25-7fhmPrivate cookie nonces can repeat in processes that fork
libz-syscrates.io 1.1.32 MEDIUM 1 advisory 1.1.33
pastecrates.io 1.0.15 MEDIUM 1 advisory no fix yet
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
  • MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDKrmcp 3.9.0

The project's own security

Security policyyes SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-09
Signed releasesnot checked yet

Where it is published

Listed in3 catalogs (awesome_tensorblock, github_search, mcpservers_org)
LicenseNOASSERTION
Created2026-04-14
Topicsclaude-code code-intelligence code-intelligence-mcp developer-tools mcp mcp-server rust static-analysis

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.