latest release ● macOS · Linux · Windows

Give your coding agent a map of the codebase.

Rust, Python, TypeScript, Java, Go, C#, COBOL and more, indexed into one local graph. Search by concept, trace flows and see what a change will break before your agent makes it. Axon only reads your code.

macOS / Linux curl -fsSL https://guerchele.github.io/axon-releases/install.sh | sh
Free to try on repos up to 10,000 lines of code. Larger repos need a monthly subscription (US$10/month); Axon guides you through it the first time you need it. Also on Homebrew, winget, Scoop and APT.
Example terminal session: install Axon, index a repository, register the MCP server, then query and explore.
$ brew install guerchele/tap/axon
$ axon --version
axon 5.4.1

$ axon index ~/src/app
==> scan: 3866 files discovered, 3866 to index
✔︎ filesystem  3866/3866 files  0.8s
✔︎ tree_sitter 3866/3866 files  39.4s
✔︎ resolver    3866/3866 files  62.1s
✔︎ domain      3866/3866 files  11.4s
✔︎ git_history 3866/3866 files  8.9s   (~2m full; 0.6s incremental)

$ axon setup claude --hooks       # wires `axon serve` + auto-reindex
$ axon serve                      # MCP server (23 tools, stdio or HTTP)
$ axon explore                    # opens the Explorer in your browser

One graph for your whole stack, from Rust to COBOL

Axon recognises files by extension and parses them into symbols (modules, types, functions, methods, variables) and the calls, imports and references between them. Mainframe code is a first-class citizen, not an afterthought.

Systems & backend

  • Rust
  • Go
  • Java
  • Kotlin
  • C#
  • Visual Basic .NET
  • C
  • C++
  • Swift
  • Dart

Web & scripting

  • TypeScript
  • JavaScript
  • Python
  • PHP
  • Ruby
  • Perl

Mainframe

  • COBOL CICS · DB2 · IMS
  • JCL
  • CICS BMS maps
  • CICS CSD

Data

  • SQL DB2 · T-SQL · Oracle PL/SQL · PostgreSQL · MySQL

Config & UI

  • TOML · YAML · JSON · XML · Dockerfile · .env
  • HTML · CSS/SCSS · Vue · Svelte · Razor · JSP · and more

It also recognises HTTP endpoints (Express, ASP.NET, Spring, FastAPI, Flask, gin, net/http), CLI commands, database reads and writes, and stored procedures, so axon impact can say which endpoint or command a deep change reaches.

Built for AI agents: axon serve

axon serve exposes your local code graph over the Model Context Protocol (MCP) so Claude, Cursor, VS Code, Codex and Copilot CLI query the map instead of reading dozens of files.

Registering axon serve with one command or running it over stdio or streamable HTTP.
# One-command client setup (+ PostToolUse auto-reindex hook)
$ axon setup claude --hooks
$ axon setup cursor
$ axon setup vscode
$ axon setup --deeplink

# Default stdio transport (launched by your MCP client)
$ axon serve

# Or loopback streamable HTTP with bearer auth
$ export AXON_MCP_BEARER_TOKEN="replace-me"
$ axon serve --http 127.0.0.1:8080

23 tools, 6 prompts, 6 resources

Search, callers/callees, trace, impact, hierarchy, tests, diff safeguards (code-safeguard), architecture and code-context — plus slash-command workflows and live resource subscriptions.

Context-window safe by design

Compact node tables, a 256 KiB response cap (--max-response-bytes) and cursor pagination prevent a single query from flooding your agent's context.

Always fresh, strictly scoped

Every answer carries a freshness block flagging stale files, MCP roots confine which folders an agent may touch, and PostToolUse hooks re-index edited files automatically.

With axon serve vs. without it

What changes when your coding agent queries an indexed graph through axon serve instead of grepping and reading raw files.

DimensionWithout Axon (raw grep & file reads)With axon serve (MCP graph)
Tokens & context window Agents run repeated grep searches and pull whole 300–1,000 line files into context, burning 50k–200k+ tokens on noisy matches and boilerplate. Compact node tables and code-context return only the relevant subgraph and slices — typically 1–20 KB (~250–5,000 tokens), bounded by a 256 KiB cap.
Speed & tool turns Tracing a call chain or blast radius across modules takes 10–30 sequential turns of grep and file reads (tens of seconds of round-trips). 1 tool call (code-callers, code-trace, code-impact) answers in ~0.1–0.8 s; code-safeguard checks a diff on 250k LOC in ~10–15 ms.
Accuracy & blind spots Text grep misses aliases, cross-file calls and polyglot links (e.g. COBOL → JCL → DB2, or HTTP endpoints → deep handlers) and confuses same-named symbols. Language-scoped resolution, confidence-tiered edges, test reachability (code-tests) and architecture policy checks catch real impact before edits.
Tool schema overhead Ad-hoc shell scripts and custom prompts still leave the agent guessing how to navigate unfamiliar repos. All 23 MCP tool schemas fit in ~4,550 tokens (compacted 64%), leaving maximum room for reasoning and code generation.

Eight kinds of indexing, one local database

Each run builds the graph in eight phases. You see them live in your terminal, and a re-index only reprocesses what changed.

  1. Files

    Scans the folder and counts lines.

  2. Symbols

    Tree-sitter parses every file into modules, types, functions, methods and variables.

  3. Names & text

    Lexical index behind grep and search.

  4. Relationships

    Links calls, imports and types across files.

  5. Domain

    Endpoints, SQL tables, CLI commands and mainframe programs.

  6. Language servers optional

    Compiler-grade evidence that confirms and adds edges.

  7. Semantic vectors optional

    Search by meaning: “payment retry policy”.

  8. Git history

    Commits per symbol, for history and hotspots.

Stop your agent from guessing

Index once, then get answers from one local graph in the CLI, the Explorer or any MCP client.

⌕

Find code by what it does

Search for concepts, not just strings: axon search "payment retry policy". Grep, symbols, definitions and references are there too.

⇄

Know who calls what

See callers, callees and how execution gets from A to B with callers, callees and trace.

◎

See the blast radius before the edit

Check what a change will affect, then hand your agent task-focused context: axon context X --task "…".

▦

Understand and protect your architecture

Spot communities, layers and dependency cycles across one repo or many, and flag forbidden dependencies with optional policy rules.

⟲

Keep using the agent you already have

Connect Claude Desktop, Cursor, VS Code or Copilot CLI over stdio or local HTTP. Or browse the graph yourself with axon explore.

How it works

Axon is a single binary with no runtime. Analysis is local and read-only: the index lives in Axon's own data folder, not in your repository.

Install

Use one command on macOS, Linux or Windows, or your usual package manager.

Index

axon index ~/src/app builds an incremental graph of a folder or a .code-workspace.

Ask

Query from the CLI, open the Explorer, or connect your agent over MCP.

Built to be verified, not just trusted

Every claim here is something you can check yourself while you try it.

Questions before you install

Can I try Axon for free?

Yes. Axon is free on repos up to 10,000 lines of code, with no licence or account. Above that you need a monthly subscription: US$10 per month, one plan, up to 3 devices. There is nothing to set up in advance: the first time you index or query a larger repo, Axon tells you how to subscribe, and you activate your machine once with the key you receive.

Will it change my code or repositories?

No. Axon only reads your code. Analysis is local and read-only, and the index is kept in Axon's own data folder.

Which AI tools does it work with?

Any MCP client, including Claude Desktop, Cursor, VS Code and Copilot CLI, over stdio or local HTTP.

Which languages and platforms are supported?

macOS, Linux and Windows. Languages are listed above, from Rust, Python and TypeScript to COBOL, JCL, BMS and SQL. Semantic search is not available on Intel Macs.

How much setup does it need?

One command. Axon is a single binary with no runtime. A full 8-phase index of ~4,000 files (~1M lines of code) takes roughly 1.5–2.5 minutes on an Apple Silicon laptop, and incremental re-indexes when files change take under a second. Connect your AI agent in one step with axon setup claude --hooks (or cursor, vscode, codex).

Give your agent the map today

Install with one command or your package manager, index a folder, and ask your first question in minutes.

  • Homebrew
  • winget
  • Scoop
  • APT
  • RPM
  • Shell script
  • PowerShell