Knossos logo

Knossos

Maps a repository into an evidence-backed architecture graph with MCP tools, CLI views, impact analysis, and Claude Code integration.

Install Knossos

Run the project’s own setup commands, in order.

Setup steps from the project

knossos installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://github.com/AraneaDev/knossos/releases/latest/download/install.sh | sh
    
  2. 2. Install
    git clone https://github.com/AraneaDev/knossos.git /absolute/path/to/knossos
    
  3. 3. Install
    /absolute/path/to/knossos/tools/install
    
  4. 4. Install
    ln -s /absolute/path/to/knossos/bin/knossos ~/.local/bin/knossos
    
  5. 5. Add to your MCP client
    knossos install-agent-plugin                                        # preview
    
  6. 6. Add to your MCP client
    knossos install-agent-plugin --data-dir="$HOME/.knossos" --execute
    

Overview

knossos MCP server scans a local repository into a graph of components and relationships, preserving file-and-line evidence for each fact. It exposes 45 MCP tools for impact analysis, call sites, architecture flows, cycles, test fidelity, snapshots, and change review, alongside equivalent CLI commands. Claude Code can display the graph in a live pane and receive brief context when files are read, edited, or committed; other MCP clients can query the same graph. Reach for knossos when an agent needs repository structure, dependency impact, architecture rules, or test-risk information without executing project code.

Use cases

  • Inspect a file's dependency blast radius before editing it
  • Review architecture boundaries and dependency-policy violations
  • Find tests and fixtures affected by a code change
  • Investigate cycles, hubs, dead-code candidates, and untested code
  • Give coding agents repository context through MCP and session notes

Key features

  • Evidence-backed repository architecture graph
  • 45 MCP tools with matching CLI queries
  • Claude Code pane, terminal workspace, and web client
  • Live rescanning with persistent component notes
  • Test fidelity analysis for four language families
  • Architecture budgets with SARIF output

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.

How Knossos works

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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Knossos

knossos is an MCP server that connects AI agents to a local repository's architecture graph. Its main tools cover dependency impact, call sites, component flows, cycles, hubs, test fidelity, change review, snapshots, and trends, with file-and-line evidence attached to graph relationships and equivalent CLI commands for most tools.

Run the installer from the project you want to scan: `curl -fsSL https://github.com/AraneaDev/knossos/releases/latest/download/install.sh | sh`. It verifies the release, installs the launcher, allows the project root, installs the Claude Code plugin, and registers the MCP server. Native installation requires PHP, Node, Python, Git, and archive/checksum utilities.

Yes, knossos can be used with Cursor as an MCP client. The graph and its MCP tools are available to MCP clients, while the dedicated pane and session messages are described for Claude Code.

Knossos scans PHP, TypeScript, JavaScript, Python, and Rust. PHP analysis includes Laravel, Livewire, and Symfony, and Cargo 1.82 or newer is optional when Rust scanning is enabled from a checkout.

No, Knossos does not run project tests or execute project code during scanning. Its test-fidelity checks inspect source, tests, doubles, fixtures, assertions, and types to identify likely mismatches and warnings.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKnossos AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/knossos?style=directory)](https://allmcps.com/mcp/knossos)
HTML Embed
<a href="https://allmcps.com/mcp/knossos"><img src="https://allmcps.com/api/badge/knossos?style=directory" alt="Knossos on AllMCPs" /></a>