# knossos [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/AraneaDev/knossos  
**GitHub Stars:** 8  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/knossos

## Description
A live architecture map of your codebase, on screen beside Claude Code and in the notes your agent reads while it works. Evidence-backed graph with file and line proof, served over MCP and a CLI.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/AraneaDev/knossos), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://github.com/AraneaDev/knossos/releases/latest/download/install.sh | sh
```

2. Install:

```sh
git clone https://github.com/AraneaDev/knossos.git /absolute/path/to/knossos
```

3. Install:

```sh
/absolute/path/to/knossos/tools/install
```

4. Install:

```sh
ln -s /absolute/path/to/knossos/bin/knossos ~/.local/bin/knossos
```

5. Add to your MCP client:

```sh
knossos install-agent-plugin                                        # preview
```

6. Add to your MCP client:

```sh
knossos install-agent-plugin --data-dir="$HOME/.knossos" --execute
```

## Documentation

## What knossos does

Knossos turns a local codebase into an architecture graph covering components, files, dependencies, boundaries, tests, and related evidence. Relationships retain the file and line that support them, while uncertain facts include their confidence and origin. The graph can show hubs, cycles, boundaries, dead-code candidates, untested areas, change reach, and routes between components.

The project supports PHP, including Laravel, Livewire, and Symfony, plus TypeScript, JavaScript, Python, and Rust. It reconciles these languages into one graph for repositories that combine multiple stacks. Architecture policies can describe permitted dependencies, and quality budgets can be checked against a reviewed baseline with SARIF output for CI workflows.

## How it works

A scan reads the repository and builds a local graph without installing project dependencies, importing application modules, starting a framework, or running the project's tests. A live watcher maintains one shared watcher per project and rescans when files change. If a scan fails, the last successful graph remains in place.

The MCP interface provides 45 tools. Most have matching CLI commands, including queries for impact, call sites, flows, cycles, hubs, snapshots, trends, and test effects. The `server_info` tool is the exception to the CLI equivalence described by the project.

Claude Code adds a project pane opened with `/knossos`, with tabs for the overview, hubs, boundaries, cycles, issues, changes, branch, churn, and notes. The same workspace is available through `knossos` in a terminal or `knossos web` in a browser. During an agent session, a brief can report graph freshness, rules, notes, and questions suited to graph queries. Short messages can also appear when the agent reads or changes a significant file, ends a turn, or commits.

## Setup and configuration

The installer is run from the project to scan:

```sh
curl -fsSL https://github.com/AraneaDev/knossos/releases/latest/download/install.sh | sh
```

It downloads a release tarball, verifies its checksum, installs a launcher under `~/.local/bin`, allows the current project, installs the Claude Code plugin, and registers the MCP server. Native installation requires PHP 8.3 or newer with mbstring, PDO, PDO SQLite, tokenizer, and FFI; Node 24 or newer; Python 3.11 or newer; Git; `tar`; and `sha256sum` or `shasum`. Container mode is experimental and requires Docker or Podman.

The installer creates `~/.knossos`, including a roots file that controls allowed project roots. Running it from another project adds that project. A checkout-based installation is intended for development or running from source and additionally requires Composer 2; Cargo 1.82 or newer is optional for Rust scanning.

## Tools and capabilities

- Query dependency impact, call sites, component flows, cycles, hubs, and dead-code candidates.
- Review changed files, test impact, snapshots, trends, and one file's surrounding context.
- Check test doubles, fixtures, assertions, and mock fidelity through dedicated test-analysis tools.
- Record component notes that persist across rescans, with user notes taking precedence over agent notes.
- Enforce architecture boundaries and quality budgets, including SARIF reporting.
- View the graph in Claude Code, a terminal pane, or a browser workspace.

## Limitations and notes

Knossos is pre-release and distributes release tarballs and version-tagged container images rather than a Packagist package. The scanner does not run project tests; test fidelity is inferred from source and test files. Container installation is experimental. Scanning is restricted to allowed roots and avoids executing project code, but the supported analysis is limited to PHP, TypeScript, JavaScript, Python, and Rust.

_Full upstream README: https://allmcps.com/mcp/knossos/readme_

