AxiomCodeAI/axiomcodegraph
A typed call graph for tracing change impact and selecting tests via MCP and CLI
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AxiomCode Graph is a local static-analysis engine with CLI and MCP entry points. The TypeScript package @axiomcode/code-graph exposes the axiomcode executable. Language parsers translate source into a relational intermediate representation; the engine applies logical rules to build a typed call graph. Declared and inferred receiver types help resolve calls across files and through interfaces, overrides, generics, and callbacks. Where dispatch is ambiguous, the graph can retain a set of candidate targets rather than forcing a single edge.
The repository separates parser and graph code into parser/ and graph/. The package lists typescript, tree-sitter, language grammars, and XML/YAML parsing dependencies including sax and yaml, alongside platform-specific engine packages. The agent-facing plugin in plugins/axiomcode/ packages a skill, MCP access, and client-dependent hooks. The CLI and MCP server query the same graph. A multilingual checkout gets separate language graphs, with HTML and CSS sharing a web graph.
Key Capabilities & Differentiators
impact maps callers, downstream consequences, and relevant tests for a declaration or uncommitted edits. path gives each hop with its source location, tests produces a command for the tests reached by current edits, and context describes the files, callables, and flow relevant to a task. Java, TypeScript, and Python are stable; JavaScript, C#, HTML, and CSS are beta. Java analysis includes Spring dependency injection and wiring from XML, YAML, .properties, and META-INF/services.
Across five projects per language, exact call targets were recovered for 96.5% of 33,257 Java calls measured against bytecode and 88.8% of 9,829 TypeScript calls measured against the type checker. In a held-out set of 748 Defects4J bugs, the selected tests included every bug-revealing test for 94.9% of bugs, with an F1 of 72.4. These results measure resolution and test selection on those workloads; they do not establish completeness for a new codebase.
Trade-offs & Limitations
The strongest reason to adopt it over a syntax-first graph is multi-hop impact analysis: an incorrectly resolved call can hide every caller or test beyond that edge. In the Java exact-target benchmark, AxiomCode reached 96.5% versus 78.9% for GitNexus and 78.5% for CodeGraph. That comparison is useful for evaluating Java call resolution, not for ranking search, agent integration, or every language. Ordinary search is still useful for finding the symbol to query.
Static analysis leaves gaps. link can record a reviewed target in axiomcode-links.tsv, but those edges are labeled [asserted], not engine-resolved. HTML/CSS script references and handler names are stored but not followed into the JavaScript graph. Validate test selection against a full suite before relying on it as a CI gate. Also verify LICENSE.md and the distributed package terms before organizational rollout; license metadata is unspecified.
Hardware & Deployment Guide
Install the engine with npm i -g @axiomcode/code-graph, or configure a generic MCP client to launch npx -y @axiomcode/code-graph mcp. The local runtime requires Node.js 22.13 or newer and Python 3. Prebuilt engines cover macOS arm64/x64, Linux arm64/x64, and Windows x64. Windows also needs Git for Windows Bash; Linux arm64 needs build tools for native parser modules. A separate Soufflé install is not needed. The graph is built on first use under .axiomcode/; axiomcode index can build it explicitly.
Hooks are available for Claude Code, Codex, Cursor, and Gemini CLI, but not for Copilot CLI/VS Code, Windsurf, Devin CLI, or a generic MCP configuration. Restart agent sessions after upgrades so old and new processes do not rebuild the same graph. v0.2.3 added Hono route and ordered middleware modeling; v0.2.4 added unresolved in the CLI and MCP to surface open call sites for review.
path reports each hop with the source location and highlights the call site.unresolved surfaces open sites for review; link records asserted edges in axiomcode-links.tsv.Teams working in Java, TypeScript, or Python repositories that want traceable call paths for refactors, review, and targeted test runs from an agent or shell.
You mainly need symbol search, require complete runtime or cross-language traces, or plan to replace a full regression suite without first validating test selection.
Quick Start & Installation
# 1. the engine and the axiomcode command npm i -g @axiomcode/code-graph # 2. the plugin, in your agent # Claude Code claude plugin marketplace add AxiomCodeAI/axiomcodegraph && claude plugin install axiomcode@axiomcode # Codex CLI and desktop app codex plugin marketplace add AxiomCodeAI/axiomcodegraph && codex plugin add axiomcode@axiomcode # Copilot CLI (VS Code agent mode loads Copilot CLI's plugins too) copilot plugin marketplace add AxiomCodeAI/axiomcodegraph && copilot plugin install axiomcode@axiomcode # Gemini CLI gemini extensions install https://github.com/AxiomCodeAI/axiomcodegraph # Cursor cursor-agent plugin marketplace add https://github.com/AxiomCodeAI/axiomcodegraph # Windsurf, Devin CLI devin plugins install AxiomCodeAI/axiomcodegraph#plugins/axiomcode
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| axiomcodegraph ★ | 849 | +35 | TypeScript | — | A typed call graph for tracing change impact and selecting tests via MCP and CLI |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
| codebase-memory-mcp | 49.6k | +362 | C | MIT | A local code graph for tracing code, docs, and infrastructure via MCP. |
| agent-skills | 122.5k | +1.7k | JavaScript | MIT | A modular skill pack for consistent coding-agent workflows, from spec to release |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/AxiomCodeAI/axiomcodegraph.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about axiomcodegraph
How do the CLI, MCP server, and agent plugin fit together?
axiomcode from the project directory or configure the MCP client to launch npx -y @axiomcode/code-graph mcp. The CLI and MCP server query the same local graph, which is built on first use. The agent plugin adds a skill and, on supported clients, hooks for refreshing the graph and surfacing edit impact.Do I need a GPU, and how should I size the runtime?
Can I use it locally with proprietary code?
.axiomcode/. That does not mean a connected agent keeps source local: responses can contain code excerpts, so assess the client's data handling separately. The license is unspecified in the repository metadata even though LICENSE.md exists. Verify that file and the distributed package terms before commercial use or redistribution.When should I choose it over GitNexus, CodeGraph, or text search?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy