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.
curl -fsSL https://guerchele.github.io/axon-releases/install.sh | sh
$ 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
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.
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.
axon serveaxon 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.
# 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
Search, callers/callees, trace, impact, hierarchy, tests, diff safeguards (code-safeguard), architecture and code-context — plus slash-command workflows and live resource subscriptions.
Compact node tables, a 256 KiB response cap (--max-response-bytes) and cursor pagination prevent a single query from flooding your agent's context.
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.
axon serve vs. without itWhat changes when your coding agent queries an indexed graph through axon serve instead of grepping and reading raw files.
| Dimension | Without 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. |
Each run builds the graph in eight phases. You see them live in your terminal, and a re-index only reprocesses what changed.
Scans the folder and counts lines.
Tree-sitter parses every file into modules, types, functions, methods and variables.
Lexical index behind grep and search.
Links calls, imports and types across files.
Endpoints, SQL tables, CLI commands and mainframe programs.
Compiler-grade evidence that confirms and adds edges.
Search by meaning: “payment retry policy”.
Commits per symbol, for history and hotspots.
Index once, then get answers from one local graph in the CLI, the Explorer or any MCP client.
Search for concepts, not just strings: axon search "payment retry policy". Grep, symbols, definitions and references are there too.
See callers, callees and how execution gets from A to B with callers, callees and trace.
Check what a change will affect, then hand your agent task-focused context: axon context X --task "…".
Spot communities, layers and dependency cycles across one repo or many, and flag forbidden dependencies with optional policy rules.
Connect Claude Desktop, Cursor, VS Code or Copilot CLI over stdio or local HTTP. Or browse the graph yourself with axon explore.
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.
Use one command on macOS, Linux or Windows, or your usual package manager.
axon index ~/src/app builds an incremental graph of a folder or a .code-workspace.
Query from the CLI, open the Explorer, or connect your agent over MCP.
Every claim here is something you can check yourself while you try it.
apt upgrade.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.
No. Axon only reads your code. Analysis is local and read-only, and the index is kept in Axon's own data folder.
Any MCP client, including Claude Desktop, Cursor, VS Code and Copilot CLI, over stdio or local HTTP.
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.
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).
Install with one command or your package manager, index a folder, and ask your first question in minutes.