Archy MCP Server

Architectural sensor for Python codebases.

Local serverstdioPython

What is the Archy MCP server?

Archy MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Architectural sensor for Python codebases.

What you get

I built archy after watching coding agents produce changes that passed review and rotted the import graph underneath. Then I measured whether that happens, and it barely does.

Setting it up

The server ships on PyPI as archy, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Archy is connected, these are the calls the assistant has available:

  • archy.cli — archy.duplicates
  • archy.graph — archy.index
  • archy.mcp — archy.parser
  • archy.simulate — archy.watcher
  • Tree — sitter powered.** Robust to in-flight edits and partial files; survives syntax errors that would crash ast
  • Multi — language analysis
  • measurement — subject
  • Mode — Command
  • Inspection — archy graph, archy cycles

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Archy.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the archy mcp server does with a few real requests.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Archy's toolset — archy.cli, archy.graph, archy.mcp and 6 more — is a fair guide to whether it matches your workflow. It is maintained by hslee16; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
archy.cliarchy.duplicates
archy.grapharchy.index
archy.mcparchy.parser
archy.simulatearchy.watcher
Treesitter powered.** Robust to in-flight edits and partial files; survives syntax errors that would crash ast.
Multilanguage analysis
measurementsubject
ModeCommand
Inspectionarchy graph, archy cycles

How to install the Archy MCP server

{
  "mcpServers": {
    "archy": {
      "command": "uvx",
      "args": ["archy"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Archy to archy.cli.
  • Use Archy to archy.graph.
  • Use Archy to archy.mcp.

Frequently asked questions

It connects Archy to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (archy.cli, archy.graph, archy.mcp, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Archy directly.