Skip to main content
MCP server CX Codex

archy — Claude Code MCP server: what it does, how to install

Python architecture sensor that tracks import graphs, catches cycles, and pinpoints tests affected before making code edits.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add archy -- uvx archy
Open on GitHub

What archy does

The server builds and caches an internal graph of Python imports and call paths. It resolves architectural questions an ordinary file tree obscures. Before applying changes, it maps the transitive reach of an edit, spots cycle traps between modules, and pinpoints relevant test suites.

Beyond impact analysis, archy verifies directional layer constraints. When an import flows the wrong way, such as core entities importing data access layers directly, checks fail immediately. The tool targets Python codebases specifically and expects uvx in the environment to launch.

What it helps with

  • map blast radius across Python modules before editing
  • identify which test suites touch changed code
  • detect import cycles across the repository
  • enforce directional architectural boundaries between layers

Example prompts for the agent

  • Check which tests I should run after modifying core/models.py
  • Find any circular imports across the project before we commit
  • Map out which modules are affected if I edit the data access layer

How to install archy

Platform CLI

claude mcp add archy -- uvx archy

uvx runs the command named after the package; if the README names another one, use uvx --from archy <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about archy

How to install archy in Claude Code?

Run claude mcp add archy -- uvx archy in your terminal. You need uv available on your system to run the command.

What does archy do?

It indexes Python imports and function calls into a cached graph to trace edit blast radius, find relevant tests, and catch layer violations.

Which programming languages does archy support?

It inspects Python codebases only.

Similar MCP servers

All MCP servers for Code review and refactoring →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor