SSyncDev

Qartez MCP Server

<strong>X-ray vision for your codebase - built for AI agents, not humans.</strong>

Local serverstdioPython

What is the Qartez MCP Server?

X-ray vision for your codebase - built for AI agents, not humans.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
qartez_refsTrace every usage of a symbol across the codebase, with optional transitive chains.
qartez_callsCall hierarchy: who calls this function, and what does it call.
qartez_cochangeFiles that historically change together in git. Logical coupling invisible to the import graph.
qartez_contextSmart context builder: given files you plan to modify, returns the optimal set of related files to read first.
qartez_unusedDead-code finder: exported symbols with zero importers, pre-materialized at index time.
qartez_diff_impact**Batch impact for a git diff range.** Pass a revspec like main..HEAD to get changed files with PageRank, union blast radius, convergence points, and co-change omissions. One call replaces N calls to qartez_impact + qart
qartez_hotspots**The refactor radar.** Ranks files and functions by hotspot score = **cyclomatic complexity x PageRank x (1 + churn)**. Points straight at the highest-risk code in the repo.
qartez_clonesStructural code-clone detection via AST shape hashing (identifiers, literals, and comments are normalized away). Finds duplicate logic the human reviewer would never spot.
qartez_boundariesArchitecture-boundary enforcement. Declare "these modules may not import those" in .qartez/boundaries.toml and get every violating edge back. suggest=true seeds a starter config from the Leiden clustering.
qartez_hierarchyType hierarchy queries: find all types implementing a trait/interface, or all traits/interfaces a type implements. Works across Rust, TypeScript, Java, Python, and Go.
qartez_trendComplexity trend over git history: tracks how a function's cyclomatic complexity evolved commit by commit. Flags functions that are GROWING, STABLE, or SHRINKING.
qartez_securitySecurity scanner with 13 built-in rules. Regex-based pattern matching scored by PageRank to prioritize high-impact files. Custom rules via .qartez/security.toml. Filters by severity (low/medium/high/critical) and categor
qartez_smellsCode smell detector: finds **god functions** (high complexity + long body), **long parameter lists**, and **feature envy** (methods that use another type more than their own). Tuneable thresholds.
qartez_health**Prioritized fix list.** Cross-references qartez_hotspots with qartez_smells and buckets files as Critical (hotspot + smell), High (hotspot only), or Medium (smell only). Each entry carries a concrete suggested refactor

How to install the Qartez MCP Server

{
  "mcpServers": {
    "qartez": {
      "command": "/absolute/path/to/qartez",
      "args": []
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Qartez MCP to qartez refs.”
  • “Use Qartez MCP to qartez calls.”
  • “Use Qartez MCP to qartez cochange.”

Frequently asked questions

<strong>X-ray vision for your codebase - built for AI agents, not humans.</strong> Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.