# Aburi > Semantic code review for pull requests: Aburi reads a change the way a senior reviewer does, then > writes what it did as Markdown your CI can gate on. Aburi is a deterministic static-analysis CLI for TypeScript and JavaScript repositories. `aburi scan` turns a workspace into a JSON IR of its Symbols, Components and effects; `aburi diff` compares two revisions and writes a Markdown report of what the change did: endpoints added or removed, guards dropped, database writes gained, files that only moved. It holds no model and calls none. ## When to use Aburi - Reviewing a pull request in a TypeScript or JavaScript repository, when the question is what the change does rather than which lines it touches. - Gating CI on behaviour: `aburi diff main..HEAD --fail-on removed` exits `3` when a Symbol is removed (a removed duplicate of another is left out), and the GitHub Action posts the report as a pull request comment. - Checking an agent's own edits: scan, edit, scan again, and diff the two scans to see what the edit changed in behaviour. - Answering what a Component exposes, or which effects (database reads and writes, RPC calls, published events) one function reaches. - Seeing through refactors: renames, moves and reformatting are matched up and reported apart from the behaviour changes. Each framework it understands is a plugin package to install beside the CLI: NestJS, Next.js App Router, Express, tRPC and React, with Prisma, Drizzle and other effect plugins for what a call does. ## When not to use it - Repositories in languages other than TypeScript and JavaScript: no language plugin parses them yet. - Line-level style or lint feedback, type errors, or runtime behaviour: Aburi reads source statically. ## How an agent calls it Aburi needs Node.js 24 or newer and a git repository. - MCP: install `@aburi/mcp` beside the CLI and its plugins (`pnpm add -D @aburi/mcp @aburi/cli @aburi/lang-typescript`, plus the framework and effects plugins the project uses), then register it from the workspace root, for Claude Code with `claude mcp add aburi -- pnpm exec aburi-mcp`. It serves the tools `scan`, `workspace`, `component`, `explain` and `diff`. See [MCP server for AI coding agents](https://aburi.dev/guide/ai-agents.md). - CLI: install `@aburi/cli`, `@aburi/lang-typescript` and the framework and effects plugins the project uses (`pnpm exec aburi init --with-suggestions` names the ones it detected that are not installed), then run `pnpm exec aburi diff main..HEAD`. It writes the report to `.aburi/diff.md` and the structured diff to `.aburi/diff.json`, reading the head from the working tree, so uncommitted edits count. See the [CLI reference](https://aburi.dev/reference/cli.md). - Every page of this site is also served as Markdown: request it with `Accept: text/markdown`, or append `.md` to its path (a section index such as `/showcase/` is `/showcase.md`, and `/` is this file). ## Table of Contents ### Guide - [What is Aburi?](https://aburi.dev/guide/what-is-aburi.md): What Aburi is: a CLI that reads two revisions of a TypeScript or JavaScript codebase and reports what the change did, as Markdown a CI can gate on. - [Getting started](https://aburi.dev/guide/getting-started.md): Install the Aburi CLI and plugins, write aburi.json with aburi init, and run your first semantic diff. - [Reading the report](https://aburi.dev/guide/reading-the-report.md): How to read an aburi diff report: the summary line, its sections, one entry, a Slice, confidence and gaps. - [Supported stacks](https://aburi.dev/guide/supported-stacks.md): The language, framework and effects plugins Aburi ships: TypeScript and JavaScript, NestJS, Next.js, Express, React, tRPC, Prisma, Drizzle. - [Configuration](https://aburi.dev/guide/configuration.md): The aburi.json settings people change in practice: excluded files, test code, plugins, components, noisy helpers and in-house framework hints. - [CI integration](https://aburi.dev/guide/ci-integration.md): Run aburi diff in CI: the GitHub Action, the pull request comment, and the --fail-on gate. - [MCP server for AI coding agents](https://aburi.dev/guide/ai-agents.md): Aburi MCP server: lets an AI coding agent such as Claude Code ask what its edits did, what a component exposes and what a function reaches. ### Showcase - [An Express router gains a destructive route](https://aburi.dev/showcase/express-user-routes.md) - [A NestJS controller gains an endpoint](https://aburi.dev/showcase/nestjs-invoice-void.md) - [A route handler loses its guard](https://aburi.dev/showcase/next-order-route.md) - [A module move the report sees through](https://aburi.dev/showcase/storefront-module-move.md) - [A tRPC base procedure loses its sign-in check](https://aburi.dev/showcase/trpc-sign-in-check.md) ### Reference - [CLI reference](https://aburi.dev/reference/cli.md): Every aburi command and flag: init, scan, diff, explain, vocab, exit codes and the --fail-on grammar. ### Extend - [Architecture](https://aburi.dev/extend/architecture.md): How Aburi is built: one IR and its views, the pipeline from scan to report, the packages and the schemas. - [Plugin development](https://aburi.dev/extend/plugin-development.md): Write an Aburi plugin, a language to parse, a framework to recognise or effects to detect, then register, test and publish it. ### Project - [Roadmap](https://aburi.dev/roadmap.md) ### Design notes - [Aburi](https://aburi.dev/design/overview.md) - [IR Schema (`aburi.ir.v1`)](https://aburi.dev/design/ir-schema.md) - [Multi-language Symbol ID and Cross-language References](https://aburi.dev/design/multi-language-id.md) - [Language Plugin Interface](https://aburi.dev/design/lang-plugin.md) - [Plugin Processes](https://aburi.dev/design/plugin-process.md) - [Effect Plugin Interface](https://aburi.dev/design/effect-plugin.md) - [Extension Vocabulary Registry](https://aburi.dev/design/extension-vocab.md) - [`fp:*` Extension Vocabulary — Concrete Specification](https://aburi.dev/design/fp-extension-impl.md) - [Fingerprint Computation](https://aburi.dev/design/fingerprint.md) - [Component Autodetect](https://aburi.dev/design/component-detect.md) - [Drop List Standard Set](https://aburi.dev/design/drop-list.md) - [Diff Algorithm](https://aburi.dev/design/diff-algorithm.md) - [Call Resolution](https://aburi.dev/design/call-resolution.md) - [Effect Propagation](https://aburi.dev/design/effect-propagation.md) - [Slice View](https://aburi.dev/design/slice-view.md) - [Markdown Projection](https://aburi.dev/design/markdown-projection.md) - [CLI Specification](https://aburi.dev/design/cli-spec.md) - [Config (`aburi.config.v1`)](https://aburi.dev/design/config.md) - [Parallel Parsing Architecture](https://aburi.dev/design/performance.md) - [LSP Enrichment](https://aburi.dev/design/lsp-enrichment.md) - [GitHub Action](https://aburi.dev/design/github-action.md) - [MCP Server](https://aburi.dev/design/mcp-server.md)